Skip to content

Instantly share code, notes, and snippets.

@zkat
Last active December 22, 2015 13:29
Show Gist options
  • Select an option

  • Save zkat/6479574 to your computer and use it in GitHub Desktop.

Select an option

Save zkat/6479574 to your computer and use it in GitHub Desktop.
  1. Navigate to your repository
  2. $ git remote update
  3. $ git checkout -b <"bugfix" or "feature">/<name> origin/develop
  4. Craft your amazing work of art with your favorite IDE/text editor.
  5. Type make and make sure the application builds successfully.
  6. $ git add <file or files that you changed>
  7. $ git commit -m "#<problemid> - <short text description>"
  8. $ git push -u origin HEAD
  9. ...process for asking branch to be merged...

To work together with someone else on a remote branch:

  1. Navigate to your repo directory
  2. $ git remote update
  3. $ git checkout -t origin/feature/foo
  4. Edit the code with your changes
  5. $ git add <file or files you changed>
  6. $ git commit -m "Short text message"
  7. $ git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment