terminal - finding a git branch path -
i'm trying send clone link git repository.
so give me access cloning master. want give out branch clone path how go finding path using terminal. branch remote branch.
git@git.blobkick.com:mainproject.git
i'm not sure mean "branch clone path", maybe help...
when clone remote repository, branches. typically end on master branch, after can select branch using checkout command:
$ git clone git@git.blobkick.com:mainproject.git $ cd mainproject $ git checkout mybranch if want end on branch other master part of clone operation, can use -b (--branch) option:
$ git clone -b mybranch git@git.blobkick.com:mainproject.git this switch local repository mybranch branch after completing clone operation. identical above sequence of commands (well, other cd command).
if doesn't address question, please let me know.
Comments
Post a Comment