2026-spring git-github/lessons/03-branches/commands.sh

6 lines141 B

git switch -c feature/login
# ... edit files ...
git commit -am "Add login form"
git switch main
git merge feature/login
git branch --merged