Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

popular git command

git fetch --all

# create new branch from origin `main` branch.
git checkout -b prefix/new_branch_name origin/staging

# commit and push your work to your own branch.
git commit -m "<type>(scope?): <message>"
git push

# update new codes from origin `staging` branch.
git pull --rebase origin staging
git push --force
Source by wiki.dev.trueprofile.io #
 
PREVIOUS NEXT
Tagged: #popular #git #command
ADD COMMENT
Topic
Name
7+1 =