什么是GIT阶段以及“添加到索引"和“添加到GIT索引"之间的区别? [英] What is GIT Staging and Difference between Add To Index and Add To GIT Index?

查看:163
本文介绍了什么是GIT阶段以及“添加到索引"和“添加到GIT索引"之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GibHub专用存储库.我对此没有足够的了解.
什么是Git分期? Git暂存的目的是什么?
何时使用Git Staging?
我在Git Staging中找到了两个不同的选项来添加文件.

I am using GibHub private repository. I don't have enough knowledge about it.
What is Git Staging ? what is the purpose of Git Staging ?
When to use Git Staging ?
I found two different options to add file in Git Staging.

  1. 项目资源管理器->团队->添加到索引
  2. 团队同步->添加到Git索引

它们两者都将文件发送到Git Staging.那么这两者有什么区别? 哪个对用户更好?他们俩都将文件发送到Git Staging.

Both of them send files to Git Staging. Then What is the difference between these two ? Which is better to user ? Both of them send files to Git Staging.

谢谢.

推荐答案

他们做同样的事情.只是标签上的不一致.

They do the same thing. It's just an inconsistency in the labeling.

对EGit进行了更改,以使其保持一致,它将在下一个版本中发布(3.5).

I pushed a change for EGit to make this consistent, it will be in the next release (3.5).

这篇关于什么是GIT阶段以及“添加到索引"和“添加到GIT索引"之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆