草庐IT

fetch-pack

全部标签

git - 为什么 git fetch via hudson 失败,而 git fetch 通过命令行工作?

我正在尝试从github获取一个只读的git存储库,并通过hudson构建它。此过程失败。这是hudson输出:StartedbyanSCMchangeCheckout:workspace/d:\hudson\home\jobs\gdcm-hudson\workspace-hudson.remoting.LocalChannel@19ba1d8Usingstrategy:DefaultCheckout:workspace/d:\hudson\home\jobs\gdcm-hudson\workspace-hudson.remoting.LocalChannel@19ba1d8GitAP

git - 为什么 git fetch via hudson 失败,而 git fetch 通过命令行工作?

我正在尝试从github获取一个只读的git存储库,并通过hudson构建它。此过程失败。这是hudson输出:StartedbyanSCMchangeCheckout:workspace/d:\hudson\home\jobs\gdcm-hudson\workspace-hudson.remoting.LocalChannel@19ba1d8Usingstrategy:DefaultCheckout:workspace/d:\hudson\home\jobs\gdcm-hudson\workspace-hudson.remoting.LocalChannel@19ba1d8GitAP

git : "git-upload-pack: command not found" while pushing to remote server

所以我正在使用GIT,试图将代码推送到我的远程服务器。在共享的unix主机上,不允许我拥有自己的环境变量(SSH帐户被阻止)并且没有sudo访问权限。成功地在我的/home/中安装了git尝试将代码推送到服务器返回:bash:git-upload-pack:commandnotfound$PATH变量已设置-因为git安装在我的/home/为了让事情正常进行,我不得不使用以下克隆命令:gitclone-u/home/bin/git-upload-packuser@server.com:mygitfolder本地机器/远程服务器(1.7.0.4)上相同版本的git所以据我所知,我基本上需

git : "git-upload-pack: command not found" while pushing to remote server

所以我正在使用GIT,试图将代码推送到我的远程服务器。在共享的unix主机上,不允许我拥有自己的环境变量(SSH帐户被阻止)并且没有sudo访问权限。成功地在我的/home/中安装了git尝试将代码推送到服务器返回:bash:git-upload-pack:commandnotfound$PATH变量已设置-因为git安装在我的/home/为了让事情正常进行,我不得不使用以下克隆命令:gitclone-u/home/bin/git-upload-packuser@server.com:mygitfolder本地机器/远程服务器(1.7.0.4)上相同版本的git所以据我所知,我基本上需

git - 为什么 "git fetch origin branch:branch"只适用于非当前分支?

在处理功能分支时,我使用此Git命令将我的“开发”分支更新到最新状态,然后立即将我的功能分支与“开发”分支merge:gitfetchorigindevelop:develop这行得通,即本地“develop”指向与“origin/develop”相同的提交,并且处于origin的最新状态。但是,不知何故,当checkout“develop”分支时,此命令失败:fatal:Refusingtofetchintocurrentbranchrefs/heads/developofnon-barerepositoryfatal:Theremoteendhungupunexpectedly如果

git - 为什么 "git fetch origin branch:branch"只适用于非当前分支?

在处理功能分支时,我使用此Git命令将我的“开发”分支更新到最新状态,然后立即将我的功能分支与“开发”分支merge:gitfetchorigindevelop:develop这行得通,即本地“develop”指向与“origin/develop”相同的提交,并且处于origin的最新状态。但是,不知何故,当checkout“develop”分支时,此命令失败:fatal:Refusingtofetchintocurrentbranchrefs/heads/developofnon-barerepositoryfatal:Theremoteendhungupunexpectedly如果

尝试推送时 Git 给出 "fetch first"错误

我正在上一门课,这是我第一次接触git。我的计算机上的目录中有许多文件,并且能够毫无问题地暂存和提交它们。但是,当我尝试将文件推送到我的github存储库时,我不断收到此消息:Pushingtohttps://github.com/BigMeanCat/CMDATohttps://github.com/BigMeanCat/CMDA![rejected]master->master(fetchfirst)error:failedtopushsomerefsto'https://github.com/BigMeanCat/CMDA'hint:Updateswererejectedbeca

尝试推送时 Git 给出 "fetch first"错误

我正在上一门课,这是我第一次接触git。我的计算机上的目录中有许多文件,并且能够毫无问题地暂存和提交它们。但是,当我尝试将文件推送到我的github存储库时,我不断收到此消息:Pushingtohttps://github.com/BigMeanCat/CMDATohttps://github.com/BigMeanCat/CMDA![rejected]master->master(fetchfirst)error:failedtopushsomerefsto'https://github.com/BigMeanCat/CMDA'hint:Updateswererejectedbeca

Git "Fetch URL"和 "Push URL",有什么区别?

什么时候某个远程的FetchURL和PushURL不一样?例如,当我为一个名为central的远程运行gitremoteshowcentral时,输出如下:*remotecentralFetchURL:aoberoi@example.com:/home/aoberoi/Repositories/example.gitPushURL:aoberoi@example.com:/home/aoberoi/Repositories/example.gitHEADbranch:masterRemotebranch:mastertracked我只是不明白为什么我要从两个不同的URL获取和推送,这适

Git "Fetch URL"和 "Push URL",有什么区别?

什么时候某个远程的FetchURL和PushURL不一样?例如,当我为一个名为central的远程运行gitremoteshowcentral时,输出如下:*remotecentralFetchURL:aoberoi@example.com:/home/aoberoi/Repositories/example.gitPushURL:aoberoi@example.com:/home/aoberoi/Repositories/example.gitHEADbranch:masterRemotebranch:mastertracked我只是不明白为什么我要从两个不同的URL获取和推送,这适