mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 03:57:54 +01: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}}`
|
||||
|
||||
- Replace the last commit with currently staged changes:
|
||||
|
||||
`git commit --amend`
|
||||
|
||||
- Auto stage all modified files and commit with a message:
|
||||
|
||||
`git commit -a -m {{message}}`
|
||||
|
||||
- Replace the last commit with currently staged changes:
|
||||
|
||||
`git commit --amend`
|
||||
|
|
Loading…
Reference in a new issue