-
Rename current branch
$ git branch -m new_branch
-
Undo your last commit
$ git reset --soft HEAD~
-
How to undo “git commit --amend” done instead of “git commit”
$ git reset --soft HEAD@{1}
forked from gtsopour/git-tips
-
Notifications
You must be signed in to change notification settings - Fork 0
berc/git-tips
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Collection of Git Commands
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published