How to checkout branch into local repository using command?

0 votes
470 views
added Apr 26, 2016 in Git by anonymous
recategorized Nov 17, 2017 by LC Marshal

1 Response

0 votes
responded Nov 17, 2017 by LC Marshal Captain (25,790 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.
...