Learning Git Branching
-Branch
-
- Isolation
-
- Parallel Development
- Create a branch
git branch "branchname
- Switching between branches
git switch branchname
git checkout branchname
- Directory switching to a new branch
git checkout -b branchname
-
Merging
git merge sourcebranch
-
Resolve Conflicts
git mergetool
-
List all branches
git branch
-
A list of extra commands
git branch -v
git status
-
List merged commits
git branch --merged
-
List unmerged commits
git branch --no-merged
<h1> git log</h1>