git的基本操作

mac2024-02-22  39

本地没有

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

本地有

git remote add origin https://github.com/nefulansss/phpajaxDemo.git git push -u origin master

取消与远端仓库的关联

git remote remove origin
最新回复(0)