10 Git CLI command I has used¶
Overview¶
git
is the side-by-side tool for developer and it's help with a lot of usecase for colloborate.
I has used git for around 3 years and just use a sample of git command.
I will introduced some for you to
The list of command¶
git pull origin master¶
To align with targeted branch into the current branch exist
Usually when the first place you interactice with the project itself
$ git pull origin master
# From https://github.com/organization/project
# * branch master -> FETCH_HEAD
# Updating 259dasf..7x0bf6a
# Fast-forward
# folder/changes.yaml | 1 +
# 1 file changed, 1 insertion(+)
git fetch --prune¶
git commit -s "feat - Build the component of feature"¶
git commit -s "hotfix - reduce resource infra" --no-verify¶
Align the
Note:
- I has been replaced keyword and identitfer for GitHub project