Skip to content

Instantly share code, notes, and snippets.

@NSLog0
Created November 8, 2016 16:25
Show Gist options
  • Save NSLog0/b4ecd8d5ed06fa5a1a39ceb7bbdd55e7 to your computer and use it in GitHub Desktop.
Save NSLog0/b4ecd8d5ed06fa5a1a39ceb7bbdd55e7 to your computer and use it in GitHub Desktop.
// เปลี่ยนไปอยู่ master ก่อน
git checkout master
// ทำการ merge โค้ดเข้าไปใน master
git merge --no-ff hotfix/create-post-error-0.2.1
// ติดเลขเวอร์ชั่นเพื่อเตือนความจำ
git tag -a 0.2.1
--------------------------------------------------
// เปลี่ยนไป develop
git checkout develop
// ทำการ merge โค้ดเข้าไปใน develop
git merge --no-ff hotfix/create-post-error-0.2.1
// merge เสร็จก็ลบมันทิ้งจะได้ไม่เปลื่องและรก
git branch -d hotfix/create-post-error-0.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment