Git checkout -b xxx remotes/origin/xxx mvn dependency:tree > tree.txt
Existing folder or Git repository cd existing_folder git init git remote add origin xxx.git git add . git commit git push -u origin master
// reset git url git remote set-url origin xxx
// 同步远程分支 git remote prune origin
jstack(线程) jstat -gcutil 23546(vm)
git log git reset --hard 1ac8ac7acb2cf1c27e868f28c693f6853bb168a5 git push -f origin issue_220_reset
git stash git stash list git stash pop
// reset git url git remote set-url origin xxx // 同步远程分支 git remote prune origin
git命令之git tag 给当前分支打标签: 1、https://blog.csdn.net/wangjia55/article/details/8793577/ 2、https://git-scm.com/book/zh/v1/Git-基础-打标签
Tag https://blog.csdn.net/u011619283/article/details/53229936 git tag -a v2.5.11 -m “XXXX” git push origin v2.5.11
如果你想更新标签,那么只要重新打标签 git tag -f v2.5.11 要删除远程服务器上的tag,可以使用如下的命令: git push origin --delete tag v1.0
1.git tag 查看当前分支下的标签 2.git checkout v0.21 此时会指向打v0.21标签时的代码状态,(但现在处于一个空的分支上) 3. cat test.txt 查看某个文件
git tag -a v2.8.2 -m “XXX”
git push origin v2.8.2
git tag -f v1.0.1 git push origin --delete tag v1.0.1 git push origin v1.0.1
Command line instructions Git global setup git config --global user.name “xxx” git config --global user.email “xxx@xxx.com” Create a new repository git clone xxx.git cd work_guide touch README.md git add README.md git commit -m “add README” git push -u origin master Existing folder or Git repository cd existing_folder git init git remote add origin xxx.git git add . git commit git push -u origin master