Skip to content

Instantly share code, notes, and snippets.

@bugcy013
Forked from l1x/git_workflow.sh
Created January 1, 2014 22:18
Show Gist options
  • Select an option

  • Save bugcy013/8212117 to your computer and use it in GitHub Desktop.

Select an option

Save bugcy013/8212117 to your computer and use it in GitHub Desktop.
#gitz
git clone https://blah
git checkout -b local_branch origin/remote_branch
git add files
git commit -m"What the hack is this?"
git push origin local_branch #this will create a remote branch with the name "local_branch"
#submit the pull request using the UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment