Git Configuration Enhanced Log

Source: Internet
Author: User
Tags diff
Git Configuration Enhanced Log

Before configuration

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--"
After configuration

git config--global user.name "xiongmingcai" git config--global color.branch "auto" git config--global color.ui "Auto" git config--global color.status "auto" git config--global alias.st "status" git config--global alias.ci "commit" Git C
Onfig--global Alias.cia "commit--amend" git config--global Alias.ciah "commit--amend-c Head" # Modify commit content without modifying commit information git config--global alias.cich "commit-c head" git config--global alias.co "checkout" git config--global alias.cob "che Ckout-b "git config--global alias.coa" checkout--' * ' "git config--global alias.ps" push "git config--global alias.ps U "push-u" git config--global alias.psf "push-f" git config--global alias.pl "pull" git config--global alias.fc "fetc 
H "git config--global alias.fca" fetch--all "git config--global alias.ap" add-p "git config--global alias.an" Add-n " git config--global alias.df "diff" git config--global alias.dfc "diff--cached" git config--global alias.dtr "diff-tre E--no-commit-id--name-Only-r "# A long time ago, now don't remember what it means git config--global alias.dst" diff--name-status "# uses a format similar to svn to Output diff git config--globa L ALIAS.FFM "merge--ff-only" git config--global alias.nem "merge--no-edit" git config--global alias.mgab "merge--abor  T "git config--global alias.rs" reset git config--global alias.rsh "reset--hard" git config--global alias.rshp "reset --hard head^ "git config--global alias.rss reset--soft" git config--global alias.ss "stash" git config--global alias . ssp "stash pop" git config--global alias.ssd "stash drop" git config--global core.editor "emacs" git config--global Push.default current git config--global mergetool.keepbackup false git config--global core.excludesfile ~/workspace/wr Ite/md-blog/git/git-ignore

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.