笔记 git 使用

1.仓库转移代

git clone http://url

git push --mirror http://192.xxxxx

git clone http://192.xxxx

2.commit

git commit -m "modify"

3.push

git push origin master

4.记住git账号和密码

git config credential.helper store

5.比较2个不能版本, 并打包

git diff version1 version2 --name-only | xargs zip ../name.zip


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章