mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
Modified the git cheatsheet
This commit is contained in:
parent
16c31c11fe
commit
b20b6436e8
@ -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 New Issue
Block a user