I started deploying a website to Cloudflare on a branch called pages. Similar to one of the GH Pages deployment patterns. But when my CI was pushing the branch I couldn't see it locally... git fetch -a wasn't pulling any new branches, and git branch ... read more →
git config --add --local core.sshCommand 'ssh -i <<<PATH_TO_SSH_KEY>>>' read more →
In vim G clog % does a git clog {current file}. You get every commit that the target file is apart of (so there might be info in those commits unrelated) read more →
I try to commit a lot, and I also try to write useful tests appropriate for the scope of work I'm focusing on, but sometimes I drop the ball... Whether by laziness, ignorance, or accepted tech debt I don't always code perfectly and recently I was do ... read more →
If you work with a template for several projects then you might sometimes need to do the same action across all repos. A good example of this is updating a package in requirements.txt in every project, or refactoring a common module. If you have sev ... read more →
Git Hopefully if you write code you are using git, if not go learn the basics of commit, pull, push, and pull request/merge request like... right now. Assuming you are at least familiar with git then you probably work the same way I have since I've ... read more →
After carefully staging only lines related to a specific change and comitting I suddenly realized I missed one... darn, what do I do? Old me would have soft reset my branch to the previous commit and redone all my careful staging... what a PIA... Ne ... read more →