git & configs

https://alvinalexander.com/git/git-show-change-username-email-address
https://stackoverflow.com/questions/7552054/git-cli-get-user-info-from-username

github

https://help.github.com/articles/setting-your-username-in-git/
https://help.github.com/articles/setting-your-commit-email-address-in-git/

https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration


git

  1. $ git config user.name
  2. $ git config user.email
  1. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  2. $ git config --list
  3. core.symlinks=true
  4. core.autocrlf=true
  5. core.fscache=true
  6. color.diff=auto
  7. color.status=auto
  8. color.branch=auto
  9. color.interactive=true
  10. help.format=html
  11. rebase.autosquash=true
  12. http.sslcainfo=H:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
  13. http.sslbackend=openssl
  14. diff.astextplain.textconv=astextplain
  15. filter.lfs.clean=git-lfs clean -- %f
  16. filter.lfs.smudge=git-lfs smudge -- %f
  17. filter.lfs.process=git-lfs filter-process
  18. filter.lfs.required=true
  19. credential.helper=manager
  20. core.editor='H:\Microsoft VS Code\Code.exe' --wait
  21. filter.lfs.clean=git-lfs clean -- %f
  22. filter.lfs.smudge=git-lfs smudge -- %f
  23. filter.lfs.process=git-lfs filter-process
  24. filter.lfs.required=true
  25. core.repositoryformatversion=0
  26. core.filemode=false
  27. core.bare=false
  28. core.logallrefupdates=true
  29. core.symlinks=false
  30. core.ignorecase=true
  31. remote.origin.url=https://github.com/xgqfrms/Angular-2018.git
  32. remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
  33. branch.master.remote=origin
  34. branch.master.merge=refs/heads/master
  35. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  36. $ git config
  37. usage: git config [<options>]
  38. Config file location
  39. --global use global config file
  40. --system use system config file
  41. --local use repository config file
  42. -f, --file <file> use given config file
  43. --blob <blob-id> read config from given blob object
  44. Action
  45. --get get value: name [value-regex]
  46. --get-all get all values: key [value-regex]
  47. --get-regexp get values for regexp: name-regex [value-regex]
  48. --get-urlmatch get value specific for the URL: section[.var] URL
  49. --replace-all replace all matching variables: name value [value_regex]
  50. --add add a new variable: name value
  51. --unset remove a variable: name [value-regex]
  52. --unset-all remove all matches: name [value-regex]
  53. --rename-section rename section: old-name new-name
  54. --remove-section remove a section: name
  55. -l, --list list all
  56. -e, --edit open an editor
  57. --get-color find the color configured: slot [default]
  58. --get-colorbool find the color setting: slot [stdout-is-tty]
  59. Type
  60. -t, --type <> value is given this type
  61. --bool value is "true" or "false"
  62. --int value is decimal number
  63. --bool-or-int value is --bool or --int
  64. --path value is a path (file or directory name)
  65. --expiry-date value is an expiry date
  66. Other
  67. -z, --null terminate values with NUL byte
  68. --name-only show variable names only
  69. --includes respect include directives on lookup
  70. --show-origin show origin of config (file, standard input, blob, command line)
  71. --default <value> with --get, use default value when missing entry
  72. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  1. $ git --help
  2. $ git help -a
  3. $ git help -g
  1. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  2. $ git --help
  3. usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
  4. [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
  5. [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
  6. [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
  7. <command> [<args>]
  8. These are common Git commands used in various situations:
  9. start a working area (see also: git help tutorial)
  10. clone Clone a repository into a new directory
  11. init Create an empty Git repository or reinitialize an existing one
  12. work on the current change (see also: git help everyday)
  13. add Add file contents to the index
  14. mv Move or rename a file, a directory, or a symlink
  15. reset Reset current HEAD to the specified state
  16. rm Remove files from the working tree and from the index
  17. examine the history and state (see also: git help revisions)
  18. bisect Use binary search to find the commit that introduced a bug
  19. grep Print lines matching a pattern
  20. log Show commit logs
  21. show Show various types of objects
  22. status Show the working tree status
  23. grow, mark and tweak your common history
  24. branch List, create, or delete branches
  25. checkout Switch branches or restore working tree files
  26. commit Record changes to the repository
  27. diff Show changes between commits, commit and working tree, etc
  28. merge Join two or more development histories together
  29. rebase Reapply commits on top of another base tip
  30. tag Create, list, delete or verify a tag object signed with GPG
  31. collaborate (see also: git help workflows)
  32. fetch Download objects and refs from another repository
  33. pull Fetch from and integrate with another repository or a local branch
  34. push Update remote refs along with associated objects
  35. 'git help -a' and 'git help -g' list available subcommands and some
  36. concept guides. See 'git help <command>' or 'git help <concept>'
  37. to read about a specific subcommand or concept.
  38. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  39. $ git help -g
  40. The common Git guides are:
  41. attributes Defining attributes per path
  42. cli Git command-line interface and conventions
  43. core-tutorial A Git core tutorial for developers
  44. cvs-migration Git for CVS users
  45. diffcore Tweaking diff output
  46. everyday A useful minimum set of commands for Everyday Git
  47. glossary A Git Glossary
  48. hooks Hooks used by Git
  49. ignore Specifies intentionally untracked files to ignore
  50. modules Defining submodule properties
  51. namespaces Git namespaces
  52. repository-layout Git Repository Layout
  53. revisions Specifying revisions and ranges for Git
  54. tutorial A tutorial introduction to Git
  55. tutorial-2 A tutorial introduction to Git: part two
  56. workflows An overview of recommended workflows with Git
  57. 'git help -a' and 'git help -g' list available subcommands and some
  58. concept guides. See 'git help <command>' or 'git help <concept>'
  59. to read about a specific subcommand or concept.
  60. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  61. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)
  62. $ git help -a
  63. usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
  64. [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
  65. [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
  66. [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
  67. <command> [<args>]
  68. available git commands in 'H:/Program Files/Git/mingw64/libexec/git-core'
  69. add gc rebase--helper
  70. add--interactive get-tar-commit-id rebase--interactive
  71. am grep receive-pack
  72. annotate gui reflog
  73. apply gui--askpass remote
  74. archimport gui--askyesno remote-ext
  75. archive gui.tcl remote-fd
  76. askpass hash-object remote-ftp
  77. bisect help remote-ftps
  78. bisect--helper http-backend remote-http
  79. blame http-fetch remote-https
  80. branch http-push repack
  81. bundle imap-send replace
  82. cat-file index-pack request-pull
  83. check-attr init rerere
  84. check-ignore init-db reset
  85. check-mailmap instaweb rev-list
  86. check-ref-format interpret-trailers rev-parse
  87. checkout legacy-rebase revert
  88. checkout-index legacy-stash rm
  89. cherry log send-email
  90. cherry-pick ls-files send-pack
  91. citool ls-remote serve
  92. clean ls-tree sh-i18n--envsubst
  93. clone mailinfo shortlog
  94. column mailsplit show
  95. commit merge show-branch
  96. commit-graph merge-base show-index
  97. commit-tree merge-file show-ref
  98. config merge-index stage
  99. count-objects merge-octopus stash
  100. credential merge-one-file status
  101. credential-manager merge-ours stripspace
  102. credential-store merge-recursive submodule
  103. credential-wincred merge-resolve submodule--helper
  104. cvsexportcommit merge-subtree subtree
  105. cvsimport merge-tree svn
  106. cvsserver mergetool symbolic-ref
  107. daemon mktag tag
  108. describe mktree unpack-file
  109. diff mv unpack-objects
  110. diff-files name-rev update
  111. diff-index notes update-git-for-windows
  112. diff-tree p4 update-index
  113. difftool pack-objects update-ref
  114. difftool--helper pack-redundant update-server-info
  115. fast-export pack-refs upload-archive
  116. fast-import patch-id upload-pack
  117. fetch prune var
  118. fetch-pack prune-packed verify-commit
  119. filter-branch pull verify-pack
  120. fmt-merge-msg push verify-tag
  121. for-each-ref quiltimport web--browse
  122. format-patch range-diff whatchanged
  123. fsck read-tree worktree
  124. fsck-objects rebase write-tree
  125. git commands available from elsewhere on your $PATH
  126. flow lfs
  127. 'git help -a' and 'git help -g' list available subcommands and some
  128. concept guides. See 'git help <command>' or 'git help <concept>'
  129. to read about a specific subcommand or concept.
  130. xgqfrms@W10P-xgqfrms MINGW64 /e/Angular-2018 (master)

git & configs的更多相关文章

  1. 安装git工具在ubuntu系统

    Git is one of the most popular tools used for distributed version control system(VCS). Git is common ...

  2. Android Weekly Notes Issue #320

    Android Weekly Issue #320 July 29th, 2018 Android Weekly Issue #320 本期内容包括: Firebase的MLKit; 关于写Andro ...

  3. Git.Framework 框架随手记--SQL配置文件的使用

    前面几篇文章讲到了如何使用框架进行简单结构的增删改查操作,由于个人能力有限在对于复杂的SQL操作面前也是无能为力,只能自己动手来写SQL语句.在Git.Framework中提供了一个公共的接口来直接操 ...

  4. Git.Framework 框架随手记--ORM新增操作

    本篇主要记录具体如何新增数据,废话不多说,开始进入正文. 一. 生成工程结构 上一篇已经说到了如何生成工程结构,这里在累述一次. 1. 新建项目总体结构 使用VS新建项目结构,分层结构可以随意.我们使 ...

  5. Composer 结合 Git 创建 “服务类库”

    Composer 结合 Git 创建 "服务类库" 我一直认为,现在的 PHP 已经进展到了工程化的领域.以前的 PHP 开发者,以快为美,速度和规模永远都是矛盾体.现在的 PHP ...

  6. windows系统下用python更新svn和Git

    转载请标明出处:http://www.cnblogs.com/zblade/ 最近在思考怎么实现python的一键打包,利用python的跨平台特性,可以实现在windows和mac下均可执行的特点. ...

  7. python16_day21【git and celery】

    一.Git使用 ## GIT常用执令说明 * 初始化git项目 > git init * 查看当前目录状态 > git status * 把代码提交到stage区 > git add ...

  8. NPM, BOWER, GIT, AND BASH PROXY CONFIGURATIONS

    Sources: http://digitaldrummerj.me/proxy-configurations/ When you are using npm, bower, and git behi ...

  9. 基于Hexo + Git + Nginx的博客发布

    进过上一篇<树莓派搭建私人服务器>,我们已经有一个私人服务器了,现在需要做点什么实际事情了,先搭一个博客分享自己的经验吧. 相关文章:1.<树莓派搭建私人服务器>(http:/ ...

随机推荐

  1. linux进程篇 (三) 进程间的通信3 IPC通信

    3 IPC通信 用户空间 进程A <----无法通信----> 进程B -----------------|--------------------------------------|- ...

  2. 005---Linux文件与目录管理

    文件与目录管理 路径 绝对路径:从根目录开始的路径为绝对路径 ls /home cd /etc 相对路径:从当前路径开始描述为相对路径 cd ../../:.表示当前目录:..表示上级目录 ls ab ...

  3. 教你阅读MSDN英文文档,迅速提升编程能力

    在教大家阅读英文文档之前,首先给大家明确一个概念.C#和.NET的区别? 有一定编程经验的同学应该多多少少知道这方面的概念,但是可能模糊,理解的不一定深刻.我在这里简单给出两者的基本定义: C#:仅仅 ...

  4. Java设计模式(21)——行为模式之备忘录模式(Memento)

    一.概述 概念 UML简图 角色 根据下图得到角色 备忘录角色(Memento).发起人角色(Originator).负责人角色(Caretaker) 二.实践 使用白箱实现,给出角色的代码: 发起人 ...

  5. See You Again——我最后的汇编程序

    汇编语言:课程设计2 前言 由于本人水平不够,这里的课程设计2的程序实现并没有像王爽书中所说的那样可以不依赖于操作系统运行. 这里的程序依然要在dos下运行,而且没有实现引导现有操作系统的功能. 该程 ...

  6. 【LG4735】最大异或和

    [LG4735]最大异或和 题意 洛谷 题解 维护一个前缀异或和\(S_i\) 对于一个询问操作\(l\).\(r\).\(x\) 就是等价于求一个位置\(p\)(\(l\leq p \leq r)\ ...

  7. css 网站常用

    简单的loading效果 .progressBar { border: solid 1px #303031; font: bold 20px/22px Arial, sans-serif; backg ...

  8. 基于Impala平台打造交互查询系统

    本文来自网易云社区 原创: 蒋鸿翔 DataFunTalk 本文根据网易大数据蒋鸿翔老师DataFun Talk--"大数据从底层处理到数据驱动业务"中分享的<基于Impal ...

  9. Matlab2018年最新视频教程视频讲义(包含代码)

    2018年Matlab最新视频教程视频讲义(包含代码),适合初学者入门进阶学习,下载地址:百度网盘, https://pan.baidu.com/s/1w4h297ua6ctzfturQ1791g 内 ...

  10. OSG-阴影

    本文转至http://www.cnblogs.com/shapherd/archive/2010/08/10/osg.html 作者写的比较好,再次收藏,希望更多的人可以看到这个文章 互联网是是一个相 ...