• Home
  • About
    • Miles' Blog photo

      Miles' Blog

      Miles 用來記錄學習心得及筆記的地方。

    • Learn More
    • Email
    • Github
  • Posts
    • All Posts
    • All Tags
  • Projects

GIT - Git Branching

03 Mar 2018

Reading time ~1 minute

Reference : Codecademy - Learn Git - Git Branching

  • git branch : Lists all a Git project’s branches.
  • git branch branch_name : Creates a new branch.
  • git checkout branch_name : Used to switch from one branch to another.
  • git merge branch_name : Used to join file changes from one branch to another.
  • git branch -d branch_name : Deletes the branch specified.


I.T.GIT Share Tweet +1