-
-
Notifications
You must be signed in to change notification settings - Fork 270
Git Operations available in the app
The app allows you to perform a few separate git-related operations, these are documented below.
This is equivalent to git push --all origin
. It pushes all the branches in the local repository to your specified remote.
Equivalent to git pull --rebase origin
, pulls from the origin
remote and rebases any local changes that are not upstream.
Equivalent to running git pull --rebase origin && git push --all origin
. This does a 'Pull from remote', commits if there are any changes, then does 'Push to remote' — all in one go.
Equivalent to git fetch origin --all && git reset --hard origin/master
. Discards all local changes and resets the repository to the remote state. Useful for when your local repo has entered a bad state but you have no local changes that need to synced.
If the repository is in a rebasing state, this will create a new branch from your current state and push it to your remote repository so you can resolve the conflicts and update the master
branch which the app will then pull.