You might want to figure out, what are the branches exist in the git remote repository,then you want to choose the specific one which you are looking and check them out and merge them into a local repository.
The easiest way do it:
>git branch <-a/-r>
-a => List down all branches- remote and local
-r => List down only remote branches.
Example:
K1205@K1205 /d/Work/KIDE/jsdebugger (master)
$ git branch
Dev-5.0
jsdebugger_plugins-master.06
* master
K1205@K1205 /d/Work/KIDE/jsdebugger (master)
$ git branch -a
Dev-5.0
jsdebugger_plugins-master.06
* master
remotes/origin/HEAD -> origin/master
remotes/origin/JSD-BETA-5.0.05
remotes/origin/JSD-BETA-5.0.06
remotes/origin/JSD-GA-5.0.01
remotes/origin/JSD-GA-5.0.02
remotes/origin/JSD-GA-5.0.3
remotes/origin/JSD-GM-5.0
remotes/origin/JSD-QA-5.0.01
remotes/origin/JSD-QA-5.0.02
remotes/origin/JSD-QA-5.0.03
remotes/origin/JSD-QA-5.0.04
remotes/origin/JSD-QA-5.0.05
remotes/origin/JSD-QA-5.0.06
remotes/origin/JSD-QA-5.0.06.01
remotes/origin/jsdebugger_plugin-master.01
remotes/origin/jsdebugger_plugins-master.01
remotes/origin/jsdebugger_plugins-master.02
remotes/origin/jsdebugger_plugins-master.03
remotes/origin/jsdebugger_plugins-master.04
remotes/origin/jsdebugger_plugins-master.05
remotes/origin/jsdebugger_plugins-master.06
remotes/origin/master
K1205@K1205 /d/Work/KIDE/jsdebugger (master)
$ git branch -r
origin/HEAD -> origin/master
origin/JSD-BETA-5.0.05
origin/JSD-BETA-5.0.06
origin/JSD-GA-5.0.01
origin/JSD-GA-5.0.02
origin/JSD-GA-5.0.3
origin/JSD-GM-5.0
origin/JSD-QA-5.0.01
origin/JSD-QA-5.0.02
origin/JSD-QA-5.0.03
origin/JSD-QA-5.0.04
origin/JSD-QA-5.0.05
origin/JSD-QA-5.0.06
origin/JSD-QA-5.0.06.01
origin/jsdebugger_plugin-master.01
origin/jsdebugger_plugins-master.01
origin/jsdebugger_plugins-master.02
origin/jsdebugger_plugins-master.03
origin/jsdebugger_plugins-master.04
origin/jsdebugger_plugins-master.05
origin/jsdebugger_plugins-master.06
origin/master
The easiest way do it:
>git branch <-a/-r>
-a => List down all branches- remote and local
-r => List down only remote branches.
Example:
K1205@K1205 /d/Work/KIDE/jsdebugger (master)
$ git branch
Dev-5.0
jsdebugger_plugins-master.06
* master
K1205@K1205 /d/Work/KIDE/jsdebugger (master)
$ git branch -a
Dev-5.0
jsdebugger_plugins-master.06
* master
remotes/origin/HEAD -> origin/master
remotes/origin/JSD-BETA-5.0.05
remotes/origin/JSD-BETA-5.0.06
remotes/origin/JSD-GA-5.0.01
remotes/origin/JSD-GA-5.0.02
remotes/origin/JSD-GA-5.0.3
remotes/origin/JSD-GM-5.0
remotes/origin/JSD-QA-5.0.01
remotes/origin/JSD-QA-5.0.02
remotes/origin/JSD-QA-5.0.03
remotes/origin/JSD-QA-5.0.04
remotes/origin/JSD-QA-5.0.05
remotes/origin/JSD-QA-5.0.06
remotes/origin/JSD-QA-5.0.06.01
remotes/origin/jsdebugger_plugin-master.01
remotes/origin/jsdebugger_plugins-master.01
remotes/origin/jsdebugger_plugins-master.02
remotes/origin/jsdebugger_plugins-master.03
remotes/origin/jsdebugger_plugins-master.04
remotes/origin/jsdebugger_plugins-master.05
remotes/origin/jsdebugger_plugins-master.06
remotes/origin/master
K1205@K1205 /d/Work/KIDE/jsdebugger (master)
$ git branch -r
origin/HEAD -> origin/master
origin/JSD-BETA-5.0.05
origin/JSD-BETA-5.0.06
origin/JSD-GA-5.0.01
origin/JSD-GA-5.0.02
origin/JSD-GA-5.0.3
origin/JSD-GM-5.0
origin/JSD-QA-5.0.01
origin/JSD-QA-5.0.02
origin/JSD-QA-5.0.03
origin/JSD-QA-5.0.04
origin/JSD-QA-5.0.05
origin/JSD-QA-5.0.06
origin/JSD-QA-5.0.06.01
origin/jsdebugger_plugin-master.01
origin/jsdebugger_plugins-master.01
origin/jsdebugger_plugins-master.02
origin/jsdebugger_plugins-master.03
origin/jsdebugger_plugins-master.04
origin/jsdebugger_plugins-master.05
origin/jsdebugger_plugins-master.06
origin/master
No comments:
Post a Comment