cxfans
11/6/2019 - 6:22 AM

Git 基本配置

git config --global user.name "Sheila Wendler"
git config --global user.email "seeknewaddrs@gmail.com"

git config --global user.name "White Turing"
git config --global user.email "1748202178@qq.com"

git config --list

ssh-keygen -t rsa -C "seeknewaddrs@gmail.com"
ssh-keygen -t rsa -C "1748202178@qq.com"

echo "# hello" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/cxfans/hello.git
git push -u origin master