Posts

Showing posts with the label git config

Installing Git in Ubuntu

To install git, run: sudo apt-get install git After installing git, you may setup the following configuration: git config --global user.name "Your Github Name" git config --global user.email "email@example.com" git config --global color.ui true

Git Configuration: Colorize Output

Git has this feature that allows its terminal output to be colorized. There are various options to do that, and one of it is through the color.ui You can choose how you want the terminal coloring but if you want to colorize all git output, set color.ui to true git config --global color.ui true Here are the settings you may use for color.ui : true → set colors to all git terminal output false → never colors the output always → always set colors to the output even when piping git with another command Setting specific colors to git commands git config --global color.branch true git config --global color.diff true git config --global color.status true git config --global color.log true