中文亚洲精品无码_熟女乱子伦免费_人人超碰人人爱国产_亚洲熟妇女综合网

當(dāng)前位置: 首頁 > news >正文

python做網(wǎng)站原理怎么宣傳自己的產(chǎn)品

python做網(wǎng)站原理,怎么宣傳自己的產(chǎn)品,順德官網(wǎng)建設(shè),網(wǎng)站后臺程序開發(fā)教程git log 常用參數(shù)及 .gitconfig 配置 git log 常用參數(shù)及 .gitconfig 配置 干貨,執(zhí)行下邊命令,添加別名git log 參數(shù)參考資料 干貨,執(zhí)行下邊命令,添加別名 注意,需要將 knowledgebao 修改為自己的名字,…

git log 常用參數(shù)及 .gitconfig 配置

  • git log 常用參數(shù)及 .gitconfig 配置
    • 干貨,執(zhí)行下邊命令,添加別名
    • git log 參數(shù)
    • 參考資料

干貨,執(zhí)行下邊命令,添加別名

  • 注意,需要將 knowledgebao 修改為自己的名字,根據(jù)自己需要添加,常用的別名有:st ll lg lga lgb
  • 執(zhí)行下邊語句,添加各種快捷鍵,執(zhí)行 git lm, git lms, git ls, git lsm … 等試試效果吧
git config --global alias.co "checkout"
git config --global alias.ck "checkout --track -b" # checkout and tracked
git config --global alias.ci "commit"
git config --global alias.cl "clean -x -d -f"  # force clean and remove ignored files.
git config --global alias.st "status"
git config --global alias.sst "status --ignore-submodules=all"
git config --global alias.pl "pull"
git config --global alias.ps "push"
git config --global alias.lb "remote show origin"  # list branch
git config --global alias.li "status --short --porcelain --ignored"  # list ignored
git config --global alias.lo "ls-files -o '--exclude=build/*' '--exclude=.vscode/*'"  # list others
git config --global alias.cp "cherry-pick"
git config --global alias.ca "commit -a"
git config --global alias.br "branch"
git config --global alias.df "diff --ignore-cr-at-eol --ignore-space-at-eol"
git config --global alias.dc "diff --cached --ignore-cr-at-eol --ignore-space-at-eol"
git config --global alias.m "merge"
git config --global alias.dt "difftool"
git config --global alias.mt "mergetool"
git config --global alias.desc "describe --tags --long"# 通過 git lm 查看自己的修改記錄,關(guān)鍵字 --author --abbrev-commit
git config --global alias.lm "log --no-merges --color --author='knowledgebao' --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit"# 通過 git lms 查看自己的修改記錄, 同步顯示被修改的文件,關(guān)鍵字 --stat --author --abbrev-commit
git config --global alias.lms "log --no-merges --color --stat --author='knowledgebao' --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit"# 通過 git ls 查看所有的修改記錄,關(guān)鍵字 --graph --abbrev-commit
git config --global alias.ls "log --no-merges --color --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit"# 通過 git lss 查看所有的修改記錄,同步顯示被修改的文件,關(guān)鍵字 --stat --graph --abbrev-commit
git config --global alias.lss "log --no-merges --color --stat --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commit"# 通過 git ll  關(guān)鍵字 --first-parent
git config --global alias.ll "log --graph --oneline --abbrev-commit --decorate --first-parent --pretty='tformat:%ai %C(auto) %h %d %s %Cblue<%an %ar>'"# 通過 git lg  關(guān)鍵字 --branches
git config --global alias.lg "log --graph --oneline --abbrev-commit --decorate --branches --pretty='format:%C(auto) %h %d %s %Cblue<%an %ar>'"# 通過 git lga  關(guān)鍵字 --all
git config --global alias.lga "log --graph --oneline --abbrev-commit --decorate --all --pretty='format:%C(auto) %h %d %s %Cblue<%an %ar>'"# 通過 git lgb  關(guān)鍵字 --all --simplify-by-decoration
git config --global alias.lgb "log --graph --oneline --abbrev-commit --decorate --all --simplify-by-decoration --pretty='format:%C(auto) %h %d %s %Cblue<%an %ar>'"

執(zhí)行后 ~/gitconfig 文件內(nèi)容增加了下邊內(nèi)容

[alias]co = checkoutck = checkout --track -bci = commitcl = clean -x -d -fst = statussst = status --ignore-submodules=allpl = pullps = pushlb = remote show originli = status --short --porcelain --ignoredlo = ls-files -o '--exclude=build/*' '--exclude=.vscode/*'cp = cherry-pickca = commit -abr = branchdf = diff --ignore-cr-at-eol --ignore-space-at-eoldc = diff --cached --ignore-cr-at-eol --ignore-space-at-eolm = mergedt = difftoolmt = mergetooldesc = describe --tags --longlm = log --no-merges --color --author='knowledgebao' --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commitlms = log --no-merges --color --stat --author='knowledgebao' --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commitls = log --no-merges --color --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commitlss = log --no-merges --color --stat --graph --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Cblue %s %Cgreen(%cd) %C(bold blue)<%an>%Creset' --abbrev-commitll = log --graph --oneline --abbrev-commit --decorate --first-parent --pretty='tformat:%ai %C(auto) %h %d %s %Cblue<%an %ar>'lg = log --graph --oneline --abbrev-commit --decorate --branches --pretty='format:%C(auto) %h %d %s %Cblue<%an %ar>'lga = log --graph --oneline --abbrev-commit --decorate --all --pretty='format:%C(auto) %h %d %s %Cblue<%an %ar>'lgb = log --graph --oneline --abbrev-commit --decorate --all --simplify-by-decoration --pretty='format:%C(auto) %h %d %s %Cblue<%an %ar>'

git log 參數(shù)

git log --help 查看,1700多行幫助

       --follow--no-decorate, --decorate[=short|full|auto|no]--decorate-refs=<pattern>, --decorate-refs-exclude=<pattern>--source--[no-]use-mailmap--full-diff--log-size--summary, --name-only, --name-status, --check) are not currently implemented.--grep=<pattern> further limits to commits whose log message has a line that matches <pattern>), unless otherwise noted.--skip=<number>--since=<date>, --after=<date>--until=<date>, --before=<date>--author=<pattern>, --committer=<pattern>--author=<pattern>, commits whose author matches any of the given patterns are chosen (similarly for multiple --committer=<pattern>).--grep-reflog=<pattern>--grep=<pattern>--grep=<pattern>, commits whose message matches any of the given patterns are chosen (but see --all-match).--all-match--invert-grep--basic-regexp--remove-empty--merges--no-merges--min-parents=<number>, --max-parents=<number>, --no-min-parents, --no-max-parents--min-parents=2 is the same as --merges.  --max-parents=0 gives all root commits and --min-parents=3 all octopus merges.--no-min-parents and --no-max-parents reset these limits (to no limit) again. Equivalent forms are --min-parents=0 (any commit has 0 or more--first-parent--not--all--branches[=<pattern>]--tags[=<pattern>]--remotes[=<pattern>]--glob=<glob-pattern>--exclude=<glob-pattern>--reflog--alternate-refs--single-worktree--ignore-missing--bisect--stdin--cherry-mark--cherry-pick--left-only, --right-only--cherry--merge--boundary--simplify-by-decoration--full-history--dense--sparse--simplify-merges--ancestry-path--full-history without parent rewriting--full-history with parent rewriting--dense--sparse--simplify-merges--ancestry-path--date-order--author-date-order--topo-order---1----2----4----7--reverse--no-walk[=(sorted|unsorted)]--do-walk--pretty[=<format>], --format=<format>--pretty=tformat:<format> were given.--abbrev-commit--no-abbrev-commit--oneline--encoding=<encoding>--expand-tabs=<n>, --expand-tabs, --no-expand-tabs--expand-tabs=0, which disables tab expansion.--notes[=<ref>]--no-notes--show-notes[=<ref>], --[no-]standard-notes--show-signature--relative-date--date=<format>--date=relative shows dates relative to the current time, e.g. “2 hours ago”. The -local option has no effect for --date=relative.--date=local is an alias for --date=default-local.--date=iso (or --date=iso8601) shows timestamps in a ISO 8601-like format. The differences to the strict ISO 8601 format are:--date=iso-strict (or --date=iso8601-strict) shows timestamps in strict ISO 8601 format.--date=rfc (or --date=rfc2822) shows timestamps in RFC 2822 format, often found in email messages.--date=short shows only the date, but not the time, in YYYY-MM-DD format.--date=raw shows the date as seconds since the epoch (1970-01-01 00:00:00 UTC), followed by a space, and then the timezone as an offset from--date=human shows the timezone if the timezone does not match the current time-zone, and doesn’t print the whole date if that matches (ie--date=unix shows the date as a Unix epoch timestamp (seconds since 1970). As with --raw, this is always in UTC and therefore -local has no--date=format:...  feeds the format ...  to your system strftime, except for %z and %Z, which are handled internally. Use --date=format:%c to--date=default is the default format, and is similar to --date=rfc2822, with a few exceptions:--parents--children--left-right--graph--show-linear-break[=<barrier>]--cc--combined-all-paths--cc are specified, and is likely only useful if filename changes are detected (i.e. when either rename or copy detection have been--raw. To get full object names in a raw diff format, use --no-abbrev.--output=<file>--output-indicator-new=<char>, --output-indicator-old=<char>, --output-indicator-context=<char>--raw--patch-with-raw--indent-heuristic--no-indent-heuristic--minimal--patience--histogram--anchored=<text>--diff-algorithm={patience|minimal|histogram|myers}--diff-algorithm=default option.--stat[=<width>[,<name-width>[,<count>]]]--stat-graph-width=<width> (affects all commands generating a stat graph) or by setting diff.statGraphWidth=<width> (does not affect git--compact-summary--numstat--shortstat--cumulative--dirstat-by-file[=<param1,param2>...]--summary--patch-with-stat--name-only--name-status--submodule[=<format>]--color[=<when>]--no-color--color-moved[=<mode>]--no-color-moved--color-moved-ws=<modes>--no-color-moved-ws--color-moved-ws=no.--word-diff[=<mode>]--word-diff-regex=<regex>--color-words[=<regex>]--no-renames--[no-]rename-empty--check--ws-error-highlight=<kind>--full-index--binary--abbrev[=<n>]--find-copies-harder--diff-filter=[(A|C|D|M|R|T|U|X|B)...[*]]--find-object=<object-id>--pickaxe-all--pickaxe-regex--relative[=<path>]--ignore-cr-at-eol--ignore-space-at-eol--ignore-blank-lines--inter-hunk-context=<lines>--ext-diff--no-ext-diff--textconv, --no-textconv--ignore-submodules[=<when>]--src-prefix=<prefix>--dst-prefix=<prefix>--no-prefix--line-prefix=<prefix>--ita-invisible-in-index--ita-visible-in-index. Both options are experimental and could be removed in future.--- a/describe.c--- a/file--- a/file--- a/file--- a/file--notes=<ref> option.

–abbrev-commit 僅顯示 SHA-1 的前幾個字符,而非所有的 40 個字符。
–stat 顯示每次更新的文件修改統(tǒng)計信息
–graph 顯示 ASCII 圖形表示的分支合并歷史。
–no-merges 沒有合并的提交信息
–color
–oneline --pretty=oneline --abbrev-commit 合用的簡寫。
–decorate 參數(shù)用來顯示一些相關(guān)的信息,如HEAD、分支名、tag名等
–first-parent 緊當(dāng)前分支的父分支
–author=‘xxx’ 提交至,使用單引號
–date=format:‘%Y-%m-%d %H:%M:%S’ 時間格式

–pretty 使用其他格式顯示歷史提交信息??捎玫倪x項包括 oneline,short,full,fuller 和 format(后跟指定格式)
–pretty=format:‘%C(red)%h%Creset -%C(yellow)%d%C(blue) %s %C(green)(%cd) %C(bold blue)<%an>%C(reset)’
–pretty=format:‘%C(auto) %h %d %s %C(blue)<%an %ar>’
–pretty=format:‘%ai %C(auto) %h %d %s %C(blue)<%an %ar>’

  • format:
    • %H 提交對象(commit)的完整哈希字串
    • %h 提交對象的簡短哈希字串
    • %T 樹對象(tree)的完整哈希字串
    • %t 樹對象的簡短哈希字串
    • %P 父對象(parent)的完整哈希字串
    • %p 父對象的簡短哈希字串
    • %an 作者(author)的名字
    • %ae 作者的電子郵件地址
    • %ad 作者修訂日期(可以用 -date= 選項定制格式)
    • %ar 作者修訂日期,按多久以前的方式顯示
    • %cn 提交者(committer)的名字
    • %ce 提交者的電子郵件地址
    • %cd 提交日期
    • %cr 提交日期,按多久以前的方式顯示
    • %s 提交說明
    • %ai author date, ISO 8601-like format

參考資料

  • git log命令全解析
  • 2.3 Git 基礎(chǔ) - 查看提交歷史
  • git log命令全解析
  • git log 常用命令及技巧
http://www.risenshineclean.com/news/58692.html

相關(guān)文章:

  • 有做網(wǎng)站設(shè)計的嗎引擎優(yōu)化seo是什么
  • 怎樣做網(wǎng)站關(guān)鍵詞優(yōu)化網(wǎng)站推廣優(yōu)化外包公司哪家好
  • 真人男女直接做的視頻網(wǎng)站深圳華強北新聞最新消息今天
  • 怎么做網(wǎng)站架構(gòu)網(wǎng)絡(luò)推廣公司收費標準
  • 網(wǎng)站首頁圖片素材長圖大全搜索引擎哪個最好用
  • wordpress站群版seo包年服務(wù)
  • 建筑公司電話號碼重慶網(wǎng)頁優(yōu)化seo
  • 網(wǎng)站名稱能用商標做名稱嗎公司網(wǎng)絡(luò)推廣網(wǎng)站
  • 網(wǎng)站的著陸頁啟信聚客通網(wǎng)絡(luò)營銷策劃
  • wordpress 禁用縮略圖電腦優(yōu)化大師官方免費下載
  • WordPress太占空間了如何優(yōu)化培訓(xùn)體系
  • 沈陽男科醫(yī)院哪家好點兒濟南seo怎么優(yōu)化
  • 視頻 播放網(wǎng)站怎么做的產(chǎn)品推廣活動策劃方案
  • 做網(wǎng)站項目后臺的seo技術(shù)專員招聘
  • wordpress展示型外貿(mào)網(wǎng)站杭州余杭區(qū)抖音seo質(zhì)量高
  • 蒼南網(wǎng)站設(shè)計公司河南今日頭條新聞
  • 做網(wǎng)站外包需要提供什么百度搜索關(guān)鍵詞優(yōu)化
  • 網(wǎng)站搭建策劃書深圳全網(wǎng)推互聯(lián)科技有限公司
  • wordpress選擇表優(yōu)化網(wǎng)站軟文
  • 公司網(wǎng)站制作導(dǎo)航東莞企業(yè)網(wǎng)站推廣
  • 怎么做網(wǎng)站百度貼吧網(wǎng)站seo快速排名優(yōu)化的軟件
  • 深圳羅湖網(wǎng)站設(shè)計公司價格seo具體是什么
  • dede怎么做視頻網(wǎng)站網(wǎng)站seo設(shè)計
  • 網(wǎng)站建設(shè)計劃建議做網(wǎng)頁用什么軟件好
  • 無備案網(wǎng)站微信網(wǎng)絡(luò)營銷和電子商務(wù)區(qū)別
  • 什么是外包seo網(wǎng)站營銷推廣公司
  • 深圳汽車網(wǎng)站建設(shè)win7優(yōu)化教程
  • 公司設(shè)計網(wǎng)站建設(shè)合同網(wǎng)站友情鏈接的作用
  • 武漢做網(wǎng)站公司推薦怎樣去推廣自己的網(wǎng)店
  • 網(wǎng)站建設(shè)需要什么格式的圖片推廣軟件賺錢違法嗎