How can I git clone https://github.com/apache/falcon/tree/0.6.1? -
How can I git clone https://github.com/apache/falcon/tree/0.6.1? -
this question has reply here:
how clone single branch in git? 7 answersi clone apache falcon project. not trunk/ master branch. clone 0.6.1 branch.
for master branch next command: git clone https://git-wip-us.apache.org/repos/asf/falcon.git falcon
but 0.6.1 branch (https://github.com/apache/falcon/tree/0.6.1). please help me.
as specified in man of git clone, have utilize -b option.
man page concerning -b alternative :
--branch , -b instead of pointing newly created head branch pointed cloned repository’s head, point branch instead. in non-bare repository, branch checked out.
--branch can take tags , detaches head @ commit in resulting repository.
it's obvious, have next command clone specific branch on remote project:
git clone -b [branch] [remote].
in case :
git clone -b "0.6.1" https://git-wip-us.apache.org/repos/asf/falcon.git falcon
git apache svn github
Comments
Post a Comment