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 answers

i 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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -