GIT常用命令

1 分支管理

查看本地分支

git branch

查看远程分支

git branch -a

在这里插入图片描述
切换至远程分支

git checkout -b sign-up-online origin/sign-up-online1

IDEA配置.ignore文件后不起作用

  1. git rm -r --cached .
  2. git add .
  3. git commit -m “update .gitignore”
posted @ 2019-03-24 09:14  _chenyl  阅读(26)  评论(0编辑  收藏  举报