0

git checkout -b BRANCH-NAME creates new branch and switch from master

git checkout -b plateform-page
(do your work on "plateform-page")
git status
git commit -am  "added plateform-new template"
git checkout master
git merge --no-ff plateform-new
git branch -d plateform-page   (If want to delete)
git push origin master

press “i” (i for insert)
write your merge message
press “esc” (escape)
write “:wq” (write & quit)
then press enter

admin Edited question February 3, 2023
Add a Comment