我现在准备通过 git init 命令使用 git。
这就是之后的问题。
我不确定 git add 命令。
添加文件时我到底应该添加什么?
我必须上传修改后的文件吗?
不仅如此,我还不知道如何将项目上传到比特桶。
如果您有一个已详细描述的链接,
你不给我那个链接吗?
韩国没有太多可供引用的数据。
如果您有任何信息,请分享。
最佳答案
git init
git add --all
git commit -m "Initial Commit"
git remote add origin ORIGIN_URL
git push -u origin master
哪里ORIGIN_URL
是您的存储库 URL(例如 https://<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="21545244534f404c4461584e54530f4348554354424a44550f454e4c40484f" rel="noreferrer noopener nofollow">[email protected]</a>:7999 /yourproject/repo.git
)
关于Git bash如何上传项目到bit桶?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44005119/