mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:55:34 +02:00
git-commit: reorder commands (#2260)
This commit is contained in:
parent
b16fa9f0fa
commit
0afa0fd3c2
1 changed files with 4 additions and 4 deletions
|
@ -6,10 +6,10 @@
|
||||||
|
|
||||||
`git commit -m {{message}}`
|
`git commit -m {{message}}`
|
||||||
|
|
||||||
- Replace the last commit with currently staged changes:
|
|
||||||
|
|
||||||
`git commit --amend`
|
|
||||||
|
|
||||||
- Auto stage all modified files and commit with a message:
|
- Auto stage all modified files and commit with a message:
|
||||||
|
|
||||||
`git commit -a -m {{message}}`
|
`git commit -a -m {{message}}`
|
||||||
|
|
||||||
|
- Replace the last commit with currently staged changes:
|
||||||
|
|
||||||
|
`git commit --amend`
|
||||||
|
|
Loading…
Add table
Reference in a new issue