初次快速使用git

Posted wszzj

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了初次快速使用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

以上是关于初次快速使用git的主要内容,如果未能解决你的问题,请参考以下文章