Quick setup — if you’ve done this kind of thing before
Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.
一、…or create a new repository on the command line
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [HTTPS]
git push -u origin master
二、…or push an existing repository from the command line
git remote add origin [HTTPS]
git push -u origin master
网友评论