git 项目管理操作


git stash: 保存当前工作进度

git stash save 'message...' : 添加一些注释。

git stash pop : 恢复最新的进度到工作区



git remote prune origin:将本地分支与已删除的远程分支同步

git branch -d :删除分支

git branch -D : 强制删除本地分支

git push origin -d : 删除远程仓库分支

git branch -vv: 查看本地和远程仓库分支关联关系

git branch --set-upstream-to= : 设置关联关系


git tag : 新建一个tag

git tag -a -m "": 创建一个带有注释的标签

git tag -d : 删除tag

git push -d : 删除操作同步到远程仓库

git tag -a -m "": 给tag增加描述

git show : 查看tag描述

git tag -n: 查看所有tag以及其描述

你可能感兴趣的:(git,elasticsearch,大数据)