Gesparo
12/7/2018 - 7:25 AM

Git workflow configuration

Set git config for better developing

git config --global user.name "Your Name";
git config --global user.email "your_email@whatever.com";
git config --global core.autocrlf true;
git config --global core.safecrlf warn;
git config --global core.quotepath off;
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
git config --global alias.co checkout;
git config --global alias.ci commit;
git config --global alias.st status;
git config --global alias.br branch;
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short";
git config --global alias.type 'cat-file -t';
git config --global alias.dump 'cat-file -p';