mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Rewriting history
This commit is contained in:
1 parent
dbdeb7a7be
commit
7cd223bb4d
1 file changed
+3
-2
@@ -355,11 +355,12 @@ $ git checkout <branch> -- <file>
|
||||
|
||||
|
||||
|
||||
### Commit
|
||||
### Rewriting history
|
||||
Rewrite last commit message
|
||||
```shell script
|
||||
$ git commit -v --amend
|
||||
$ git commit --amend -m "new message"
|
||||
```
|
||||
See also: [Rewriting history](https://www.atlassian.com/git/tutorials/rewriting-history)
|
||||
|
||||
|
||||
### Git Aliases
|
||||
|
||||
Reference in new issue
Block a user