草庐IT

existent

全部标签

git - 如何解决 Git 错误 "the requested upstream branch ' upstream/master' does not exist"

我正在尝试按照一些步骤为GitHub上的存储库做贡献,但其中一个步骤不起作用。步骤在这里:https://github.com/wdbm/qTox/blob/master/CONTRIBUTING.md#how-to-open-a-pull-request.我在GitHub上创建了存储库。我克隆存储库:gitclonehttps://github.com//qTox.git我访问本地仓库的目录:cdqTox我添加上游远程以便能够从上游存储库获取:gitremoteaddupstreamhttps://github.com/qTox/qTox.git我尝试将本地主分支指向上游存储库:gi

git - 如何正确执行 git merge/pull : You have not concluded your merge (MERGE_HEAD exists)

我是Git的新手,不太了解如何使用Git。我一直在使用CVS,因此经历了一些Git的学习曲线。这是我所有的尝试现在我只更改了两个文件PromoServiceImpl.java和build.sql。但是,merge从“产品”分支更改时遇到麻烦。您看到的剩余文件(如ApiServiceImpl.java等)是其他用户所做的更改,但我不确定此处的表示是否表明我已更改它们。可能它在早期的pull命令中被merge了,现在它希望我提交它们??无论我遵循什么命令流程(即使经过一些Google搜索)我都会看到以下错误:Youhavenotconcludedyourmerge(MERGE_HEADex

Git - 致命的 : remote origin already exists

我无法使用remote命令远程创建源:$gitremoteaddoriginhttps://github.com/LongKnight/git-basics.gitfatal:remoteoriginalreadyexists.为了解决这个错误,我试过这个:$gitremote-vorigin$gitremote-vshoworigin它没有将文件从我的本地存储库上传到远程:$gitpush-uoriginmasterfatal:'origin'doesnotappeartobeagitrepositoryfatal:Couldnotreadfromremoterepository.P

git - 如何解决git merge 错误 "Swap file .MERGE_MSG.swp already exists"

当我pull时:E325:ATTENTIONFoundaswapfilebythename"~/Documents/Sites/recipegenerator/.git/.MERGE_MSG.swp"ownedby:usernamedated:WedDec1412:28:452016filename:~username/Documents/Sites/recipegenerator/.git/MERGE_MSGmodified:YESusername:usernamehostname:Users-MacBook-Pro.localprocessID:33747Whileopeningf

Git 错误 : conq: repository does not exist

我在使用BitBucket的Git中遇到以下错误:conq:repositorydoesnotexist.fatal:Theremoteendhungupunexpectedly如何解决这个问题?我执行了以下操作:gitinit.gitremoteaddorigingit@bitbucket.org:myname/myproject.gitgitadd.gitcommit-m"..."gitpush我已经使用sshkey设置了BitBucket,repo显示在仪表板上。 最佳答案 在我的例子中,git存储库以某种方式在配置文件中被复

Git 错误 : "Please make sure you have the correct access rights and the repository exists"

我在Windows上使用TortoiseGit。当我尝试从标准Windows资源管理器的上下文菜单中克隆时,出现此错误:Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists更准确地说,终端的快照如下:git.execlone--progress-v"git@arobotdev:\git\AlfaRobot.git""C:\Work\AlfaRobot"Cloninginto'C:\Work\AlfaRobot'...Permissiondenied,pleasetryagain.Permissiondenie

git - 尝试 push SourceTree 时出现 "Updates were rejected because the tag already exists"

尝试通过源代码树推送时,出现以下错误:git-cdiff.mnemonicprefix=false-ccore.quotepath=false-ccredential.helper=sourcetreepush-v--tagsoriginrefs/heads/master:refs/heads/masterPushingtohttps://user@github.com/repo.gitTohttps://user@github.com/repo.git=[uptodate]master->master...![rejected]example_tag->example_tag(alr

git 删除 Remote : remote refs do not exist

简而言之;如何删除远程多个merge的Remote?更多背景;我有一个git存储库,其中包含数十个已merge到master中的Remote。我可以使用以下方法一次删除这些Remote:gitpush--deleteoriginmyBranch-1234然而,对于所有Remote来说,这是一个缓慢而乏味的过程。所以我正在尝试这个命令:gitbranch-r--merged|greporigin|grep-vmaster|xargsgitpushorigin--deletegitbranch-r--merged列出所有merge的Remote。greporigin告诉命令包含origin

git - 重新创建git标签后出现“tag already exists in the remote"错误

运行以下步骤后,出现以下错误:Togit@provider.com:username/repo-name.git![rejected]dev->dev(alreadyexists)error:failedtopushsomerefsto'git@provider.com:username/repo-name.git'hint:Updateswererejectedbecausethetagalreadyexistsintheremote.创建存储库在本地机器上克隆了repo。修改自述文件,提交更改并推送提交。创建标签dev:gittagdev推送标签:gitpush--tags修改自述

git - 将公共(public)代码添加为 git 子模块 : "already exists in the index" 的问题

我是git的新手,希望能帮助我添加子模块。我收到了两个共享一些通用代码的项目。共享代码只是复制到两个项目中。我为公共(public)代码创建了一个单独的git存储库,并将其从项目中删除,并计划将其添加为git子模块。我使用了gitsubmoduleadd的path选项来指定文件夹:gitsubmoduleaddurl_to_repoprojectfolder但随后出现错误:'projectfolder'alreadyexistsintheindex"这是我的存储库所需的结构:repo|--projectfolder|--folderwithcommoncode可以将git子模块直接添加