Linux Git config stands for configuration first install and run Git. We recommend that you run the following command in the command line to configure the abbreviation and color, which can effectively improve the efficiency of www.2cto.com Shell code git config -- global -- add user. email "mebusw@163.com" git config -- global -- add user. name "mebusw" git config -- global alias. co checkout git config -- global alias.br branch git config -- global alias. ci commit git config -- global alias. st status git config -- global alias. last 'Log-1 head' git config -- global color. di Ff auto git config -- global color. status auto git config -- global color. branch auto git config -- global alias. co checkout git config -- global merge. tool kdiff3 git config -- global meregtool. kdiff3.path "/usr/bin/kdiff3" git config -- global alias. visual "! Gitk "create a file ~ /. Gitignore_globalShell Code # compiled source ####################*. com *. class *. dll *. exe *. o *. so *. pyc # Packages ############# it's better to unpack these files and commit the raw source # git has its own built in compression methods *. 7z *. dmg *. gz *. iso *. jar *. rar *. tar *. zip # Logs and databases #######################*. log *. SQL *. sqlite # OS generated files #######################. DS_Store * ehthumbs. db Icon? Thumbs. db. svn *. bak