Github 贡献代码工作流
打赏作者

susheng

问下为什么推送新分支的时候出问题了?
$ git push origin feature/pr
Username for ‘https://github.com’: xxx
Password for ‘xxxx@github.com’:
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 301 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local objects.
To https://github.com/xxx/xxx
! [remote rejected] feature/pr -> feature/pr (permission denied)
error: failed to push some refs to ‘https://github.com/xxx/xxx

Flourishing 回复 susheng

兄弟 我遇见和你一样的问题 你解决没有呢?

susheng

markdown一下

$ git push origin feature/pr
Username for 'https://github.com': xxx
Password for 'xxx@sina.com@github.com':
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 301 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local objects.
To https://github.com/xxx/xxx
 ! [remote rejected] feature/pr -> feature/pr (permission denied)
error: failed to push some refs to 'https://github.com/xxx/xxx'
JellyBool 回复 susheng

就目前的信息来说,我不知道是出了什么问题。显示的就是权限不足

chenze007

估计 一时半会是没能力给开源的项目贡献啥了
不过 如果以后 有人需要帮助的 还是很愿意 贡献一些自己代码和想法

foolenough

不错,非常清晰明了。

Flourishing

站长 上游地址 指定错了 怎么删除上游地址呢?

GRAYCN

学到了,谢谢

xuanyue666

老师您好,想问一下这两次变基有什么不同吗?为什么第一次执行变基后就是执行了查看log和切换分支的操作后,在工作分支中再次执行变基,中间是做了什么其他的操作吗?评论我没法传图,视频时间在5分13秒的时候,谢谢

king2046

如果私有项目没法fork怎么办呢