----develop branch (project team member )
git clone [email protected]:TG_demo -b develop
git pull
git status
git add.
git commit -m " commit description "
git push
----UAT pattern making ( project manager )
git checkout develop ----- switch to the develop branch
git pull ----- update the latest code
git tag -a v0.0.1 -m " version feature description " ----- type version tag
git push origin v0.0.1 ----- specify tag to push to remote
git show v0.0.1 ----- view tag information
----develop branch if v0.20.30 is verified and ready to go online
----PDT pattern making (project manager)
git checkout develop ----- switch to the develop branch
git pull ----- update the latest code
git checkout v0.20.30 ----- switch Tag version, check code
git checkout master ----- switch to the master branch
git merge v0.20.30 --no- ff -m "merge v0.20.30" ----- Merge the Tag code to the main branch, and then check the code
git push ---- code push remote of master branch
git tag -a v1. 0 .3 1 -m " version feature description .... , associated with v0.20.30" ------ type the version tag , label the associated development tag
git push origin v1.0.31 ------ tag push to remote
git show v1.0.31 ------ view tag information