git 切换分支

  # 查看git源
git  remote -v
git remote set-url origin http://[email protected]:8090/r/ENSO/webapp.git

# 切换git源

git remote set-url origin http://[email protected]/r/OnlineEdu/bgms-web.git

# 查看git分支
git branch

# 切换到master分支

git checkout master

# 创建dev分支并切换到这个分支
git checkout -b dev
 

猜你喜欢

转载自www.cnblogs.com/mingzhanghui/p/9289773.html