News for hackers. Stuff that matters.
Re:Ask HN: Best Git workflow for small teams by shocks on Sunday November 13, 2016 @06:38AM (#12942883)
This is what's working for us:

  - Branch off master to make your fix/feature. Prefix branch name with "fix/" or "feature/" accordingly. We occasionally use a "script/" or "migration/" prefix too.
  - Do work. Use "git app -p" so commits are fairly small.
  - Make GH PR into master, get code reviewed. CI test are run automatically.
  - Deploy branch to staging environment and test.
  - Merge with GH, deploy to production.
Notes:

  - master is always in sync with production, and so is always deployable.
  - never commit to master.
  - we don't use a develop branch.
Re:Ask HN: Best Git workflow for small teams by shredwheat on Sunday November 13, 2016 @10:31AM (#12943776)
What is this 'git app' you speak of?
Re:Ask HN: Best Git workflow for small teams by GVRV on Sunday November 13, 2016 @10:54AM (#12943893)
I think the GP meant `git add -p`