草庐IT

time_created

全部标签

git - 为什么 Visual Studio 2015 中的 "Create Pull Request"菜单项总是被禁用?

无论我尝试什么,这个菜单项似乎永远不会“启用”:我错过了什么?这是在VS2015Update1中指向TFS2015上的Git存储库。 最佳答案 在我的例子中,我的本地git存储库没有与TFS“关联”。Thispost帮助我找到了解决方案。在团队资源管理器中,转到“管理连接”->“连接到团队项目”,这将打开此窗口。从这里检查git存储库应该关联的团队项目。这样做之后,团队项目现在应该显示在团队资源管理器中。在新添加的团队项目上右键单击“连接”。 关于git-为什么VisualStudio2

GitHub 错误 - "ssh: connect to host github.com port 22: Operation timed out fatal: Could not read from remote repository."

我想将一个存储库从我的计算机推送到GitHub。我设置远程原点gitremoteaddorigingit@github.com:alicht/tweetanuber.git然后在我尝试推送到GitHub之后gitpush-uoriginmaster我遇到了这个错误:ssh:connecttohostgithub.comport22:Operationtimedoutfatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.如何解决此问题

GitHub 错误 - "ssh: connect to host github.com port 22: Operation timed out fatal: Could not read from remote repository."

我想将一个存储库从我的计算机推送到GitHub。我设置远程原点gitremoteaddorigingit@github.com:alicht/tweetanuber.git然后在我尝试推送到GitHub之后gitpush-uoriginmaster我遇到了这个错误:ssh:connecttohostgithub.comport22:Operationtimedoutfatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.如何解决此问题

git 请求 pull : how to create a (github) pull request on the command line?

我克隆了一个项目,并将一个只有重命名的自述文件的分支推送到自述文件。我正在尝试在命令行上创建一个pull请求,只是为了从这里而不是网站尝试PR。$gitrequest-pullorigin/masteroriginreadme:readmeThefollowingchangessincecommit51320a3a42f82ba83cd7919d24ac4aa5c4c99ac6:firstcommitmessageareavailableinthegitrepositoryat:git@github.com:example/com:example.gitreadmeforyoutofe

git 请求 pull : how to create a (github) pull request on the command line?

我克隆了一个项目,并将一个只有重命名的自述文件的分支推送到自述文件。我正在尝试在命令行上创建一个pull请求,只是为了从这里而不是网站尝试PR。$gitrequest-pullorigin/masteroriginreadme:readmeThefollowingchangessincecommit51320a3a42f82ba83cd7919d24ac4aa5c4c99ac6:firstcommitmessageareavailableinthegitrepositoryat:git@github.com:example/com:example.gitreadmeforyoutofe

GitHub git 远程添加源 git@github.com :username/ProjectName a one time process?

如果我的机器上有两个git项目有两个不同的项目名称我可以在这样的两个目录中使用这段代码来管理它吗/foo1$gitremoteaddorigingit@github.com:username/ProjectName-1/foo2$gitremoteaddorigingit@github.com:username/ProjectName-2它是存储在目录中还是系统中的git配置文件中? 最佳答案 信息存储在每个存储库(项目)的.git/config文件中。是您通过将Remote分别添加到每个存储库来做正确的事情。

GitHub git 远程添加源 git@github.com :username/ProjectName a one time process?

如果我的机器上有两个git项目有两个不同的项目名称我可以在这样的两个目录中使用这段代码来管理它吗/foo1$gitremoteaddorigingit@github.com:username/ProjectName-1/foo2$gitremoteaddorigingit@github.com:username/ProjectName-2它是存储在目录中还是系统中的git配置文件中? 最佳答案 信息存储在每个存储库(项目)的.git/config文件中。是您通过将Remote分别添加到每个存储库来做正确的事情。

git - git stash create 和 git stash store 的目的是什么?

来自git-scm处的文档,有两个gitstash命令提到与脚本相关,但不是一般用途:createCreateastash(whichisaregularcommitobject)andreturnitsobjectname,withoutstoringitanywhereintherefnamespace.Thisisintendedtobeusefulforscripts.Itisprobablynotthecommandyouwanttouse;see"save"above.storeStoreagivenstashcreatedviagitstashcreate(whichis

git - git stash create 和 git stash store 的目的是什么?

来自git-scm处的文档,有两个gitstash命令提到与脚本相关,但不是一般用途:createCreateastash(whichisaregularcommitobject)andreturnitsobjectname,withoutstoringitanywhereintherefnamespace.Thisisintendedtobeusefulforscripts.Itisprobablynotthecommandyouwanttouse;see"save"above.storeStoreagivenstashcreatedviagitstashcreate(whichis

Git pull 错误 : unable to create temporary sha1 filename

我有一个小的gitrepo设置,唯一的真正目的是能够在多台机器(工作、家庭、笔记本电脑)上进行本地开发。因此,我有一个分支,一旦我离开一台计算机,我就提交/推送,一旦我坐在下一台计算机上,我就pull。工作正常,到目前为止。现在,当我打开我的“实时测试”机器时,我得到以下信息:remote:Countingobjects:38,done.remote:Compressiremote:ngobjects:100%(20/20),done.remote:Total20(delta17),reused0(delta0)error:unabletocreatetemporarysha1file