Created
March 26, 2012 19:49
-
-
Save jonpaul/2209177 to your computer and use it in GitHub Desktop.
Git Legit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git switch <branch> | |
# Switches to branch. Stashes and restores unstaged changes. | |
$ git sync | |
# Syncronizes current branch. Auto-merge/rebase, un/stash. | |
$ git publish <branch> | |
# Publishes branch to remote server. | |
$ git unpublish <branch> | |
# Removes branch from remote server. | |
$ git harvest <branch> | |
# Auto-merge/rebase commits from given branch. | |
$ git sprout <branch> | |
# Sprout a new branch from the current branch. | |
$ git graft <branch> | |
# Merge unpublished branch into current branch, then remove it. | |
$ git branches | |
# Nice & pretty list of branches + publication status. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment