- https://levelup.gitconnected.com/use-git-like-a-senior-engineer-ef6d741c898e
- https://learngitbranching.js.org/
-
Download Git on your local machine
-
Check for Git in CMD/Terminal
git -v
-
Configure your local Git (one time)
git config --global user.name YOUR_NAME git config --global user.email [email protected]
-
Check for the configuration
git config --list
-
Install Git Graph in VS Code
-
Initialize Git Repository
-
Git Status
git status
-
Add file to the staging area
git add index.html // add single file git add . // add all files
-
Commit changes
git commit -m "your commit message"
-
Push changes to the remote repository
git push origin main // push to the main branch
- reset
- rebase
- merge
- squash
- pull origin
- remote
- right commits
- MD syntax
- branch
- cherrypick
- pull request
- merge conflicts
- issue
feat - a new feature fix - a bug fix docs - changes in documentation style - everything related to styling refactor - code changes that neither fixes a bug nor adds a feature test - everything related to testing chore - updating build tasks, package manager configs, etc…