"feat" – a new feature is introduced with the changes
"fix" – a bug fix has occurred
"chore" – changes that do not relate to a fix or feature and don't modify src or test files (for example updating dependencies)
"refactor" – refactored code that neither fixes a bug nor adds a feature
"docs" – updates to documentation such as a the README or other markdown files
"style" – changes that do not affect the meaning of the code, likely related to code formatting such as white-space, missing semi-colons, and so on.
"test" – including new or correcting previous tests
"perf" – performance improvements
"ci" – continuous integration related
"build" – changes that affect the build system or external dependencies
"revert" – reverts a previous commit
Here is the extracted text from the images you provided:
I struggled with git until I learned these 17 commands:
git add↳ It lets you add changes from the working directory into the staging area
git commit↳ It lets you save a snapshot of currently staged changes in the local repository, with a message
git push↳ It lets you upload committed changes from the local repository to a remote repository
git fetch↳ It lets you download changes from a remote repository, without applying them locally
git merge↳ It lets you combine changes from one branch into another
git pull↳ It lets you fetch and then merge changes from a remote repository into the local branch
git diff↳ It lets you see the changes not staged or committed yet
git diff HEAD↳ It lets you see changes between the current working directory and the latest commit
git status↳ It shows you the current state of the working directory and staging area
git branch↳ It lets you see all local branches
git checkout↳ It lets you create a branch or switch between branches
git log↳ It shows you commits in the current branch with extra details
git stash↳ It lets you temporarily save uncommitted changes and apply them later
git rebase↳ It lets you apply commits from one branch to another
git reset↳ It lets you undo changes in the working directory and move back to a specific commit
git revert↳ It lets you undo changes by creating a new commit
git cherry-pick↳ It lets you apply commits from one branch to another
Definitions: Working directory↳ It's the directory where you make changes to the files Staging area↳ It lets you control which changes go into a commit Local repository↳ It's the version of a project stored on the local machine of a user Remote repository↳ It's the version of a project stored on a server, such as GitHub
Let me know if you'd like this saved as a file or formatted differently.