1.环境变量
GIT_HOME D:\GreenSoftware\PortableGit
Path %GIT_HOME%\cmd;
2.初始化
git config --global user.name "zyx"
git config --global user.email [email protected]
3.应用
echo "read me!" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/zyx/test.git
git push -u origin master
git pull origin master