Skip to content

Instantly share code, notes, and snippets.

@gabrielpoca
gabrielpoca / git-workflow.sh
Last active August 29, 2015 14:03
Git workflow
# list of git commands to update your branch
git checkout develop
git fetch # get updates from all remote branches without updating the local branches.
git rebase # apply updates in current branch from remote.
git checkout your-branch
git rebase develop # fast forwards your commits to the top of the develop branch
# list of git commands to merge your branch into develop