Skip to content

Instantly share code, notes, and snippets.

@mrnugraha
Last active August 29, 2015 14:14
Show Gist options
  • Save mrnugraha/9955bdb392ee100dcf1d to your computer and use it in GitHub Desktop.
Save mrnugraha/9955bdb392ee100dcf1d to your computer and use it in GitHub Desktop.
New Branch in specific commit
- Arahkan pointer ke commit yang akan dibuat menjadi new branch, klik kanan lalu pilih Branch
- Isi nama new branch, checklist checkout new branch lalu klik Create Branch
- Push ke server, lalu buat new branch diserver dengan command line $ git checkout -b nama_branch_yang_telah_dipush
- Pindah ke branch yang baru dengan command line $ git checkout nama_branch_yang_telah_dipush
- Ubah track remote menjadi nama_branch_yang_telah_dipush
- Lalu pull menggunakan nama_branch_yang_telah_dipush
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment