Windows
CLI ∻ Local repository ∻ Base
CLI ∻ Local repository ∻ Branch & Merge
Create branches Fast-Forward Merge Recursive Merge Squash Merge Rebase and Merge Resolve Merge Conflicts - Stash changes
- Rename branch
CLI ∻ GitHub ∻ Preparation
Register Gmail account Register GitHub account Install GitHub CLI with WinGet Link CLI to GitHub account - Create GitHub repository (Local first)
- Add remote into local repository
- Push changes
- Create GitHub repository (Remote first)
- Clone repository
- Pull request
- Fork
CLI ∻ Local repository ∻ Fixes
Unstage file Add .gitignore - Ignore a file on root level
- Ignore whole folder
- Ignore files on all levels
- Discard changes in Working Tree
- Fix last commit
- Discard commit
Local repository ∻ CLI ∻ Other
- Diffs with HEAD
- Diff between commits for one file
Git in Visual Studio Code