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

How to checkout branch into local repository using command?

0 votes
27 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 Lieutenant (14,930 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's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...