reinh.com

Git Push: Just the Tip

Today we delve into the world of git push, one of the most often used git tools. git push is typically used to update a remote ref and associated objects based on a local ref – in other words, to push your local changes to an upstream repository – but you can also use it to create or delete remote branches and much, much more! actually, that’s about it.

Simple Git Continuous Integration

The easiest way to prevent a broken build is to run your tests before you commit. This can be done with a simple git hook. Preventing your developers (and yourself) from breaking the build is as simple as putting this in your .git/hooks/pre-commit and making it executable: chmod +x .git/hooks/pre-commit.