Git Commit
Commit changes with a conventional commit message.
- •
Check the current git status to understand what has changed.
- •Command:
git status
- •Command:
- •
View the diff if necessary to understand the changes better.
- •Command:
git diff --stagedorgit diff
- •Command:
- •
Add all changes to the staging area (unless specific files are requested).
- •Command:
git add .
- •Command:
- •
Commit the changes with a descriptive and conventional commit message.
- •Command:
git commit -m "<type>: <subject>" - •Ensure the message follows conventional commit standards (e.g., feat, fix, chore, docs, refactor).
- •Command: