rejected master -> master (non-fast-forward)

I’m trying to push my project (all files in a new repository). I follow the steps but when I push with git push -u origin master I get this error: ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to ‘[email protected]:asantoya/projectnewbies.git’ To prevent you from losing history, non-fast-forward updates were rejected Merge … Read more

Heroku: How to push different local Git branches to Heroku/master

Heroku has a policy of ignoring all branches but ‘master’. While I’m sure Heroku’s designers have excellent reasons for this policy (I’m guessing for storage and performance optimization), the consequence to me as a developer is that whatever local topic branch I may be working on, I would like an easy way to switch Heroku’s … Read more