Ubuntu安装
sudo apt-get install git
windows
官网下载 ,下一步下一步即可
git config --global user.name "Your Name"
git config --global user.email "email@example.com"
mkdir learngit
cd learngit
git init
touch hello.py
git add hello.py
git commit -m "wrote a file"
git status
ssh-keygen -t rsa -C "youremail@example.com"
git remote add origin git@github.com:michaelliao/learngit.git
git push -u origin master
8307

被折叠的 条评论
为什么被折叠?



