Skip to content

Instantly share code, notes, and snippets.

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