【问题标题】:How to Commits changes from the local computer to a remote repository on the server using Git如何使用 Git 从本地计算机提交更改到服务器上的远程存储库
【发布时间】:2016-08-10 17:09:07
【问题描述】:

你好,我在计算机上有一个包含应用程序的文件夹,我必须将它放到服务器上的远程存储库并使用 git 在服务器上运行(以便所有开发人员都能看到更改)。 怎么做。 我将在您的计算机上添加它,并且服务器已安装 git。 感谢您的帮助。

【问题讨论】:

  • 您是否使用 GitHub 来托管您的存储库?

标签: git github


【解决方案1】:

您必须为此使用 git push。

git add "directory/fileName"
git commit -m "your comment here"    
git push origin master

更多详细信息:

How To Upload Files on GitHub

【讨论】:

猜你喜欢
  • 2021-04-18
  • 2012-05-09
  • 2023-03-23
  • 2011-12-03
  • 1970-01-01
  • 2011-12-30
  • 2021-05-17
  • 2017-05-28
  • 1970-01-01
相关资源
最近更新 更多