Basic Coding Info/Git

[Git] Use the Branch (git checkout)

brightlightkim 2022. 4. 1. 05:07
$ git fetch
Enter passphrase for key '.../.ssh/id_rsa': 
$ git branch -r 
  origin/.....
  list of <branch name>

$ git checkout <branch name>
Branch '<branch name>' set up to track remote branch '<branch name>' from 'origin'.
Switched to a new branch '<branch name>'