初次快速使用git

  • git全局设置

    1. git config --global user.name ‘非池中物’

    2. git cinfig --global user.email '103058 @qq.com'

  • 创建git仓库

  1. 在码云创建仓库

  2. 在本地创建文件夹

  3. 右键打开Git Bush Here

  4. 初始化仓库 git init

  5. git add .

  6. git commit -m 'first commit'

  7. git remote add origin https://

  8. git push -u origin master

原文地址:https://www.cnblogs.com/wszzj/p/13032686.html