Skip to content

Instantly share code, notes, and snippets.

@fabien7337
Created December 19, 2013 18:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabien7337/8043859 to your computer and use it in GitHub Desktop.
Save fabien7337/8043859 to your computer and use it in GitHub Desktop.
Git Branch/Rebase Workflow
git co master
git pull
git co -b new_branch_for_task
git add modified_files
git ci -m "adding new feature"
git fetch origin
git rebase origin/master
git co master
git pull
git rebase new_branch_for_task
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment