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
22 views
added Apr 26, 2016 in Git by birdygeek Sergeant (2,060 points)
recategorized Nov 17, 2017 by LC Marshal

1 Response

0 votes
responded Nov 17, 2017 by LC Marshal First Warrant Officer (9,130 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)

lazacode.org - Malaysia based Knowledge Exchange Platform, where you can share your finding or solution with other members of community.
...