jawaban singkat: git branch -a (nama branchnya)

jawaban ngelantur ngantuk: lanjut dibawah, tarik mang..

--- In [email protected], Rafeequl Rahman Awan <rafee...@...> wrote:

> mau tanya tentang git dong, saya masih belajar2 pake git (baca: scm) ...
> gimana caranya pake git buat pindah2 branch SVN dan gimana cara make
> sure kalo kita lagi di branch tsb ?
> ada ref yang hrs saya baca ttg ini ?
> thanks ya :)

Berikut adalah copy paste gimana buat make sure kalo kita lagi di branch ybs 
berdasarkan ingatan gw doang :p jadi cmiiw aja buat yg sehari-harinya pake git 
mulu'

[...@hostfc10 bort]$ git checkout -b origin/fudge_bort
Switched to a new branch "origin/fudge_bort"
[...@hostfc10 bort]$ ls
app  Capfile  config  db  doc  lib  log  public  Rakefile  README.textile  
script  spec  stories  test  tmp  vendor
[...@hostfc10 bort]$ git branch -a
  master
* origin/fudge_bort
  origin/HEAD
  origin/fudge_bort
  origin/master
  origin/rumble_safe
[...@hostfc10 bort]$ git checkout -b origin/HEAD
Switched to a new branch "origin/HEAD"
[...@hostfc10 bort]$ git branch -a
  master
* origin/HEAD
  origin/fudge_bort
  origin/HEAD
  origin/fudge_bort
  origin/master
  origin/rumble_safe
[...@hostfc10 bort]$ ls
app  Capfile  config  db  doc  lib  log  public  Rakefile  README.textile  
script  spec  stories  test  tmp  vendor
[...@hostfc10 bort]$ 



dari ls command kan keliatan kita sedang di branch itu (berubah dia).


berikut ini adalah link resource2x gratisan yang gak harus dibaca sih, terserah 
weh atuh

http://delicious.com/search?p=git&u=ariekusumaatmaja&chk=&context=userposts&fr=del_icio_us&lc=1

untuk yang berbayar, buku pragmatic versioning with git sangat berguna / tapi 
jujur gw sendiri belum sukses2x masang git di server biar bisa jadi bandar sih 
ihik. ajarin kalo ada yg bisa.

http://ariekusumaatmaja.wordpress.com/about

Kirim email ke