git create new branch
git checkout -b 'branchName'
git switch to existing branch
git checkout branchName
git Tag with version
git tag -a v0.0.1 90a5435 -m ' Your Message'
git push origin v0.0.1
v0.0.1 - Version that you want to create
90a5435 - Commit id of the branch the you want to tag
90a5435 - Commit id of the branch the you want to tag
git delete Tag
remote
git push --delete origin tagname
local
git tag --delete tagname
Git merge
git checkout master
git pull origin master
git merge test
git push origin master
Git delete branch
git push origin --delete branchname
git branch -d branchname
Git merge
git checkout master
git pull origin master
git merge test
git push origin master
Git delete branch
git push origin --delete branchname
git branch -d branchname
No comments:
Post a Comment