Git应用—01初始化项目


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


参考
https://blog.csdn.net/u012575819/article/details/50553501

猜你喜欢

转载自www.cnblogs.com/gispathfinder/p/10359836.html