Git commands

The list of Git commands that tackle most everyday routines.

Branches

The commands to work with local and remote branches.

Pull and rebase
Commit difference between branches
Overwrite remote branch with local branch

Useful when it’s need to do restore from local branch.

Commits count between branches

--no-merges parameter allow to count without merge commits

Get files from another branch

Git Diff

Use this commands if it needs to find differencies in your worktree code.

Diff between branches
Diff of a file between branches
Find diff files by search string