Use Git Extras Short Commands

Use Git Extras As coded by the main man himself TJ Hollowaychuk.

Repo
Screencast
Commands

Install
Install on Windows.
If you get this error:
[/crayon]
Set this before make install
[/crayon]

Recommended git aliases
You can set your Git Aliases using the git extras alias command: https://github.com/visionmedia/git-extras#git-alias
Longhand versions:
git config –global alias.history “log –abbrev-commit –pretty=oneline –graph –decorate”
git config –global alias.lga “log –graph –oneline –all –decorate”
Shorthand:
git alias history “log –abbrev-commit –pretty=oneline –graph –decorate”
git alias lga “log –graph –oneline –all –decorate”
Paul Irish Dotfiles .gitconfig
Bulk aliases.
The ones I used based off Paul Irish Dotfiles.
You can also just copy and paste directly into your ~/.gitconfig file.
[alias]
refs:

Git Alias Commands

https://gist.github.com/sdeering/8437725

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *