It's time to configure our git client. This process is easy and doesn't take a lot of steps.
Git LFS & Flow
- Install
brew install git-lfs git-flow
Configuring the client
- Set the configuration file
If you forked or downloaded the repository, please use this command to copy the configuration file with a lot of pre added alias and other stuff.
ln -s $(pwd)/git/gitconfig ~/.gitconfig
After executing this commands, configure your Git user settings
git config --global user.name "Your Name"
git config --global email "you@your-domain.com"
Improving Git Log
You can add more colors to your git log output by executing this command.
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"
SSH
If you forked or downloaded the repository, please use this command to copy the configuration file.
ln -s $(pwd)/ssh/config ~/.ssh/config
Top comments (0)