首先,需要先克隆(clone)github远程仓库xxx到本地:详见 http://www.cnblogs.com/helloHKTK/p/7353979.html

然后,将需要提交到github远程仓库的文件夹,复制到已经克隆(下载)到本地的仓库文件夹中

再执行:

$ git add 文件夹名

再将该文件夹提交到本地Git仓库中:

$ git commit -m '提交xxx文件夹'

最后将该文件提交到远程github仓库中:

$ git push

此时可以在浏览器上登录github查看提交的文件夹了!

 

相关文章:

  • 2022-12-23
  • 2022-02-22
  • 2022-02-12
  • 2022-02-09
  • 2021-08-05
  • 2021-08-23
  • 2021-10-18
猜你喜欢
  • 2021-07-30
  • 2022-12-23
  • 2021-04-08
  • 2021-05-15
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
相关资源
相似解决方案