=== zarul is now known as freeloader | ||
=== freeloader is now known as kronixx | ||
excalibr | hi | 12:19 |
---|---|---|
excalibr | angch_: anda di sana? :) | 14:35 |
angch_ | excalibr, tiada | 14:35 |
excalibr | angch_: anda tiada di sana? :D | 14:35 |
angch_ | excalibr, nope, tiada. /me bot | 14:36 |
excalibr | nak tanya dua-tiga soalan nubi psl git boleh? | 14:36 |
angch_ | excalibr, go ahead. | 14:36 |
* angch_ pun newbie git | 14:37 | |
excalibr | i have few files on my local system pushed to master..so now ada 1-2 files wip..camna nak create branch utk wip file ni pastu pushed ke branch tu | 14:40 |
excalibr | files wip tu belum pushed | 14:41 |
angch_ | kejap, faq, so sy better link ke example sja | 14:41 |
excalibr | ok | 14:41 |
angch_ | http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging | 14:42 |
angch_ | so... in your example... | 14:42 |
angch_ | git checkout -b wip | 14:42 |
angch_ | git add file1 file2 | 14:42 |
angch_ | git commit -m'Work in progress' | 14:42 |
angch_ | so semua ini masih kat local | 14:43 |
angch_ | now, u nak push wip ke another repo ke? | 14:43 |
angch_ | kalau tak penting, biasanya nak perlu push branch ni ke another repo. | 14:43 |
angch_ | aka semua repo boleh ada branch yang berlainan. | 14:43 |
excalibr | git checkout ni utk sbnarnya..selalu confused dgn svn checkout | 14:44 |
angch_ | aha! yah, git checkout != svn checkout. | 14:44 |
angch_ | svn checkout ==~ git pull | 14:44 |
angch_ | remember. bila git commit, file-file tu dicommit ke your *local* repo | 14:45 |
angch_ | also "master" dalam git biasanya merujuk kepada *branch*. sebab biasanya kita takde "master" repo. (tapi u boleh anggapkan github.com sebagai "master", tapi refer kpd dia sbg "origin". lebih terang. | 14:47 |
angch_ | also: http://git.or.cz/course/svn.html | 14:48 |
excalibr | in simple word, git checkout ni dia buat apa | 14:51 |
excalibr | "cd" ? | 14:51 |
angch_ | git checkout ==~ svn switch | 14:51 |
angch_ | or git checkout ==~ svn revert | 14:51 |
angch_ | git checkout $revision | 14:52 |
angch_ | git checkout -b mybranch | 14:52 |
angch_ | first ==~ svn update -r $revision | 14:52 |
angch_ | 2nd ==~ svn switch $branch | 14:52 |
angch_ | git checkout -- file1 file2 | 14:52 |
angch_ | ==~ svn revert file1 file2 | 14:52 |
excalibr | baiklah.. | 14:53 |
ejat | angch_: now u r working new project or still with the GIS thingy? | 15:03 |
angch_ | :-/ at "GIS" thingy. | 15:05 |
angch_ | web. map. mobile. ---> me. | 15:05 |
angch_ | All projects related to one or more of the above. | 15:05 |
excalibr | err angch_ satu lagi soalan..git remote ni utk manage alias kepada remote url je kan? | 15:09 |
excalibr | kalau kita delete "alias" ni ada efek apa2 tak pd local repo? | 15:10 |
angch_ | nope. | 15:11 |
angch_ | alias/shortcut sja. | 15:11 |
angch_ | compare dgn full url dalam svn | 15:11 |
excalibr | ejat o/ | 15:47 |
ejat | yo | 15:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!