Tag: Git

  • How to Globally Ignore files from git

    How to Globally Ignore files from git

    TLDR; nano ~/.gitignore git config –global core.excludesfile ‘~/.gitignore’ Background Git is all the rage, why wouldn’t it be? You can save every iteration of your work; it’s the persistent undo button for developers. Seriously, if you’re not using it, start now. Find a tutorial, stop everything you’re doing and get on that. It will make…

  • How to Use a post-receive Git hook to mark a deployment in NewRelic

    I recently started monitoring my systems with NewRelic. Fantastic tool. One fun feature they provide is that you can mark in NewRelic’s dashboard when you’ve deployed new code. This way you can compare your site performance before and after the deploy. Using Git’s post-receive hook is perfect for this, especially since I already use it…