eGit插件

摘要:
要点1:委员会图中的每条线对应于一个委员会。分支、标记和HEAD可视化如下:本地分支的顶端以绿色矩形显示。远程分支的顶端则以灰色矩形显示。本地HEA

Point 1:

Each line in the Commit Graph corresponds to a commit. Branches, tags and HEAD are visualized as follows:

  • The tips of local branches are shown as green rectangles
  • The tips of remote branches are shown as grey rectangles
  • The local HEAD is shown as a white rectangle
  • Tags are shown as yellow rectangles 

Point 2: 

Git References

Git References are also known shortly as Refs.
They comprise

  • branches
  • remote-tracking branches
  • tags

They all are named with a path using '/' as path separator and are starting with "refs".

  • Local branches start with "refs/heads/"
  • Remote tracking branches start with "refs/remotes/". Remote tracking branches proxy branches located in a remote repository so that their state at the time of the last transport operation can be queried also when no connection to the repository is available (offline).
  • Tags start with "refs/tags/"

Ref names can be abbreviated as long as the abbreviated form is unique.
E.g.

  • "master" is short for "refs/heads/master"
  • "origin/master" is short for "refs/remotes/origin/master"
  • "v1.0.1" is short for "refs/tags/v1.0.1"

There is also a number of "reserved" names for Refs that are useful for certain scenarios:

Ref NameRemark
HEADPoints to the currently checkout out commit
FETCH_HEADPoints to the result of the last fetch operation
ORIG_HEADPoints to the commit that was checked out before a merge or rebse operation was started

For a complete list for Ref names and the order of precedence if multiple references have the same shorthand form see the section "Specifying Revisions" section of git rev-parse

免责声明:文章转载自《eGit插件》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇Vue 简单实例 购物车5ANDROID 静音与振动下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

Visual Studio 配置额外工具 Windows Terminal 等

添加额外工具: Tools -> External Tools... 1. 添加Git Console(安装Windows版Git可用) Title: Git Console Command: C:Program FilesGitinsh.exe Arguments:...

Git知识总览(三) 分支的创建、删除、切换、合并以及冲突解决

  前两篇博客集中的聊了git的一些常用命令,具体请参见《Git知识总览(一) 从 git clone 和 git status 谈起》、《Git知识总览(二) git常用命令概览》。本篇博客主要涉及了在git版本管理中的分支的创建、切换以及合并。并且罗列了在merge分支使发生冲突时的解决方式。同时还介绍了如何删除本地分支以及远程分支。本篇博客除了参考...

git 拉取远程分支报错(fatal: '' is not a commit and a branch '' cannot be created from it)

问题描述从远程git上拉取某一个分支,然后报错,拉取不了这个分支。 拉取分支的命令: git checkout -b xxx-static-19 origin/xxx-static-19其中xxx-static-19是分支名。 报错 fatal: 'origin/xxx-static-19' is not a commit and a branch 'xx...

centos7下安装composer和git

一、安装composer composer 属于php的包依赖管理工具。 1、进入Composer国内镜像网站文档页查看安装方法: https://docs.phpcomposer.com/00-intro.html 2、在centOS系统中进入特定目录执行以下命令: cd /usr/local/composer curl -sS https://get...

git系列3之简单命令(查看不同|文件提交|文件移除|重命名)

1.在README.CD文件修改,在commit 后面添加 aa 2.输入git diff 命令,则会显示README.CD文件不同之处,表示 -chang before git commit  这一行表示没有啦 +chang before git commit aa 新添加了这一行 3.把README.CD文件放入暂缓区,输入 git add REA...

Gitblit搭建及Git协作开发流程

1. 概述 目前主流的是git作为自己代码管理,但是采用github需要付费才能够使用,如果不付费,代码需要公开。创业团队及小型开发团队都有必要搭建自己的代码服务器,自己摸索需要一定的时间,会赶不及项目进度。在此作者把自己的经验作为文档写下来,方便互联网各位创业者参考,能很快的搭建自己所需要的代码服务器。 同时作者也把最基本的开发流程,代码提交,代码上传,...