Hello!
I am a "GIT newbie" as of starting with Heroku, and I'm interested in knowing what would be best practice in how to work with it.
As of now my site has one production environment and one staging environment.
However I'm only using the most basic GIT commands, i e:
git add .
git commit -m "some changes"
git push production master
for instance…
Lately though I've been reading about working with branches and I'm understanding that this is the way to go.
What I need help with though is understanding how to create a development branch, pushing it to either staging or production and if stuff goes bad reverting to my latest working branch.
Any help with code on this or links to tutorials would be greatly appreciated.
Cheers!