Git Aliases

I’ve just created two new git aliases that allow me to do things like

git hub ocaml/ocaml


git lab charlesetc/dotfiles

to clone the respective repositories.

It’s a bit easier than typing out git clone and much more fun :)

These lines in your ~/.gitconfig should get it working.

hub = "!f() { git clone$1; }; f"
lab = "!f() { git clone$1; }; f"

Charles, etc