Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some of your favorite settings in Git configuration files to make Git Fun? [closed]

What are your favorite Git configuration settings which make your life easy while working with Git?

like image 228
Rachel Avatar asked Mar 06 '10 16:03

Rachel


People also ask

What are the three levels of configuration available in git?

# There are 3 levels of git config; project, global and system.

What option can be used with the git config?

The git config command is a convenience function that is used to set Git configuration values on a global or local project level. These configuration levels correspond to . gitconfig text files. Executing git config will modify a configuration text file.

What is the git config file?

The Git configuration file contains a number of variables that affect the Git commands' behavior. The . git/config file in each repository is used to store the configuration for that repository, and $HOME/. gitconfig is used to store a per-user configuration as fallback values for the . git/config file.


1 Answers

Best one I have was picked up off Scott Chacon from a talk he gave:

[alias]
    lol = log --pretty=oneline --abbrev-commit --graph --decorate

I get excited every time I type git lol.

like image 50
csexton Avatar answered Sep 28 '22 07:09

csexton