mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 19:42:17 +01:00
Modified the git cheatsheet
This commit is contained in:
parent
16c31c11fe
commit
b20b6436e8
1 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,15 @@ git commit -m "Your commit message"
|
|||
# To edit previous commit message
|
||||
git commit --amend
|
||||
|
||||
# To removed staged and working directory changes
|
||||
git reset --hard
|
||||
|
||||
# To remove untracked files
|
||||
git clean -f -d
|
||||
|
||||
# To remove untracked and ignored files
|
||||
git clean -f -d -x
|
||||
|
||||
# To push to the tracked master branch:
|
||||
git push origin master
|
||||
|
||||
|
|
Loading…
Reference in a new issue