跳至主要內容

Git日常

安格gitgit小于 1 分钟...

分支

查看本地分支

git branch

查看本地分支

# git branch --all
git branch -a

更新同步远程分支到本地

# --prune 会清理本地的在远程已删除的分支
git remote update origin --prune
上次编辑于:
你认为这篇文章怎么样?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v3.1.3