demo/git笔记.txt

64 lines
2.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

git访http://192.168.1.138:2700/
访http://39.82.85.250:2700/
访http://119.162.215.209:2700/
git
http://git-scm.com/downloads
https://www.cnblogs.com/goloving/p/14782692.html
https://blog.csdn.net/jsklnice/article/details/121471232
git clone http://xxxx/xxxx.git
<1>git push
git
git config --system --unset credential.helper
git pushgit
2
git config credential.helper 'cache --timeout=3600'
git
https://blog.csdn.net/weixin_43795761/article/details/125011382
1Git.bash
git config --global credential.helper store
2C:\Users\xx.gitconfig**
[credential]
helper = store**
3使git pullgit push C:\Users\xx.git-credentials
git config --global user.name "蒋修裕"
git config --global user.email "422334010@qq.com"
git remote add origin https://gitee.com/jiang-xiuyu/wem-iii.git
<2>
git status -s
git commit -m "添加到远程"
git push origin master
<3>
1.cd
2.git add ..
3.git commit -m "备注"
4.git push -u origin master
<4>
git pull origin master
git rm --cached /git rm -r --cached
git commit -m update
git push -u origin master //提交到仓库
<5>
https://blog.csdn.net/qq_37899792/article/details/121328761
<6>
git branch -d (branchname)
线git push origin --delete (branchname)
http://192.168.1.138:2700/JiangXiuyu/demo.git
http://192.168.1.138:2700/JiangXiuyu/demo.git
<7>
git checkout -t origin/<>