gpt4 book ai didi

git - 无法使用 git-bzr 将更改推回 Launchpad

转载 作者:太空狗 更新时间:2023-10-29 13:39:25 26 4
gpt4 key购买 nike

我无法使用 git-bzr 将我的更改推送回 Launchpad 存储库。

$ git init
$ git bzr add upstream ../bzr-branch
$ git bzr fetch upstream
$ git checkout -b local_branch upstream

然后我修改一个文件,例如README。

$ git add README
$ git commit
$ git bzr push upstream

我收到以下错误。

/usr/bin/git-bzr: line 219: cd: lp:jakaa: No such file or directory

我做错了什么?

最佳答案

这可能取决于您使用的 git-bzr 的确切风格(GitHub 上有几个分支):
kfish one git-bzr-ngpieter one 相比,是最新的我在 my previous answer 中提到过你.

This thread提及:

Sadly, git-bzr is sufficiently broken that you will not be able to push your changes with "git bzr push upstream", as the docs indicate.
Instead, we have to use "git format-patch" and then turn each patch into a Bzr commit manually, which get pushed with "bzr push".
Once pushed, "git bzr pull upstream" reflects that new commit back in Git:

再一次,它看起来像是一个足够直接的编程更改,git-bzr 可以修复它来完成它。
如果有人有本地分支机构,那么对 rebase 要求有点遗憾;为什么需要它?此过程是否无法以与 git 版本匹配的方式将内容或提交信息推送到 bzr?

关于git - 无法使用 git-bzr 将更改推回 Launchpad,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3298940/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com