mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 20:06:01 +02:00
git-commit: clarify amend example (#4703)
This commit is contained in:
parent
c448cf093d
commit
1d71ae134e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
`git commit -a -m {{message}}`
|
`git commit -a -m {{message}}`
|
||||||
|
|
||||||
- Replace the last commit with currently staged changes:
|
- Update the last commit by adding the currently staged changes, changing the commit's hash:
|
||||||
|
|
||||||
`git commit --amend`
|
`git commit --amend`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue