0
总是当我尝试提交commit时,git询问我的存储库的arbitary location
。git总是要求任意位置
我想为那个迪尔常数arbitary location
,所以在将来我不必手动回购地址。
如何解决?
总是当我尝试提交commit时,git询问我的存储库的arbitary location
。git总是要求任意位置
我想为那个迪尔常数arbitary location
,所以在将来我不必手动回购地址。
如何解决?
您需要创建要更改推到一个默认remote
回购。
git remote add <remote_name> <remote_url>
远程URL也可以设置为本地路径。
然后先推过程中设置这个偏僻作为默认:
git push -u <remote_name>
在未来你可以git push
,它会被推到远程。