- Switches to a selected branch (
masterby default) - Pulls changes from the remote server
- Deletes all local branches which were deleted remotely
git goSame command, but with another branch name to switch to:
git go feature/custom-branch-nameOpens an interactive rebase for all commits in the current branch that are not yet in master, automatically calculating the number of commits to rebase.
Useful for squashing or editing only your new commits.
git sqOpens an interactive rebase of the current branch on top of master, using master as the fixed base.
All commits in the branch will be reordered relative to master.
git ruForce push with --force-with-lease flag.
git pf