Are you first timer at lazacode.org? Why not join us and start exchange your knowledge with everyone. Register today!

How to checkout branch into local repository using command?

0 votes
16 views
added Apr 26, 2016 in Git by birdygeek Sergeant (1,960 points)
recategorized Nov 17 by LC Marshal
   

1 Response

0 votes
responded Nov 17 by LC Marshal Second Warrant Officer (3,200 points)
  1. git init (After you cd to specific path, do git init to initiate the git process)

  2. git clone https://github.com/example/example.git (to clone repository)

  3. git branch (to check what branches available in the repository)

  4. git checkout feature1 ( checkout specific branch in repository)

...