从github或者其他仓库拉取代码(https方式)
     git clone git地址
提交代码
     git add .   .表示所有文件
     git commit -m "注释"
     git push -u origin master   -u第一次提交写上
更新代码
    git pull
查看所有分支
    git branch -a
切换https/修改远程仓库地址
Git笔记(简单使用)
https方式提交每次都需要输入账号密码,增加配置略去
Git笔记(简单使用)

相关文章:

  • 2021-08-05
  • 2022-12-23
  • 2021-11-29
  • 2021-05-01
  • 2022-01-09
猜你喜欢
  • 2021-07-07
  • 2021-12-10
  • 2022-12-23
  • 2021-09-06
  • 2021-09-14
  • 2021-05-21
相关资源
相似解决方案