git
a distributed version control system that has taken over the world
Diff output from git can be hard to read. Luckily thereβs a nice tool bundled with git that can help us out. Enter diff-highlight, a little perl script found in gitβs contrib directory. From its own documentation: [diff-highlight] post-processes the line-oriented diff, finds pairs of lines, and highlights the differing segments. diff-highlight is shipped in…
How to change git’s default branch name
I published my dotfiles
Did you know that ~/.ssh/config aliases work for git remotes? ~/.ssh/config You can now use gh:username/repo as the remote in place of git@github.com:username/repo, which is much shorter and easier to type many times! git clone gh:benharri/learngit There are many other use cases for the ssh_config file. For example, here is my config for the tilde…