$ git config--global user.email "MyEmail@gmail.com"$ git config--global user.name "My Name"# 定义当前用户所有提交使用的作者邮箱。 $ git config--global alias.<alias-name> <git-command># 为Git命令创建一个快捷方式(别名)。 $ git config--system core.editor <editor> 帮助 git 内置了对命令...
pick = use commit# r, reword = use commit, but edit the commit message# e, edit = use commit, but stop for amending# s, squash = use commit, but meld into previous commit# f, fixup = like "squash", but discard this commit's log message# x, exec = run command (the rest of...
Show the notes (see git-notes[1]) that annotate the commit, when showing the commit log message. This is the default for git log, git show and git whatchanged commands when there is no --pretty, --format, or --oneline option given on the command line. By default, the notes shown ...
git-log - Show commit logs SYNOPSIS git log [<options>] [<revision range>] [[--] <path>...] DESCRIPTION Shows the commit logs. The command takes options applicable to the git rev-list command to control what is shown and how, and options applicable to the git diff-* commands to...
支持的组有:buildins、parseopt(使用 parse-options 的内置命令)、main(libexec 目录下的所有命令)、others($PATH中其他带有 git- 前缀的命令)、list-<目录>(参阅 command-list.txt 中的目录【原文是这么说的,但是下面那个 Git 命令章节已经列出了所有命令列表】)、nohelpers(排除辅助命令)、alias 和 config(在...
showOldestCommitsFirst If enabled, this option will ignore the itemVersion and compareVersion parameters TypeScript Copy showOldestCommitsFirst: boolean Property Value boolean toCommitId If provided, an upper bound for filtering commits alphabetically TypeScript Copy toCommitId: string Property Value ...
git help <command> # 显示command的help git show # 显示某次提交的内容 git show $id git co -- <file> # 抛弃工作区修改 git co . # 抛弃工作区修改 git add <file> # 将工作文件修改提交到本地暂存区 git add . # 将所有修改过的工作文件提交暂存区 ...
Indicates that commit contains too many changes to be displayed parents An enumeration of the parent commit IDs for this commit. push The push associated with this commit. remoteUrl Remote URL path to the commit. statuses A list of status metadata from services and extensions that may associate...
$git config --globalalias.<alias-name> <git-command> #为Git命令创建一个快捷方式(别名)。$git config --system core.editor <editor> 3、帮助 git 内置了对命令非常详细的解释,可以供我们快速查阅 #查找可用命令$githelp #查找所有可用命令$githelp-a...
Indicates that commit contains too many changes to be displayed parents An enumeration of the parent commit IDs for this commit. push The push associated with this commit. remoteUrl Remote URL path to the commit. statuses A list of status metadata from services and extensions that may associate...