MyWebsite Bootstrap

Some useful git commands

21 Apr 2024 - Gengar

Commands

list all branches
git branch -a

get the difference between two branches, including a local branch and a remote branch
git diff <mainbranch_path> <remotebranch_path>
git diff

Tags: #git