git常用指令

复制代码
git clone https://gitee.com/CcMdFk/the-gobang-game-of-cc-md-fk.git
git pull https://gitee.com/CcMdFk/the-gobang-game-of-cc-md-fk.git
git pull --rebase https://gitee.com/CcMdFk/the-gobang-game-of-cc-md-fk.git
git add .
git status
git commit -m "add "
//解决冲突
git rebase --continue
git push https://gitee.com/CcMdFk/the-gobang-game-of-cc-md-fk.git master
git status
git@github.com:0ppp12/Tetris.git
---------------------
git
git config --global xuweihui
git config --global user.email q233981@163.com
git init
git status
git add hello.txt
git rm --cached hello.txt
git commit -m "first commit" hello.txt
git reflog
git log
git branch  -v
git branch hot-fix
git checkout hot-fix
git merge hot-fix
git remote -v
https://github.com/0ppp12/git-demo.git
创建别名
git remote add git-demo https://github.com/0ppp12/git-demo.git
git push git-demo master
git pull git-demo master
git clone https://github.com/0ppp12/git-demo.git
! [rejected] master -> master (fetch first)
git pull --rebase origin master
Failed to connect to github.com port 443 after 21064 ms: Connection refused
git config --global http.sslVerify "false"
ssh-keygen -t rsa -C 2339819208@qq.com
git@github.com:0ppp12/git-demo.git
git pull git@github.com:0ppp12/git-demo.git master
Personal access tokens of 0ppp12
girhubtaken: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
gitee token:adb5fd98eb6fc9d78ca90c4c18879ab1
复制代码

 

posted @   败人两字非傲即惰  阅读(7)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
点击右上角即可分享
微信分享提示