Skip to content

Instantly share code, notes, and snippets.

@JosephSalisbury
Last active August 29, 2015 14:27
Show Gist options
  • Save JosephSalisbury/29b27f07439891dbd9b8 to your computer and use it in GitHub Desktop.
Save JosephSalisbury/29b27f07439891dbd9b8 to your computer and use it in GitHub Desktop.
formalising my github workflow, so it can be automated!

current workflow

  1. find issue to work on
  2. create branch, branch name off issue
  3. hack, hack, hack
  4. push branch
  5. open pull request
  6. check pull request (status checks, reviews)
  7. merge pull request
  8. delete remote feature branch
  9. checkout master
  10. pull master
  11. delete old feature branch
  12. goto 1

parts that could be automated

  1. setting up feature branch
  2. pushing, creating pull request
  3. merging pull request

fallpond, because it sounded cool from the random generator

  • fallpond start :id
    • checkout master
    • pull master
    • grab issue by id
    • checkout new feature branch (generate branch name off issue name)
  • fallpond progress
    • push branch to origin
    • create pull request, if one doesn't exist
    • open in browser
  • fallpond complete
    • merge pull request
    • delete remote feature branch
    • checkout master
    • pull master
    • delete old feature branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment