我更改了子模块中的代码,并希望与其他团队成员共享。
(哇git的子模块是硬)git子模块推?
> cd to submodule
> git add/commit
> git push prompts me Username: and Password:
> Username:
> Password:
> error: The requested URL returned error: 403 while accessing
> https://github.com/hovel/pybbm.git/info/refs
我读得push
其他人之前的变化可以做git submodule update
看到的变化。
我想我推动它到一些本地回购?为什么错误显示我github(原始回购),我该如何解决它?
mine是1.7.2.5和apt-get install git/git-core说它是最新版本 – eugene
你可以下载git源代码并编译它,或者使用ssh协议而不是https协议。最后,您需要将.git/config文件中的url更改为表示github中git协议的url。 –