It's time to provide some client-side hooks for our Git repository! Git hooks are stored in the .git directory under following path: .git/hooks As you can see there's plenty of them, ending with .sample. When we remove this extension, the hook will kick in, handling events according to its name. There's an issue with Git hooks. … Continue reading Git hooks with PowerShell
Month: December 2015
Git plumbing with PowerShell
In the recent post I've shown the need of securing the development branch in GitFlow. The same should be applied to all release branches and hotfixes as well. To provide a proper protection we need tooling and ability to gather some information from the git repository. Fortunately, Git structure is extremely easy and as shown … Continue reading Git plumbing with PowerShell
Protect development at all cost
Some time ago I wrote a few entries about my attitude to the GitFlow and a small adjustment that can greatly reduce the possibility of breaking development/release branches. The main reasoning was following: review, build your merge commits in your feature branches, then using fastforward-only merge apply it on develop. Having this applied should keep … Continue reading Protect development at all cost