... | ... | @@ -39,6 +39,14 @@ by pruning |
|
|
git fetch -p
|
|
|
```
|
|
|
|
|
|
## Add a commit to the last commit
|
|
|
If you commited and realized there was a typo in the last commit, or you forgot something trivial, and you dont want a separate commit for this fix:
|
|
|
|
|
|
```
|
|
|
git add <file-in-question>
|
|
|
git commit --amend
|
|
|
```
|
|
|
|
|
|
## Useful links
|
|
|
https://www.git-tower.com/blog/git-for-subversion-users-cheat-sheet/
|
|
|
https://gist.github.com/Chaser324/ce0505fbed06b947d962<br>
|
... | ... | |