Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 411 Bytes

switch-branches.md

File metadata and controls

21 lines (15 loc) · 411 Bytes

💭 Switch Branches

  1. Switch to a branch that you want

    dev@dev:~/your-project$ git switch [branch-name]

    ℹ️ NOTE

    Remember to replace [branch-name] with your branch name (e.g. develop).

    Example: git switch develop

  2. To check in which branch you are in

    dev@dev:~/your-project$ git branch --show-current