The revision control system git

7 2,161 118
articles words lines of code

This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.

Today I learned how to create git aliases in my .gitconfig file.

Today I learned how to automatically push code changes while I'm doing live coding, for example while teaching.

Today I learned how to automatically delete local git branches that have been merged already.

Today I learned how to find the commits that affected a specific file with git log.

Today I learned how to create nested git repositories through the submodules command.

Today I learned how to rename a git branch from the CLI.