新聞中心
這篇文章主要介紹“git輸出怎么優(yōu)化”,在日常操作中,相信很多人在git輸出怎么優(yōu)化問(wèn)題上存在疑惑,小編查閱了各式資料,整理出簡(jiǎn)單好用的操作方法,希望對(duì)大家解答”git輸出怎么優(yōu)化”的疑惑有所幫助!接下來(lái),請(qǐng)跟著小編一起來(lái)學(xué)習(xí)吧!
創(chuàng)新互聯(lián)公司是專(zhuān)業(yè)的青龍網(wǎng)站建設(shè)公司,青龍接單;提供網(wǎng)站設(shè)計(jì)制作、做網(wǎng)站,網(wǎng)頁(yè)設(shè)計(jì),網(wǎng)站設(shè)計(jì),建網(wǎng)站,PHP網(wǎng)站建設(shè)等專(zhuān)業(yè)做網(wǎng)站服務(wù);采用PHP框架,可快速的進(jìn)行青龍網(wǎng)站開(kāi)發(fā)網(wǎng)頁(yè)制作和功能擴(kuò)展;專(zhuān)業(yè)做搜索引擎喜愛(ài)的網(wǎng)站,專(zhuān)業(yè)的做網(wǎng)站團(tuán)隊(duì),希望更多企業(yè)前來(lái)合作!
//默認(rèn)git的日志時(shí)區(qū)是 UTC +0000
//中國(guó)的時(shí)區(qū)是 UTC +8000
git log --date=local //臨時(shí)生效
//或者
git config --global log.date local //全局生效
//查看
git config --list
如果你想要永久性的效果,而不是每次都打字,請(qǐng)嘗試
git config log.date iso
或者,對(duì)于您使用此帳戶(hù)的所有g(shù)it使用效果
git config --global log.date iso
樹(shù)形輸出
git log --graph --pretty=format:'%C(yellow)%h%Creset -%C(cyan)%d%Creset %s %Cgreen(%an, %cr)' --abbrev-commit
別名配置
git config --global alias.ll "log --graph --pretty=format:'%C(yellow)%h%Creset -%C(cyan)%d%Creset %s %Cgreen(%an, %cr)' --abbrev-commit"
eos 提交記錄
git 顏色輸出配置
git config --global color.status auto git config --global color.diff auto git config --global color.branch auto git config --global color.interactive auto
到此,關(guān)于“git輸出怎么優(yōu)化”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)?lái)更多實(shí)用的文章!
網(wǎng)站名稱(chēng):git輸出怎么優(yōu)化
文章位置:http://fisionsoft.com.cn/article/gepsep.html