1. 程式人生 > >常用git命令

常用git命令

命令 ack rfi 命名 rem remote branch nbsp local

獲取遠程某個分支:

1 git checkout --track origin/serverfix

serverfix為分支名稱

2 git checkout -b local-branchname origin/remote_branchname 就可以將遠程分支映射到本地命名為local-branchname 的一分支

常用git命令