Git命令的理解和使用

  • Workspace:工作区
  • Index / Stage:暂存区
  • Repository:仓库区(或本地仓库)
  • Remote:远程仓库
请根据以上图标理解git的使用,然后用git --help查看需要用的命令,相信会容易理解一些。

常用的命令:

git clone 'url'

git checkout '仓库名'

git status

git add

git commit 'xxxxxxx'

git push origin '仓库名'

git pull origin '仓库名'

相关文章:

  • 2021-11-18
  • 2021-10-17
  • 2022-01-09
  • 2021-05-26
猜你喜欢
  • 2022-12-23
  • 2021-04-05
  • 2021-11-19
  • 2021-11-17
  • 2021-09-14
  • 2021-11-18
  • 2021-11-24
相关资源
相似解决方案