... or just read this. πŸ˜„

Table of contents

clone

$ git clone -b [branch_name] --single-branch [git-url]

branch

commit

merge

If you want to merge A to B, follow below steps.

  1. checkout B branch

    $ git checkout [branch_B]
    
  2. merge A branch into B

    $ git merge [branch_A]