Here are the terminal commands you can use instead of Gitkraken . This note is for situations where GitKraken isn't available. For a full list of git commands, refer to this note: Git!
Clone a repo
Check status (what are in stage or unstage)
Show list of commits
Working with branches
Stage and unstage
Discard changes (don’t apply for newly created files)
Pull
Rebase
Merge
Stash and Pop
Squash
Reset current branch to a commit
Revert commit (it reverts only the changes made by the chosen commit, all changes come after will be kept)
Checkout a commit (temporarily move to a commit)
Tag
Cherry pick commit
I want to copy from
[email protected]:dinhanhthi/xChat.git
to [email protected]:dinhanhthi/tomChat.git
and keep all commit history and branchesto be continued…
Â