Learn how to use Git for version control in your frontend projects
Repository (Repo)
Staging Area
Commits
Branches
Create a feature branch
Make changes and commit them
Push the feature branch to the remote repository
Create a pull request
After the pull request is approved and merged
type(scope): message
Common types include:
feat
: A new featurefix
: A bug fixdocs
: Documentation changesstyle
: Code style changes (formatting, etc.)refactor
: Code changes that neither fix bugs nor add featurestest
: Adding or updating testschore
: Changes to the build process or auxiliary tools.gitignore
file to exclude unnecessary files from your repository:
feature/feature-name
)hotfix/issue-description
)release/v1.2.0
)