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

How to checkout branch into local repository using command?

0 votes
added Apr 26, 2016 in Git by birdygeek Sergeant (2,000 points)
recategorized Nov 17, 2017 by LC Marshal

1 Response

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

  2. git clone (to clone repository)

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

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