logo
Jiff Slater
🤔 About
✍️ Contact
📚Knowledge
30 Jul 2021
These articles have been archived. You may find them useful but I am no longer offering support for them. Check out my latest articles on plkt.io.
Git up and going
17 April 2019

Here’s a quick primer I wrote for myself to get git configured on a new computer. All of the options alter your global settings.

Set yourself as the global author

$ git config --global user.name "Antony Jepson"
$ git config --global user.email email@domain.tld

Set your default editor

$ git config --global core.editor vim

Set some abbreviations

$ git config --global alias.st status
$ git config --global alias.ci commit
$ git config --global alias.cim commit -m
$ git config --global alias.br branch
$ git config --global alias.pu push
$ git config --global alias.pl pull