Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
参数{u}在Git中是什么意思?_Git - Fatal编程技术网

参数{u}在Git中是什么意思?

参数{u}在Git中是什么意思?,git,Git,在第69页的《Git:VersionControlforEveryone.初学者指南》一书中,有一条建议:“作为GitPull的替代方法,我们还可以使用GitFetch,然后使用GitMerge@{u}” 这里的@{u}是什么意思 在Google中搜索git merge{u}提供了指向此页面的链接,也可以在该页面中找到{u}。这是指向当前分支正在跟踪的上游分支的快捷方式。因此,例如,如果您在分支topic/fix_blub上跟踪origin/topic/fix_blub,那么git merge{

在第69页的《Git:VersionControlforEveryone.初学者指南》一书中,有一条建议:“作为
GitPull
的替代方法,我们还可以使用
GitFetch
,然后使用
GitMerge@{u}

这里的
@{u}
是什么意思


在Google中搜索
git merge{u}
提供了指向此页面的链接,也可以在该页面中找到
{u}

这是指向当前分支正在跟踪的上游分支的快捷方式。因此,例如,如果您在分支
topic/fix_blub
上跟踪
origin/topic/fix_blub
,那么
git merge{u}
执行与
git merge origin/topic/fix_blub
相同的操作


@{u}
是Git查找修订的迷你语言的一部分,详细描述了该语言。

如何打印{u}的值?@PhilipRego
Git rev parse@{u}