git命令
1.从本地到远程
git add .
git commit -m "提交说明"
git push origin master
2.改变每次push都输入用户名 密码
git config credential.helper store
再提交时输入用户名 密码,
3.tag的简单使用
git tag //创建本地tag
git push origin //推送到远程仓库
git push origin --tags//若存在很多未推送的本地标签,你想一次全部推送的话:
git add .
git commit -m "提交说明"
git push origin master
git config credential.helper store
再提交时输入用户名 密码,
git tag //创建本地tag
git push origin //推送到远程仓库
git push origin --tags//若存在很多未推送的本地标签,你想一次全部推送的话: