git-commit: reorder commands (#2260)
This commit is contained in:
@@ -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`
|
||||||
|
Reference in New Issue
Block a user