Git tutorial

2018-06-10  本文已影响0人  a11en0

$ ssh-keygen -t rsa -C "你的GitHub注册邮箱"

$ ssh -T git@github.com

$ git config --global user.name "your name"
$ git config --global user.email "your_email@youremail.com"

$ git init

$ git add .

git commit -m "first commit"

git remote add origin https://github.com/用户名/Git仓库名称.git

git push -u origin master

上一篇 下一篇

猜你喜欢

热点阅读