Guest User

Untitled

a guest
Sep 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. $ git switch <branch>
  2. # Switches to branch. Stashes and restores unstaged changes.
  3.  
  4. $ git sync
  5. # Syncronizes current branch. Auto-merge/rebase, un/stash.
  6.  
  7. $ git publish <branch>
  8. # Publishes branch to remote server.
  9.  
  10. $ git unpublish <branch>
  11. # Removes branch from remote server.
  12.  
  13. $ git harvest <branch>
  14. # Auto-merge/rebase commits from given branch.
  15.  
  16. $ git sprout <branch>
  17. # Sprout a new branch from the current branch.
  18.  
  19. $ git graft <branch>
  20. # Merge unpublished branch into current branch, then remove it.
  21.  
  22. $ git branches
  23. # Nice & pretty list of branches + publication status.
Add Comment
Please, Sign In to add comment