Git简单使用

https://www.bootcss.com/p/git-guide/

  • 添加全局的变量

git config --global user.name "runoob"
git config --global user.email test@runoob.com

 

  • 创建Git仓库

mkdir Repository
cd Repository
git init

 

  • 添加文件置于栈存区

git add "your file name"
  • 提交文件到仓库

git commit -m "information"
  • 查看状态

git status

 

posted on 2019-08-18 19:40  Mlek_Mi  阅读(98)  评论(0)    收藏  举报

导航