#git #bashFix git “tip of your current branch is behind its remote counterpart” - 4 real-world solutionsWhen working with git a selection of GitLab, GitHub, BitBucket and rebase-trigger-happy colleagues/collaborators, it’s a rite of passage to see a message like the following: Pushing to [email protected]:some-project/some-repo.git To [email protected]:some-project/some-repo.git ! [rejec ...
#bash #deployment #ci #toolingBash Cheatsheet: check if environment variables are set or file/symlinks exists + moreA bash scripting cheat sheet for developers who just want to get by. Writing setup, CI and deployment flows means a bit of the old bash scripting. Despite my deep interest in the intricacies of Bash (/sarcasm), I’ve kept hitting up Google and StackOverflow for solutions to ...
#git #bash #productivityChange the date of a git commitOne of the greatest and worst things with git is that you can rewrite the history. Here’s a sneaky way of abusing that, I can’t think of a legitimate reason to do this. As with anything, thanks StackOverflow for all the options I can pick from 👍. ...
#tooling #git #ci #bashDeploy to multiple environments with git and CircleCIEasily deploying to multiple environments in a simple manner using GitHub, CircleCI and Heroku. Continuous Integration is awesome, but sometimes you need a buffer between auto-deploying things on merge and the production release. To do that with CircleCI requires some git branch- ...