| 2014-05-30 |
| ← jcvfen left | 00:01 |
| ← ckyle left | 00:01 |
| → maslowbeer joined | 00:02 |
| → b332v joined | 00:02 |
| ← hwrdprkns left | 00:03 |
| → ilmgb joined | 00:03 |
| ← b332v left | 00:03 |
| ← avtobiff left | 00:04 |
| → noyb joined | 00:04 |
| ← ShooterMG left | 00:05 |
|
happytux
| hi | 00:05 |
|
| So when git merging something to something, this will first change the workspace, right? One has to commit the merged result, right? | 00:05 |
| → bbloom_ joined | 00:06 |
| ← bbloom left | 00:07 |
| → reaverb joined | 00:08 |
| ← JDHawke2 left | 00:08 |
| → bipolar joined | 00:08 |
| ← endiruna left | 00:08 |
| ← ilmgb left | 00:08 |
| ← robarelli left | 00:09 |
|
reaverb
| How do you "partially" apply a patch? I'm rebasing and git won't apply a patch becuase one hunk, which I was going to change anyway by amending, won't apply. | 00:09 |
| ← mmitchell left | 00:09 |
| → robarelli joined | 00:09 |
| ← imachuchu left | 00:09 |
| → JDHawke joined | 00:11 |
| ← xSmurf left | 00:11 |
| → avtobiff joined | 00:12 |
| ← Sample left | 00:12 |
| → mellernoia joined | 00:12 |
| ← robarelli left | 00:13 |
| → Dougie187 joined | 00:15 |
| ← homework1 left | 00:15 |
| ← hochmeister left | 00:15 |
| ← starkhalo left | 00:16 |
| → Cristi joined | 00:17 |
| Cristi → Guest20087 | 00:17 |
| ← Guest20087 left | 00:17 |
| ← str left | 00:18 |
| ← mizu_no_oto left | 00:19 |
| ← Neozonz|Disc2 left | 00:20 |
| → aspiers_ joined | 00:21 |
| ← jay_ left | 00:21 |
| ← nnyk_ left | 00:22 |
| → rchavik joined | 00:22 |
| ← bbloom_ left | 00:23 |
| ← aspiers left | 00:23 |
| → wakd joined | 00:23 |
| ← dkpi left | 00:23 |
| → lithiumjake joined | 00:23 |
| ← wakd_ left | 00:24 |
| → Dougie2187 joined | 00:26 |
| → fatalhalt joined | 00:26 |
| → mdub joined | 00:26 |
| ← SHyx0rmZ left | 00:27 |
| ← woollyams left | 00:28 |
| → gordian joined | 00:28 |
| ← blackmes1 left | 00:28 |
| → affa09 joined | 00:29 |
| → tinti joined | 00:29 |
| → hochmeister joined | 00:30 |
| → Neozonz joined | 00:32 |
| ← Neozonz left | 00:32 |
| → Neozonz joined | 00:32 |
| → aberrant joined | 00:33 |
| → ilmgb joined | 00:34 |
| ← kenneth left | 00:36 |
| ← looper left | 00:36 |
| ← Neozonz left | 00:36 |
| ← EminenceHC left | 00:37 |
| ← ilmgb left | 00:39 |
| → maglnet_ joined | 00:40 |
| ← wakd left | 00:40 |
| → kenneth joined | 00:40 |
| → hkon_ joined | 00:40 |
| → bob14 joined | 00:41 |
| → Kayra joined | 00:41 |
| → dik_dak joined | 00:42 |
| ← affa09 left | 00:43 |
| ← SkyFlyer left | 00:43 |
| ← maglnet left | 00:44 |
| ← FreezingCold left | 00:44 |
| ← hkon_ left | 00:45 |
| ← MarionDaly left | 00:45 |
| → TCubed joined | 00:45 |
| ← Kayra left | 00:46 |
| ← kenneth left | 00:47 |
| → kenneth joined | 00:48 |
| → Neozonz joined | 00:48 |
| ← Neozonz left | 00:48 |
| → Neozonz joined | 00:48 |
| → MarionDaly joined | 00:48 |
| → ariscop joined | 00:48 |
| ← luc__ left | 00:49 |
| ← maestrojed left | 00:49 |
| → luc_ joined | 00:50 |
| → frogonwheels joined | 00:50 |
| → MistuhKurtz joined | 00:51 |
| ← ColKurtz left | 00:51 |
| → _Vi joined | 00:51 |
| ← aberrant left | 00:51 |
| → wakd joined | 00:52 |
| ← Neozonz left | 00:53 |
| ← kenneth left | 00:54 |
| → kenneth__ joined | 00:54 |
| → megawac joined | 00:57 |
| ← noyb left | 00:57 |
| ← kenneth__ left | 00:58 |
| → endiruna joined | 00:58 |
| → kenneth joined | 00:59 |
| ← pweaver_ left | 01:01 |
| ← endiruna left | 01:03 |
| → Neozonz joined | 01:04 |
| ← Neozonz left | 01:04 |
| → Neozonz joined | 01:04 |
| ← lethjakman left | 01:04 |
| → kenneth__ joined | 01:05 |
| ← bob14 left | 01:05 |
| ← adkins1 left | 01:06 |
| → bob14 joined | 01:07 |
| ← kenneth left | 01:08 |
| ← maslowbeer left | 01:09 |
| ← Neozonz left | 01:09 |
| → aberrant joined | 01:10 |
| ← thiago left | 01:10 |
| → robarelli joined | 01:10 |
| ← hahuang65 left | 01:12 |
| → k_sze[work] joined | 01:13 |
| ← gelardi_ left | 01:14 |
| ← robarelli left | 01:14 |
| → EminenceHC joined | 01:15 |
| ← Vampire0 left | 01:17 |
| ← justinsd left | 01:19 |
| ← EminenceHC left | 01:19 |
| → maslowbeer joined | 01:20 |
| ← Noldorin left | 01:20 |
| → Neozonz joined | 01:20 |
| ← Neozonz left | 01:20 |
| → Neozonz joined | 01:20 |
| ← robustus left | 01:21 |
| → NotANick_ joined | 01:21 |
| ← NotANick_ left | 01:21 |
| → NotANick_ joined | 01:21 |
|
SamB
| !smart | 01:21 |
|
gitinfo
| [!smartgit] SmartGit is a (commercial) UI for git that is very user-friendly and feature-complete. http://syntevo.com/smartgithg | 01:21 |
|
SamB
| !http | 01:21 |
|
gitinfo
| [!web_repos] Sharing git repositories over http/https (gitweb or `git clone`) is easy with http://sethrobertson.github.com/HowToPutGitOnTheWeb Auth includes none, authfile, pam, ldap, and ssl client certs. | 01:21 |
| ← NotANick left | 01:22 |
| NotANick_ → NotANick | 01:23 |
| ← xobb left | 01:23 |
| ← fr33domlover left | 01:23 |
| → robustus joined | 01:23 |
|
SamB
| hmm, that address gave me a rude, incorrect message about my browser being broken | 01:24 |
| → alexlindenlevy joined | 01:24 |
|
SamB
| my browser is perfectly within its (and my) rights to require user confirmation of "Refresh"-style redirects | 01:24 |
| ← Neozonz left | 01:25 |
| → hgl joined | 01:26 |
| ← bob14 left | 01:26 |
| ← MistuhKurtz left | 01:27 |
| → akushner joined | 01:28 |
| → jftf joined | 01:29 |
| → Goplat joined | 01:29 |
| → Vampire0 joined | 01:30 |
| ← jovy88 left | 01:30 |
| → FutureTense joined | 01:30 |
| ← Deseaus left | 01:30 |
| ← mellernoia left | 01:31 |
| → jovy88 joined | 01:31 |
| → alexlind_ joined | 01:32 |
| ← SegFaultAX left | 01:33 |
| ← jftf left | 01:34 |
| ← WaReZ left | 01:34 |
| → SegFaultAX joined | 01:35 |
| ← alexlindenlevy left | 01:35 |
| → ColKurtz joined | 01:36 |
| → Neozonz joined | 01:36 |
| ← alexlind_ left | 01:36 |
| ← maslowbeer left | 01:39 |
| → weiyang joined | 01:39 |
| → revyd joined | 01:40 |
| ← Anders_J left | 01:40 |
| ← kriks left | 01:40 |
| ← Neozonz left | 01:41 |
| → ojacobson joined | 01:41 |
| ← dik_dak left | 01:41 |
| ← Polymorp_ left | 01:41 |
| → Neozonz joined | 01:41 |
| ← Neozonz left | 01:41 |
| → Neozonz joined | 01:41 |
| → Kayra joined | 01:41 |
| ← Celm left | 01:42 |
| ← Neozonz left | 01:42 |
| → Neozonz joined | 01:43 |
| ← Neozonz left | 01:43 |
| → Neozonz joined | 01:43 |
| → watabou joined | 01:45 |
| ← Kayra left | 01:46 |
| ← watabou left | 01:46 |
| ← ErKa left | 01:47 |
| → tmcmahon joined | 01:49 |
| ← Neozonz left | 01:50 |
| → akim_ joined | 01:51 |
| ← luc_ left | 01:52 |
| ← akim left | 01:52 |
| → watabou joined | 01:52 |
| ← twittard left | 01:53 |
| → twittard joined | 01:54 |
| ← yhager left | 01:57 |
| → yhager joined | 01:59 |
| ← ColKurtz left | 01:59 |
| ← Foldager left | 02:01 |
| ← akushner left | 02:01 |
| → ColKurtz joined | 02:01 |
| ← knownasilya left | 02:02 |
| ← tmcmahon left | 02:03 |
| ← tpollard left | 02:03 |
| ← LucasTT left | 02:04 |
| → tpollard joined | 02:06 |
| → akim joined | 02:08 |
| → devinhe joined | 02:09 |
| → thiago joined | 02:10 |
| → luc_ joined | 02:10 |
| → robarelli joined | 02:11 |
| ← akim_ left | 02:11 |
| ← kyb3r_ left | 02:11 |
| ← doitjay left | 02:12 |
| → kyb3r_ joined | 02:14 |
| → pweaver_ joined | 02:14 |
| ← Ysgard left | 02:14 |
| → jftf joined | 02:14 |
| ← robarelli left | 02:15 |
| ← bipolar left | 02:15 |
| ← jcarouth left | 02:17 |
| → hahuang65 joined | 02:17 |
| ← bitkiller left | 02:17 |
| ← alvaro_o left | 02:17 |
| → EminenceHC joined | 02:18 |
| → johnkevi_ joined | 02:18 |
| ← jftf left | 02:19 |
| ← Sleepy63 left | 02:19 |
| → zzing joined | 02:19 |
| ← mribeirodantas left | 02:20 |
| ← ColKurtz left | 02:21 |
| ← freestyl3r left | 02:21 |
| → codeurge joined | 02:21 |
| ← debajit left | 02:21 |
| ← johnkevinmbasco left | 02:22 |
| ← EminenceHC left | 02:23 |
| → bipolar joined | 02:24 |
|
Eugene
| .trigger_edit web_repos Sharing git repositories over http/https (gitweb or `git clone`) is easy with http://goo.gl/4EUTCX Auth includes none, authfile, pam, ldap, and ssl client certs. | 02:27 |
|
gitinfo
| Eugene: Okay. | 02:27 |
|
Eugene
| Better? | 02:27 |
| → quazimodo joined | 02:28 |
| → hkon_ joined | 02:29 |
| → tranzfuse joined | 02:30 |
| ← tranzfuse left | 02:30 |
| ← madewokherd left | 02:31 |
| → raven-au joined | 02:31 |
| ← bipolar left | 02:31 |
| → Sleepy63 joined | 02:33 |
| ← hkon_ left | 02:33 |
| → daito joined | 02:34 |
| ← NaStYdoG left | 02:35 |
| → NaStYdoG joined | 02:35 |
| NaStYdoG → Guest8466 | 02:36 |
| → ilmgb joined | 02:36 |
| ← bakflash left | 02:37 |
| ← pbrobst left | 02:37 |
| ← kenneth__ left | 02:38 |
| → Vivekananda joined | 02:38 |
| ← johnkevi_ left | 02:38 |
| ← hyperair left | 02:40 |
| ← JDHawke left | 02:40 |
| ← ilmgb left | 02:40 |
| ← yhager left | 02:41 |
| → Kayra joined | 02:41 |
| ← bgerber left | 02:42 |
| → johnkevinmbasco joined | 02:42 |
| → CoderBug joined | 02:44 |
| ← Kayra left | 02:46 |
| ← CoderBug left | 02:47 |
| → kushal3 joined | 02:49 |
| ← quazimodo left | 02:49 |
|
kushal3
| All jokes are Copyright by Eugene E. Kashpureff Jr, except the ones that aren't. lolwut? | 02:49 |
| ← tinti left | 02:49 |
|
Eugene
| man git-blame ;-) | 02:49 |
|
gitinfo
| the git-blame manpage is available at http://jk.gs/git-blame.html | 02:49 |
| ← pweaver_ left | 02:50 |
| → maslowbeer joined | 02:50 |
| reaverb → reaverpf | 02:50 |
| reaverpf → reaverb | 02:50 |
| → JDHawke joined | 02:51 |
| → bgerber joined | 02:51 |
| ← johnkevinmbasco left | 02:54 |
| ← maslowbeer left | 02:56 |
| → quangdvh joined | 02:57 |
| ← quangdvh left | 02:57 |
| → quangdvh joined | 02:58 |
| → ferreum768 joined | 03:00 |
| → theRealGentleman joined | 03:00 |
| → poindontcare joined | 03:00 |
| → _pr0t0type_ joined | 03:01 |
| → starkhalo joined | 03:01 |
| ← ferreum158 left | 03:01 |
|
poindontcare
| how does one ignore files #foo# i am trying [#]*[#] but doesnt seem to be workign | 03:01 |
| ← aretecode left | 03:01 |
| ← bartman`` left | 03:01 |
| ← gordian left | 03:01 |
|
offby1
| poindontcare: I think you need a \ before the # | 03:01 |
|
| maybe only the first one | 03:01 |
|
| otherwise git thinks the # is a comment in your .gitignore file. | 03:02 |
| ← twittard left | 03:02 |
|
offby1
| That's my conjecture, anyway :-| | 03:02 |
| → akushner joined | 03:02 |
| → hyperair joined | 03:02 |
|
poindontcare
| hmm idk i tried \#*# too :( | 03:03 |
| ← quangdvh left | 03:03 |
|
poindontcare
| oh wait it worked | 03:03 |
|
| thanks | 03:03 |
| → johnkevinmbasco joined | 03:03 |
| → quangdvh joined | 03:03 |
| ← quangdvh left | 03:04 |
| ← lithiumjake left | 03:05 |
| ← wakd left | 03:05 |
| ← akushner left | 03:06 |
| → ilmgb joined | 03:07 |
| ← Bombe left | 03:07 |
| → kenneth joined | 03:07 |
| ← nkouevda left | 03:08 |
| → nkouevda joined | 03:09 |
| → debajit joined | 03:09 |
| → luc__ joined | 03:10 |
| ← luc_ left | 03:10 |
| ← ilmgb left | 03:11 |
| → robarelli joined | 03:11 |
| → pweaver_ joined | 03:12 |
|
milki
| lol | 03:12 |
| ← m0viefreak left | 03:14 |
| → jftf joined | 03:15 |
| → Bombe joined | 03:16 |
| ← robarelli left | 03:16 |
| ← dreiss left | 03:17 |
| ← pweaver_ left | 03:18 |
| → JerryT joined | 03:18 |
| ← JerryT left | 03:18 |
| → NotANick_ joined | 03:19 |
| ← NotANick_ left | 03:19 |
| → NotANick_ joined | 03:19 |
| → JerryT joined | 03:19 |
| ← jftf left | 03:20 |
| ← kenneth left | 03:21 |
| → EminenceHC joined | 03:22 |
| ← NotANick left | 03:22 |
| ← Segfault_ left | 03:25 |
| ← dobalina left | 03:25 |
| ← St_Marx left | 03:25 |
| ← skorgon left | 03:25 |
| ← asakura0 left | 03:25 |
| ← causasui left | 03:25 |
| ← Exio4 left | 03:25 |
| → danecando joined | 03:26 |
| ← EminenceHC left | 03:27 |
| → kerrick_ joined | 03:27 |
| ← Mitchbones left | 03:29 |
| → mennea joined | 03:29 |
| ← devinhe left | 03:29 |
| ← kerrick left | 03:30 |
| → St_Marx joined | 03:34 |
| ← Dougie187 left | 03:34 |
| ← Dougie2187 left | 03:34 |
| → dobalina joined | 03:34 |
|
jaimef
| if you merge a pull request, is there an easy way to revert it? without reverting each individual commit in that merge? | 03:35 |
| ← JDHawke left | 03:36 |
| → Exio4 joined | 03:36 |
|
milki
| jaimef: !undo might help | 03:37 |
|
gitinfo
| jaimef: [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 03:37 |
| → causasui joined | 03:37 |
| ← debajit left | 03:37 |
|
milki
| jaimef: revert also has a -m option | 03:37 |
| → JDHawke joined | 03:37 |
|
milki
| jaimef: man git revert | 03:37 |
|
gitinfo
| jaimef: the git-revert manpage is available at http://jk.gs/git-revert.html | 03:37 |
| → ilmgb joined | 03:38 |
| → skorgon joined | 03:38 |
| → ferreum joined | 03:39 |
|
jaimef
| thanks | 03:39 |
| → Lyqyd joined | 03:40 |
| NotANick_ → NotANick | 03:41 |
| → Kayra joined | 03:41 |
| → asakura0 joined | 03:42 |
| ← ferreum768 left | 03:42 |
| ← ilmgb left | 03:42 |
| → kenneth joined | 03:43 |
| → treaki__ joined | 03:44 |
| → CoderBug joined | 03:46 |
| ← Kayra left | 03:47 |
| → Segfault_ joined | 03:47 |
| → kalypso joined | 03:47 |
| ← FutureTense left | 03:48 |
| ← treaki_ left | 03:48 |
| → Lemony joined | 03:48 |
| → SLY1986 joined | 03:49 |
| → zivester joined | 03:50 |
| ← doge_wow left | 03:50 |
| ← theRealGentleman left | 03:50 |
| ← SLY1986 left | 03:52 |
| → soya joined | 03:52 |
| → SLY1986 joined | 03:52 |
| → doge_wow joined | 03:53 |
| ← codeurge left | 03:55 |
|
yates
| it seems that i have a bunch of untracked files that don't show up in "git status" as untracked | 03:59 |
| → maestrojed joined | 03:59 |
|
yates
| they don't show up at all | 03:59 |
| ← ojacobson left | 03:59 |
|
yates
| oh, ok. | 04:00 |
|
| git only shows the top level path of untracked files? | 04:00 |
| → noyb joined | 04:01 |
| → fairuz joined | 04:03 |
| ← zivester left | 04:04 |
|
martisj
| how can i save local changes in a new branch | 04:05 |
| ← mdub left | 04:06 |
| ← CKyle_ left | 04:07 |
| → irqq joined | 04:08 |
| → ilmgb joined | 04:09 |
| → robarelli joined | 04:12 |
| → ErKa joined | 04:13 |
| ← ilmgb left | 04:13 |
| ← robarelli left | 04:14 |
| → robarelli joined | 04:14 |
| ← deanclkclk left | 04:14 |
|
mark_t
| martisj, probably the worst way to do it is to "git stash" the changes, create the branch, then "git stash apply". | 04:15 |
| → bipolar joined | 04:16 |
| → jftf joined | 04:16 |
| → hkon_ joined | 04:17 |
| ← robarelli left | 04:19 |
| ← akim left | 04:20 |
| → cads2 joined | 04:20 |
| ← jftf left | 04:21 |
| ← hkon_ left | 04:22 |
| → EminenceHC joined | 04:25 |
| ← JDHawke left | 04:26 |
| ← megawac left | 04:26 |
| → OffTheRails joined | 04:27 |
| → maslowbeer joined | 04:28 |
| → beautifulmind joined | 04:29 |
| ← freeman42 left | 04:30 |
| ← EminenceHC left | 04:30 |
| ← beautifulmind left | 04:30 |
| → beautifulmind joined | 04:32 |
| → JDHawke joined | 04:33 |
| → kushal2 joined | 04:35 |
| ← kushal3 left | 04:37 |
| ← lu_zero left | 04:37 |
| → lu_zero joined | 04:37 |
| ← lu_zero left | 04:37 |
| → lu_zero joined | 04:37 |
| ← daito left | 04:39 |
| ← irqq left | 04:39 |
| → woollyams joined | 04:40 |
| ← TCubed left | 04:40 |
| → ilmgb joined | 04:40 |
| ← toobluesc left | 04:40 |
| → Kayra joined | 04:41 |
| → hwrdprkns joined | 04:42 |
| → dreiss joined | 04:43 |
| → zoso joined | 04:43 |
| ← fatalhalt left | 04:44 |
| ← bunbury left | 04:45 |
| ← ilmgb left | 04:45 |
| → codeurge joined | 04:46 |
| ← woollyams left | 04:46 |
| ← Kayra left | 04:46 |
| ← cads2 left | 04:46 |
|
martisj
| mark_t: pretty much what i did 👎 | 04:47 |
| ← hahuang65 left | 04:48 |
| → woollyams joined | 04:49 |
| ← codeurge left | 04:50 |
|
mark_t
| martisj, glad to hear it. Quick-and-dirty is the way to go. :D | 04:51 |
| → yacks joined | 04:51 |
| → codeurge joined | 04:52 |
| ← FL1SK left | 04:52 |
| → amigojapan joined | 04:52 |
| → FL1SK joined | 04:52 |
| → pablo_ joined | 04:54 |
| → debajit joined | 04:56 |
| gitinfo set mode: +v | 04:57 |
|
pablo_
| hello. Newbie question: If I push changes to a remote branch on my local machine, then I ssh into another server, how do a I pull my changes onto the server I'm ssh'd into? | 04:58 |
|
mark_t
| pablo_, if you boil your question down to its essence, it is "how do access my local machine from a remote server?" The anwer is: "provide access from the remote server to your local server" | 05:00 |
| ← dreiss left | 05:01 |
|
mark_t
| Although I am likely going down the road of "there are many better ways to do it", I'd say opening a port on your local firewall and system for ssh access is the best way. | 05:01 |
| → pweaver_ joined | 05:03 |
| → drjeats joined | 05:04 |
| → Mystica joined | 05:05 |
| ← Mystica left | 05:05 |
| ← kalypso left | 05:07 |
|
Vivekananda
| hey everyone I did a git rm --chached file1 file2 and now on git status I see both files as 'deleted' | 05:08 |
|
| is this correct ? | 05:08 |
|
| I just wanted to delete the staged changes | 05:09 |
| ← kadoban left | 05:10 |
| → ilmgb joined | 05:11 |
|
martisj
| Vivekananda: did you stage the files? | 05:12 |
|
Vivekananda
| martisj: if you are asking if I did a git add then no | 05:12 |
|
| but I did make changes to the files | 05:12 |
| → hahuang65 joined | 05:12 |
|
martisj
| and you want to “revert” the changes? | 05:12 |
|
| Vivekananda: I would suggest looking at git reset then | 05:12 |
|
| instead of rm | 05:13 |
|
pablo_
| mark_t - thanks I figured it out, I had created a new branch on the remote machine instead of checking out the remote branch. needed to delete the local dupe branch and then check it out... if that makes sense | 05:13 |
|
| er delete the remote dupe branch | 05:13 |
| → Kicer86 joined | 05:13 |
| → robarelli joined | 05:15 |
| ← ilmgb left | 05:16 |
| ← pablo_ left | 05:16 |
| → bbloom joined | 05:19 |
| ← pweaver_ left | 05:19 |
|
martisj
| How do i use git fsck to recover a deleted branch? | 05:19 |
| ← robarelli left | 05:19 |
|
mark_t
| martisj, you don't. | 05:20 |
| ← ericp4 left | 05:21 |
| ← kukks left | 05:21 |
| → ericp4 joined | 05:21 |
| → vyadhaka2 joined | 05:25 |
|
Vivekananda
| martisj: how do I undo the rm --cached ? | 05:25 |
| ← polyzen left | 05:25 |
|
mark_t
| Vivekananda, git add again | 05:26 |
| → Kayra joined | 05:26 |
| ← the8thbit left | 05:26 |
| ← jovy88 left | 05:26 |
| → kcj joined | 05:26 |
|
grawity
| martisj: look over all commits that `git fsck` reports as dangling | 05:26 |
|
Vivekananda
| mark_t: it currently shows : git status deleted: file1 deleted:file2 | 05:26 |
|
| do I git add now ? | 05:27 |
|
martisj
| mark_t: aha yeah :)hahah found out that I have to create the branch from the sha of the deleted branch | 05:27 |
|
grawity
| martisj: if you find the head of the deleted branch, just create a new branch starting from that commit | 05:27 |
|
Vivekananda
| also isnt there a git undo command ? | 05:27 |
|
grawity
| Vivekananda: what would `git undo` do, precisely? | 05:27 |
|
mark_t
| Vivekananda, git reset | 05:27 |
|
Vivekananda
| to undo whatever I executed the last | 05:27 |
|
grawity
| no, there isn't | 05:27 |
| → jovy88 joined | 05:27 |
|
Vivekananda
| grawity: so git reset then ? or git add ? I dont want to loose those files | 05:27 |
| ← drjeats left | 05:28 |
| → D9 joined | 05:28 |
| → EminenceHC joined | 05:28 |
| → gittish joined | 05:29 |
| → drjeats joined | 05:29 |
| ← _pr0t0type_ left | 05:31 |
| → Deseaus joined | 05:31 |
|
vyadhaka2
| I added a global .gitignore file somewhere and referencee it like but it's not working, is this right > git config --global core.excludesfile ~/.../.gitignore_global | 05:31 |
| ← EminenceHC left | 05:32 |
| ← noyb left | 05:33 |
| → EminenceHC joined | 05:33 |
| ← Deseaus left | 05:35 |
| → User458764 joined | 05:36 |
| ← __main__ left | 05:36 |
| → __main__ joined | 05:37 |
| ← kushal2 left | 05:38 |
|
osse
| yes | 05:39 |
| → daito joined | 05:39 |
| ← __main__ left | 05:39 |
| → __main__ joined | 05:40 |
| → wrouesnel1 joined | 05:40 |
| ← luc__ left | 05:40 |
| → luc__ joined | 05:41 |
| ← daito left | 05:41 |
| → daito joined | 05:41 |
| ← luc__ left | 05:41 |
| → luc__ joined | 05:42 |
| → ilmgb joined | 05:42 |
|
vyadhaka2
| osse: thank you, the only line I have in there is for *.swp and they still get picked up, is there something else I am missing | 05:43 |
| → luc___ joined | 05:43 |
|
osse
| vyadhaka2: picked up how? | 05:43 |
|
vyadhaka2
| they come up as untracked files | 05:44 |
| → ThomasLocke joined | 05:44 |
|
osse
| vyadhaka2: run 'git config --global core.excludesfile' what does it say? | 05:44 |
| ← EminenceHC left | 05:44 |
|
vyadhaka2
| /home/username/.gitignore | 05:45 |
|
| I changed the filename | 05:45 |
|
Vivekananda
| vyadhaka2: interesting name ! | 05:46 |
|
osse
| vyadhaka2: and that path is correct? | 05:46 |
| ← luc__ left | 05:47 |
|
osse
| you said they show up as untracked files. make sure it's not modified files. | 05:47 |
| ← ilmgb left | 05:47 |
|
vyadhaka2
| yes. and moved it to the home directory assuming it would make a difference | 05:47 |
|
| so the excluded files come up as untracked but not as modified? | 05:47 |
| ← dobalina left | 05:47 |
| ← Gamecubic left | 05:47 |
|
osse
| no, Iæm | 05:47 |
|
| I'm asking you | 05:47 |
| → bhldev joined | 05:48 |
| → str joined | 05:48 |
| → bdav|irccloud joined | 05:48 |
| → leeN joined | 05:49 |
|
vyadhaka2
| I am new to git, but I havent added them to the repo, why will they come up as modified, my understanding of the excluded files is that they dont get tracked. | 05:49 |
| → Wiz_KeeD joined | 05:50 |
|
osse
| your understanding is correct. I just wanted you to double check that git status actually says untracked and not modified | 05:50 |
|
vyadhaka2
| yes they are only showing up as untracked | 05:50 |
|
| I just want them not to come up as untracked | 05:51 |
|
osse
| vyadhaka2: check if you have trailing whitespace in the gitignore file | 05:51 |
| ← johnkevinmbasco left | 05:51 |
| → johnkevinmbasco joined | 05:51 |
| ← str left | 05:52 |
| ← codeurge left | 05:52 |
| User458764 → User458764_NotHe | 05:54 |
| → zzing_ joined | 05:54 |
| → Gamecubic joined | 05:54 |
|
vyadhaka2
| no whitespaces, I also tried placing the file in the repo working dir, not working | 05:54 |
|
starkhalo
| how can I search if a file has ever existed at any point in the repo? | 05:55 |
| ← tpollard left | 05:55 |
| ← zzing left | 05:55 |
|
vyadhaka2
| let me first confim, .gitignore file can be placed anywhere and reference it with the git config core.excludesfile, right? and the name of the file be different? | 05:55 |
| ← hgl left | 05:57 |
|
mark_t
| starkhalo, git log path/to/file --try-harder-darnit! | 05:57 |
| ← karpoff left | 05:57 |
| → dreiss joined | 05:57 |
|
starkhalo
| but I don't have a path? say I want to know if there has ever been a *.pc file? | 05:58 |
| ← User458764_NotHe left | 05:58 |
| → karpoff joined | 05:58 |
| → MattMake_ joined | 05:58 |
| ← diegoviola left | 05:59 |
| → Silmarilion joined | 05:59 |
|
starkhalo
| I guess I could iterate all refs through ls-files but is there a shorter way? | 05:59 |
|
vyadhaka2
| fixed it, there was a trailing space after the rule. *.swp | 05:59 |
| ← MattMaker left | 06:00 |
| ← MattMake_ left | 06:00 |
| → MattMaker joined | 06:00 |
| → CodePulsar joined | 06:02 |
| → Sicp joined | 06:02 |
|
grawity
| starkhalo: no, there is no global index on filenames | 06:03 |
| → johnkevi_ joined | 06:03 |
|
starkhalo
| grawity: kk thanks, I'll iterate then | 06:03 |
|
grawity
| starkhalo: the _only_ way to know if a file was in any commit is to look through all commits | 06:03 |
| ← beautifulmind left | 06:03 |
|
grawity
| starkhalo: though, if you're making a script, then you can speed it up by checking individual trees, not whole commits | 06:04 |
| ← FunkyAss left | 06:04 |
| ← Lemony left | 06:04 |
|
grawity
| because often the same (sub-)tree is used by dozens of commits | 06:04 |
| ← johnkevinmbasco left | 06:04 |
|
grawity
| starkhalo: for example, https://github.com/grawity/code/blob/master/devel/git-find-blob | 06:05 |
|
| starkhalo: that script searches by hash, would be easy to change it to search by name though | 06:05 |
| ← JDHawke left | 06:05 |
| → hkon_ joined | 06:05 |
|
starkhalo
| awesome, let me read about it 'cause I'm not familiar with that | 06:05 |
|
| thanks a bunch! | 06:06 |
|
grawity
| the way it works, a commit doesn't have a flat list of files, it has a nested list of 'tree' objects | 06:06 |
|
| each subdirectory corresponding to a tree object | 06:06 |
| → Sijdesign joined | 06:06 |
|
grawity
| well, "nested list" isn't the right term | 06:06 |
| → johnkevinmbasco joined | 06:07 |
| ← johnkevi_ left | 06:07 |
|
starkhalo
| oh my, I'm sure that's more efficient and probably faster but I think I'll go with a simple ls-files and leave git-find-blob for git homework | 06:08 |
| ← Sijdesign left | 06:08 |
| → JDHawke joined | 06:08 |
| → ciampix joined | 06:10 |
| → happytux_ joined | 06:10 |
| ← hkon_ left | 06:11 |
| → lite_ joined | 06:11 |
| → Sicp_ joined | 06:11 |
| ← kcj left | 06:12 |
| ← Sicp left | 06:13 |
| → ilmgb joined | 06:13 |
| ← happytux left | 06:13 |
| ← sarkis left | 06:15 |
| → Sijdesign joined | 06:15 |
| → robarelli joined | 06:15 |
| → FvG_u joined | 06:15 |
| → FunkyAss joined | 06:16 |
| → sinkensabe joined | 06:16 |
| ← johnkevinmbasco left | 06:16 |
| ← Sijdesign left | 06:16 |
| → lirikon joined | 06:17 |
| → Raging_Hog joined | 06:17 |
| ← lirikon left | 06:17 |
| ← ilmgb left | 06:17 |
| → jftf joined | 06:18 |
| → mishunika joined | 06:19 |
| ← robarelli left | 06:20 |
| ← starkhalo left | 06:21 |
| ← leeN left | 06:21 |
|
osse
| vyadhaka2: so there *was* trailing whitespace after all? :) | 06:22 |
| → ilmgb joined | 06:22 |
| ← jftf left | 06:23 |
| → johnkevinmbasco joined | 06:24 |
| → doitjay joined | 06:25 |
| → freeman42 joined | 06:25 |
| → longbeach joined | 06:25 |
| → beautifulmind joined | 06:26 |
| ← kyb3r_ left | 06:26 |
| ← Arkaniad|Laptop left | 06:27 |
| ← digitalextremist left | 06:28 |
| → Vile joined | 06:29 |
| → EminenceHC joined | 06:30 |
| → alxgnon joined | 06:31 |
| → digitalextremist joined | 06:31 |
| → kyb3r_ joined | 06:32 |
| → mishunik1 joined | 06:32 |
| → bob14 joined | 06:32 |
| ← digitalextremist left | 06:32 |
| → marthinal joined | 06:33 |
| ← Vile left | 06:34 |
| ← freeman42 left | 06:34 |
| ← EminenceHC left | 06:35 |
| ← mishunika left | 06:35 |
| ← luxgeek left | 06:36 |
| ← Lyqyd left | 06:36 |
| → jagob joined | 06:37 |
| ← marthinal left | 06:37 |
| → cbreak-work joined | 06:37 |
| ← CoderBug left | 06:38 |
| → Deseaus joined | 06:39 |
| → jargon joined | 06:41 |
| → pweaver_ joined | 06:42 |
| → h0bbit joined | 06:43 |
| → hkon_ joined | 06:43 |
| ← maestrojed left | 06:43 |
| → jnavila joined | 06:43 |
| ← dreiss left | 06:43 |
| ← mishunik1 left | 06:44 |
| ← viciousbunny left | 06:45 |
| ← Kayra left | 06:46 |
| → mlechner joined | 06:46 |
| ← kyb3r_ left | 06:47 |
| → andr3a joined | 06:47 |
| → jeffreylevesque joined | 06:48 |
| ← zzing_ left | 06:48 |
| → zzing joined | 06:49 |
| ← Sicp_ left | 06:50 |
| → Sicp joined | 06:50 |
| ← northfurr left | 06:51 |
| → viciousbunny joined | 06:51 |
| → noyb joined | 06:51 |
| ← asakura0 left | 06:51 |
| → luxgeek joined | 06:52 |
| ← oojacoboo left | 06:52 |
| → asakura0 joined | 06:52 |
| → digitalextremist joined | 06:52 |
| → mishok13 joined | 06:54 |
| → SittingShiva joined | 06:55 |
| ← Dottimolly left | 06:55 |
| ← ilmgb left | 06:55 |
| ← jeffreylevesque left | 06:55 |
| ← noyb left | 06:56 |
| → Polymorp_ joined | 06:57 |
| → tvw joined | 06:58 |
| ← weiyang left | 06:59 |
| ← SittingShiva left | 06:59 |
| → nabblet joined | 07:00 |
| → harish joined | 07:01 |
| ← Sonderblade left | 07:01 |
| → shidi joined | 07:02 |
| ← debajit left | 07:02 |
| → hebz0rl joined | 07:04 |
| → Gavrisimo joined | 07:06 |
| ← pweaver_ left | 07:07 |
| → akushner joined | 07:07 |
| ← juril left | 07:09 |
| adev → adev|afk | 07:11 |
| ← luxgeek left | 07:11 |
| ← FvG_u left | 07:11 |
| ← drjeats left | 07:12 |
| → drjeats joined | 07:13 |
| ← akushner left | 07:14 |
| → intellix joined | 07:16 |
| ← alxgnon left | 07:16 |
| → luxgeek joined | 07:19 |
| ← luxgeek left | 07:19 |
| → jftf joined | 07:19 |
| ← Gamecubic left | 07:20 |
| ← amigojapan left | 07:20 |
| → irqq joined | 07:20 |
| ← thiago left | 07:22 |
| ← fairuz left | 07:22 |
| → norber joined | 07:23 |
| → matteo joined | 07:23 |
| ← andr3a left | 07:23 |
| → gua_ould joined | 07:24 |
| → fairuz joined | 07:24 |
| ← beautifulmind left | 07:24 |
| → adambrenecki_ joined | 07:24 |
| ← jftf left | 07:24 |
| → debajit joined | 07:24 |
| ← bob14 left | 07:25 |
| → irqq_ joined | 07:26 |
| → leeN joined | 07:27 |
| → adac joined | 07:27 |
| ← armyriad left | 07:27 |
| → armyriad joined | 07:28 |
| ← irqq left | 07:29 |
| → thevishy joined | 07:29 |
| ← danecando left | 07:31 |
| → EminenceHC joined | 07:32 |
| → nnyk_ joined | 07:32 |
| → andr3a joined | 07:32 |
| ← doitjay left | 07:32 |
| → the8thbit joined | 07:33 |
| ← hebz0rl left | 07:34 |
| → hebz0rl joined | 07:34 |
| ← nkouevda left | 07:34 |
| → rishabh_ joined | 07:35 |
| → hoschi joined | 07:35 |
| → juril joined | 07:36 |
| ← EminenceHC left | 07:36 |
| → sq-one joined | 07:37 |
| → Elek101 joined | 07:38 |
| ← Elek101 left | 07:38 |
| ← hebz0rl left | 07:38 |
| → abak joined | 07:39 |
| ← zzing left | 07:39 |
| → Elek101 joined | 07:39 |
| → wakd joined | 07:39 |
| → akushner joined | 07:40 |
| ← ErKa left | 07:40 |
| → konadr joined | 07:40 |
| ← konadr left | 07:40 |
| → strk joined | 07:40 |
|
strk
| error: Not tracking: ambiguous information for ref refs/remotes/origin/1.11 # how to debut/fix ? | 07:40 |
| → konadr joined | 07:41 |
| → hebz0rl joined | 07:41 |
| ← daito left | 07:41 |
| → gertptr joined | 07:41 |
|
strk
| git branch -r | grep -w 1.11$ # origin/1.11 | 07:41 |
|
| git tag -v | grep 1.11 # none | 07:42 |
|
osse
| strk: what command produced that error? | 07:42 |
| → saurabh joined | 07:42 |
| → Balliad joined | 07:43 |
| ← gua_ould left | 07:43 |
|
strk
| git branch 1.11 origin/1.11 | 07:43 |
| ← hebz0rl left | 07:43 |
| → hebz0rl joined | 07:44 |
| ← hebz0rl left | 07:44 |
|
tobiasvl
| strk: what do you want to do? | 07:44 |
| → hebz0rl joined | 07:44 |
| ← akushner left | 07:44 |
| ← MattMaker left | 07:45 |
| ← yacks left | 07:45 |
| → _soya_ joined | 07:45 |
|
tobiasvl
| strk: is origin/1.11 already tracked by another branch? | 07:45 |
| ← _soya_ left | 07:45 |
|
tobiasvl
| did you mean to use -t ? | 07:45 |
| ← soya left | 07:46 |
|
strk
| I want a "1.11" branch tracking origin/1.11, how can I see if another branch is already tracking it ? | 07:47 |
|
| grep 1.11 .git/config # no hits | 07:48 |
|
osse
| strk: my guess is you accidentally created a local branch called origin/1.1.1 | 07:49 |
|
| what does git branch -a say | 07:49 |
| → gua_ould joined | 07:49 |
| ← OffTheRails left | 07:50 |
| → Xethron joined | 07:50 |
| ← Xethron left | 07:50 |
| → Xethron joined | 07:50 |
| ← debajit left | 07:50 |
| → cllamas joined | 07:51 |
| → MattMaker joined | 07:51 |
| → ilogger2 joined | 08:04 |
|
cbreak-work
| abak: git mv root/A root/T && mkdir root/A && git mv root/T root/A/newname | 08:06 |
|
| or something like that | 08:06 |
| → bgerber joined | 08:06 |
|
cbreak-work
| abak: you might also have to adjust .gitmodules and the settings in .git/config | 08:06 |
| → lov joined | 08:07 |
|
abak
| so I have to use a temp folder | 08:07 |
|
damccull
| If I want to ignore a pattern with .gitignore, but still track a specific file that fits that pattern, can I just git add it manually before/after putting it in the gitignore and git will love it like it loves every other file? | 08:08 |
|
tobiasvl
| damccull: yes | 08:08 |
|
damccull
| sweet thanks | 08:08 |
| → athan joined | 08:11 |
| → Bigus joined | 08:11 |
| → dobalina joined | 08:12 |
| → daito joined | 08:14 |
| → endiruna joined | 08:15 |
| → ncd|leeN joined | 08:15 |
|
cbreak-work
| abak: no, just a temporary name | 08:16 |
| → samsamm777 joined | 08:17 |
| → wrouesnel2 joined | 08:18 |
| → Macaveli joined | 08:18 |
|
jast
| damccull: you can put inverted rules in .gitignore files, too | 08:18 |
|
| e.g. '*.txt' and '!superimportant.txt' | 08:19 |
| → jpierre03 joined | 08:19 |
| → jftf joined | 08:20 |
| → Shusshu joined | 08:20 |
|
damccull
| Wow! Inverted rules? neato | 08:21 |
|
Vampire0
| What would be the benefit of the explicit invertion for just one file jast? I see the advantage for another pattern, but for a single file? | 08:21 |
| → kini joined | 08:21 |
|
d-snp
| Vampire0: for js projects its common to have your compilation result in the git repo | 08:21 |
| → teran joined | 08:21 |
|
d-snp
| so I have gitignore: dist/*, !dist/myproject.min.js | 08:22 |
|
| so all my build artifacts are ignored except for the final result | 08:22 |
| → amcsi_work joined | 08:22 |
|
Vampire0
| d-snp, but what is the benefit of putting it as inverse rule to .gitignore over just adding it explicitly. As soon as you explicitly add a file, the .gitignore rules are non-effective | 08:23 |
|
d-snp
| well that's true, but I don't think that's very pretty | 08:23 |
|
jast
| documentation, basically | 08:23 |
|
| it's an explicit record of the fact that it's correct for that file to be tracked | 08:23 |
| → Neon1024 joined | 08:23 |
|
Vampire0
| ok | 08:24 |
|
| :-) | 08:24 |
| → marthinal joined | 08:24 |
|
d-snp
| woop woop, making the learns :) | 08:24 |
| → nfk joined | 08:24 |
| → jceb joined | 08:24 |
| → phanimahesh joined | 08:24 |
| gitinfo set mode: +v | 08:24 |
| ← jftf left | 08:25 |
| ← teran left | 08:26 |
|
jast
| that said, I wouldn't track automatically minified versions of my own code with git | 08:26 |
| → ArSn joined | 08:27 |
| → ilmgb joined | 08:27 |
|
strk
| osse: git branch -a | grep 1.11 # only gives entries starting with "remote/" | 08:27 |
|
| actually, "remotes/origin/" | 08:27 |
|
osse
| strk: does it give more than one? | 08:28 |
|
damccull
| What's convention in git for keeping empty directories? | 08:29 |
| → ghostlines joined | 08:29 |
|
Vampire0
| jast, I would not track ANYTHING that is produced by the build as it can easily be rebuilt from source :-) | 08:29 |
| → hkon_ joined | 08:29 |
| → matheus23 joined | 08:30 |
|
moritz
| damccull: adding a .keepme or .gitignore file to it | 08:30 |
|
Vampire0
| damccull, put something inside. Git does not track empty directories. You can put an empty .gitignore inside e. g. | 08:30 |
| → LeMike joined | 08:30 |
|
damccull
| so .gitignore is the norm? | 08:30 |
|
| just empty? | 08:30 |
|
Vampire0
| The norm is to not version empty directories | 08:31 |
|
| ;-) | 08:31 |
|
damccull
| Well yeah...but the software I am converting to git doesn't check for a directory that exist that it needs ;) | 08:31 |
|
Vampire0
| Yes, an empty file is good enough if you really need it | 08:31 |
| → bezet joined | 08:31 |
|
damccull
| I COULD do that but i don't want to alter it too much yet | 08:31 |
| ← Shusshu left | 08:31 |
| → EminenceHC joined | 08:33 |
| → W0rmDr1nk joined | 08:33 |
| → adkins1 joined | 08:34 |
|
damccull
| does git automatically ignore hidden files? .something for instance | 08:34 |
|
luto
| no | 08:35 |
| ← LeMike left | 08:35 |
| ← marthinal left | 08:35 |
| → sanjayu joined | 08:35 |
|
damccull
| oh, i see. it just doesn't list it in git status | 08:35 |
|
abak
| cbreak-work, I get the following : fatal: source directory is empty, source=T, destination=A/newname | 08:35 |
|
Vampire0
| damccull, not every OS handles .file as hidden ;-) | 08:36 |
| → m8 joined | 08:36 |
|
Vampire0
| damccull, does it not? it shoudl I think | 08:36 |
|
j416
| it does. | 08:36 |
|
moritz
| damccull: my 'git status' shows dotfiles | 08:36 |
|
| (untracked, not-ignored dotfiles, that is) | 08:36 |
|
cbreak-work
| abak: you have to use the correct names of course | 08:36 |
|
Vampire0
| damccull, As long as you don't put something in .gitignore or .git/info/excludes, it will not be ignored and also shown in git status | 08:36 |
| ← Macaveli left | 08:37 |
| ← EminenceHC left | 08:38 |
|
abak
| cbreak-work: obv. | 08:38 |
|
| ftr i end up with a folder T/ with my submodule in it | 08:38 |
|
damccull
| mine just showed "./" when I was in a directory with an untracked .keep_me | 08:38 |
| → mennea joined | 08:39 |
| → allay joined | 08:40 |
|
abak
| ok I got it to work, but I had to do the following : | 08:40 |
|
| git mv A/ tmp && mkdir A/ && git mv tmp A/newname | 08:41 |
| → allay_ joined | 08:41 |
|
abak
| instead of : git mv A/ tmp/ && mkdir A/ && git mv tmp/ A/newname | 08:41 |
| → pantsman joined | 08:41 |
|
abak
| if anyone can explain me why that happened, it would be cool | 08:41 |
| → sarkis joined | 08:42 |
|
cbreak-work
| abak: you should have done git mv A ... not A/ | 08:42 |
|
moritz
| damccull: well, it shows untracked directories without the files they contain | 08:42 |
|
| damccull: which makes sense, because you might have 10k files in a build/ dir or so :-) | 08:43 |
|
cbreak-work
| abak: the / marks directories. | 08:43 |
|
| for sources, git might not recognize it, since submodules are not directories | 08:43 |
|
abak
| cbreak-work, it did work with A/, just not with tmp/ | 08:43 |
| ← endiruna left | 08:43 |
|
cbreak-work
| and for destinations, it might put it INTO that place | 08:43 |
|
| instead of renaming it to that name | 08:43 |
|
moritz
| does tmp exist? | 08:43 |
|
cbreak-work
| obviously it must not exist | 08:43 |
|
abak
| well | 08:44 |
|
cbreak-work
| as I said ages ago... | 08:44 |
|
abak
| when i used the command that did not work it ended up existing | 08:44 |
|
cbreak-work
| no temp dir is needed | 08:44 |
| → Celm joined | 08:44 |
| → txomon|home joined | 08:45 |
| → dangerousdave joined | 08:46 |
| ← sarkis left | 08:46 |
| → Deseaus joined | 08:47 |
| → pantsman- joined | 08:48 |
| → welly joined | 08:49 |
| ← Celm left | 08:49 |
|
damccull
| moritz: ah thanks | 08:49 |
| → ferreum158 joined | 08:50 |
| ← pantsman left | 08:50 |
| ← Deseaus left | 08:51 |
| → Sound joined | 08:51 |
| ← m8 left | 08:52 |
| → jcvfen joined | 08:52 |
| → VictorBjelkholm joined | 08:52 |
| → car_tatnte_stw_ joined | 08:53 |
| ← jpierre03 left | 08:53 |
| → lite_ joined | 08:54 |
| → spacepluk joined | 08:54 |
| ← car_tatnte_stw_ left | 08:54 |
| → thevishy joined | 08:56 |
| → Xethron joined | 08:57 |
| ← Xethron left | 08:57 |
| → Xethron joined | 08:57 |
| → m8 joined | 08:57 |
| → h0bbit joined | 08:58 |
| → skyflash joined | 09:00 |
| ← thevishy left | 09:01 |
| → robarelli joined | 09:01 |
| ← bgerber left | 09:01 |
| → teran joined | 09:02 |
| ← pantsman- left | 09:02 |
| → mikecmpbll joined | 09:03 |
| → nabblet joined | 09:04 |
| → ferreum768 joined | 09:04 |
| ← ilmgb left | 09:05 |
| ← ferreum158 left | 09:05 |
| ← robarelli left | 09:05 |
| → Flowinho joined | 09:06 |
| → jpierre03 joined | 09:06 |
|
damccull
| resolving conflicts: "Mine" is the branch i'm on and "theirs" is the branch I'm merging in right? | 09:09 |
|
osse
| yes | 09:09 |
| → MblKiTA joined | 09:10 |
|
damccull
| thanks osse | 09:10 |
|
strk
| osse: only one really called "1.11" | 09:10 |
|
njsg
| what was the way to keep a branch up with master? git merge master on the branch? | 09:11 |
|
strk
| the others arelike "1.11.0" or "1.11.0beta1" .. | 09:11 |
|
osse
| strk: try git branch 1.11 <x> where <x> is the *full* name you see in git branch -a | 09:11 |
|
| njsg: either that or rebase | 09:11 |
| → ferreum joined | 09:12 |
|
njsg
| what's the preferred one when having branches for specific features? | 09:12 |
|
osse
| njsg: depends on who you ask | 09:12 |
|
njsg
| IIRC rebase is more cleaner and preserves the meaning | 09:12 |
|
| but I'm still used to the idea of "merge" from other VCSes, so I may be doing it wrong | 09:13 |
| ← ferreum768 left | 09:13 |
| → cvanball joined | 09:17 |
|
Vampire0
| njsg, http://sprunge.us/LPfR | 09:18 |
| → lolmaus joined | 09:18 |
| → jftf joined | 09:21 |
| → pretty_function joined | 09:21 |
| → ayaz joined | 09:21 |
| ← Neon1024 left | 09:23 |
| ← dangerousdave left | 09:23 |
| → dangerou_ joined | 09:23 |
| → johnkevi_ joined | 09:23 |
|
njsg
| Vampire0: wow, thanks | 09:23 |
|
| yeah, I think I should have used rebase all this time... | 09:24 |
|
Vampire0
| :-) | 09:24 |
|
njsg
| rebase seems to be what you want if you are just maintaining something along with a "master" branch | 09:24 |
|
Vampire0
| Well, I'd say rebase is what you want if you just have local branches and merge for pushed branches, otherwise you !rewrite public history | 09:25 |
|
gitinfo
| Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 09:25 |
|
Vampire0
| But it is mainly a matter of how you like your history to look | 09:25 |
| ← jftf left | 09:26 |
| → bgerber joined | 09:27 |
| → jovy88 joined | 09:29 |
| → Neon1024 joined | 09:30 |
|
jast
| !merge_vs_rebase | 09:30 |
|
gitinfo
| [!merge_or_rebase] For a detailed discussion of the dis-/advantages of merge and rebase, and when to best use which, see: https://coderwall.com/p/ny1hia -- and here's how Linus explains which one to use: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg39091.html | 09:30 |
| → gittish joined | 09:31 |
| → moritzs joined | 09:31 |
| ← samsamm777 left | 09:32 |
| → woollyams joined | 09:33 |
| → CussBot joined | 09:34 |
| ncd|leeN → leeN | 09:35 |
| → shruggar joined | 09:35 |
| → jatt joined | 09:36 |
| → Polymorphism joined | 09:36 |
| ← jatt left | 09:36 |
| → jatt joined | 09:36 |
| → JDHawke joined | 09:37 |
| → EminenceHC joined | 09:37 |
| → cornerman joined | 09:37 |
| → roymiloh joined | 09:37 |
| → Zoddo joined | 09:41 |
| ← EminenceHC left | 09:42 |
| → sarkis joined | 09:42 |
|
cornerman
| hi, i am having an issue checking out a git repository over https. git fails with "gnutls_handshake() failed: The TLS connection was non-properly terminated". i also tried to build git against libcurl-openssl, which also produced an error. | 09:43 |
|
| i also tried curl directly to see what is happening and apparently the server does not answer my client hello. | 09:43 |
|
| interestingly, it works with curl, when i use the "-3" option to force usage of sslv3 | 09:44 |
|
| any ideas how to force sslv3 usage through git? | 09:44 |
| → hgl joined | 09:44 |
| → sall joined | 09:44 |
| → kikimeter joined | 09:47 |
| ← jatt left | 09:47 |
| ← sarkis left | 09:47 |
| → Reskp joined | 09:48 |
| → Deseaus joined | 09:48 |
| ← Reskp left | 09:49 |
| → kai___ joined | 09:49 |
| → Yoda joined | 09:50 |
| Yoda → Guest39896 | 09:50 |
| → beautifulmind joined | 09:50 |
| ← Guest39896 left | 09:50 |
| → intellix joined | 09:52 |
| ← Deseaus left | 09:53 |
| → kcj joined | 09:54 |
| ← moritzs left | 09:54 |
| ← JDHawke left | 09:56 |
| → JDHawke joined | 09:56 |
| → kevinb joined | 09:57 |
| → treehug88 joined | 10:01 |
| ← JDHawke left | 10:02 |
| ← cvanball left | 10:03 |
| → JDHawke joined | 10:03 |
| ← kikimeter left | 10:03 |
| → endiruna joined | 10:04 |
| → maveneag_ joined | 10:04 |
|
Seveas
| cornerman: a cursory reading of http.c syas it's not possible | 10:06 |
|
| sslv3 is also not recommended, better fix your server to support newer TLS versions... | 10:07 |
|
cornerman
| Seveas: well, the interesting thing is, that this works on debian stable (git 1:1.7.10.4-1 und curl 7.26.0-1) | 10:08 |
| → BaBL joined | 10:09 |
|
cornerman
| currently i use debian testing with git 2.0.0.rc2 and curl 7.37.0 | 10:09 |
| ← woollyams left | 10:10 |
| → GodEater joined | 10:10 |
|
_ikke_
| You can use the .curlrc file to instruct curl | 10:10 |
| ← GodEater left | 10:10 |
| → GodEater joined | 10:10 |
| ← allay_ left | 10:10 |
|
_ikke_
| git uses libcurl to make http connections | 10:10 |
| ← allay left | 10:10 |
| → woollyams joined | 10:10 |
| → stamina joined | 10:11 |
| → frobrob_ joined | 10:11 |
| ← h0bbit left | 10:12 |
|
Kartagis
| can I find out on what date a specific tag has been created? | 10:12 |
|
moritz
| Kartagis: for annotated tags, yes | 10:12 |
|
jast
| if it's an annotated/signed tag, sure | 10:12 |
|
cornerman
| _ikke_: i just tried setting sslv3 in curlrc, eventhought curl would then use this option, but git still seems to ignore this setting | 10:12 |
|
jast
| git show <name> | 10:12 |
|
cornerman
| any ideas how to further check what is actually wrong? | 10:13 |
|
_ikke_
| export GIT_TRACE=1 | 10:13 |
|
Kartagis
| what does signed tag mean? | 10:14 |
|
moritz
| an annotated tag with a PGP signature | 10:14 |
|
_ikke_
| A tag object that contains a gpg signature | 10:14 |
|
cornerman
| _ikke_: well it fails when it runs the command: git-remote-https origin ... with the above mentioned error message | 10:15 |
| → Sander_ joined | 10:15 |
| → User458764 joined | 10:15 |
| → Mong0 joined | 10:17 |
| → GT4066 joined | 10:17 |
|
_ikke_
| It is odd, because .curlrc should also be applied to connections git makes with curl | 10:18 |
| → [EddyF] joined | 10:18 |
| ← GodEater left | 10:18 |
| → GodEater joined | 10:18 |
| ← GodEater left | 10:18 |
| → GodEater joined | 10:18 |
| ← dobalina left | 10:19 |
| → SittingShiva joined | 10:20 |
| ← Polymorphism left | 10:20 |
| → Eyes joined | 10:20 |
| → FabTG joined | 10:20 |
| → jftf joined | 10:22 |
| → mixandgo joined | 10:23 |
| ← jftf left | 10:26 |
| ← johnkevi_ left | 10:27 |
| ← teran left | 10:28 |
|
cornerman
| _ikke_: i hoped so, too. but apparently i doesnt :/ | 10:29 |
| ← gittish left | 10:30 |
| → teran_ joined | 10:30 |
| ← teran_ left | 10:30 |
| → teran_ joined | 10:31 |
| → rnsanchez_ joined | 10:32 |
| → SonikBoom joined | 10:33 |
| → cvanball joined | 10:33 |
| → sarkis joined | 10:35 |
| → alp82 joined | 10:37 |
| ← cvanball left | 10:38 |
| → Deseaus joined | 10:38 |
| → kriks joined | 10:39 |
| → foeniks joined | 10:39 |
| ← nabblet left | 10:39 |
| → moritzs joined | 10:40 |
| ← sarkis left | 10:40 |
| → _rnsanchez_ joined | 10:40 |
| → vyadhaka joined | 10:40 |
| ← treehug88 left | 10:40 |
| ← teran_ left | 10:40 |
| → teran joined | 10:40 |
| ← rnsanchez_ left | 10:41 |
| ← Deseaus left | 10:42 |
| → rnsanchez_ joined | 10:43 |
| User458764 → User458764_NotHe | 10:43 |
|
dcpc007
| hello | 10:44 |
|
| i start git recently, and have 1.7.1 on my new computers. I see that 2.0 released. Is there many important change ? | 10:44 |
| → mellernoia joined | 10:44 |
| ← _rnsanchez_ left | 10:44 |
|
dcpc007
| i start to learn (and learn to friend) with my config, don't want to loose too much time on obsolet version/methods | 10:45 |
| → bakflash joined | 10:45 |
| ← kai___ left | 10:46 |
|
viscera
| dcpc007: where are you seeing 2.0? | 10:46 |
| User458764_NotHe → User458764 | 10:46 |
|
BinGOs
| topic for one ^^ | 10:46 |
|
viscera
| BinGOs: i just saw that, but on their site i see 1.9.3 as latest source release | 10:47 |
|
| maybe it's UA detecting that i'm on windows and showing me the latest windows source release? | 10:47 |
|
dcpc007
| http://www.phoronix.com/scan.php?page=news_item&px=MTcwMzc | 10:47 |
|
viscera
| or maybe the website maintainers are behind | 10:47 |
|
dcpc007
| http://lkml.iu.edu/hypermail/linux/kernel/1405.3/02592.html | 10:48 |
| ← foeniks left | 10:48 |
|
BinGOs
| if you mean git-scm.com, yes it shows 1.9.3 as the latest for me too. | 10:48 |
|
viscera
| BinGOs: that's the official site, no? | 10:48 |
| ← dangerou_ left | 10:48 |
| → dangerousdave joined | 10:48 |
|
osse
| windows builds tend to lag with a couple of days/weeks | 10:48 |
|
dcpc007
| yep just a delay for public official release | 10:48 |
|
BinGOs
| not "official" official I gather. | 10:49 |
| → foeniks joined | 10:49 |
|
osse
| in any case, git-scm.com should show 2.0.0, not 1.9.3 :P | 10:49 |
|
dcpc007
| next week will if info is true | 10:49 |
|
| https://kernel.googlesource.com/pub/scm/git/git here are the sources since 2 days | 10:50 |
|
viscera
| osse: still 1.9.3 here | 10:50 |
|
osse
| viscera: that was my point | 10:50 |
|
viscera
| right | 10:51 |
|
| i see | 10:51 |
| ← Flowinho left | 10:51 |
| → fevon joined | 10:52 |
| → aspiers_ joined | 10:52 |
| → m0viefreak joined | 10:52 |
| → Macaveli joined | 10:52 |
| ← Macaveli left | 10:53 |
| ← foeniks left | 10:53 |
| → xobb joined | 10:54 |
| → deuti joined | 10:54 |
| ← Zoddo left | 10:54 |
| → maxorator joined | 10:54 |
| → ferreum158 joined | 10:55 |
| → gua_ould joined | 10:55 |
| ← ferreum left | 10:55 |
| → mikey85 joined | 10:57 |
|
mikey85
| if anyone has a network let's collaborate. thank you :) | 10:58 |
| ← mikey85 left | 10:58 |
| → davividal joined | 11:00 |
| ← davividal left | 11:01 |
| → ilmgb joined | 11:01 |
| ← intellix left | 11:01 |
| → davividal joined | 11:01 |
| → joelm_ joined | 11:01 |
| joelm_ → joelm | 11:02 |
| → robarelli joined | 11:02 |
| → JDHawke2 joined | 11:03 |
| → Sonderblade joined | 11:03 |
| ← JDHawke left | 11:04 |
| → Marina1 joined | 11:06 |
| ← robarelli left | 11:07 |
| ← hgl left | 11:10 |
| ← pretty_function left | 11:11 |
| → hgl joined | 11:13 |
| → Exio4 joined | 11:13 |
| → dkpi joined | 11:14 |
| → amigojapan joined | 11:16 |
| ← leeN left | 11:18 |
| ← fevon left | 11:19 |
| → foeniks joined | 11:19 |
| → bartman`` joined | 11:21 |
| ← woollyams left | 11:21 |
| → nnyk_ joined | 11:21 |
| ← jceb left | 11:21 |
| → woollyams joined | 11:23 |
| ← mellernoia left | 11:25 |
| → LeMike joined | 11:26 |
| → vtunka joined | 11:27 |
| ← Marina1 left | 11:28 |
| → Marina1 joined | 11:28 |
| → workerbeetwo joined | 11:30 |
| ← woollyams left | 11:30 |
| → Anders_J joined | 11:31 |
|
workerbeetwo
| Hi. Id like to force a group of developers to enter a password on push to a network's repository. How would you guys realize this? | 11:31 |
| → dobalina joined | 11:32 |
| → tgkokk joined | 11:32 |
| ← LeMike left | 11:33 |
| → lithiumjake joined | 11:33 |
|
moritz
| workerbeetwo: not at all | 11:33 |
| → jordonbi` joined | 11:33 |
| ← Mong0 left | 11:33 |
| ← Sander_ left | 11:33 |
|
moritz
| workerbeetwo: entering a password is client side, but you can't control the client | 11:33 |
|
| workerbeetwo: so, rather do something sensible, like normal authentication over SSH | 11:34 |
| → Plouj- joined | 11:34 |
| ← amigojapan left | 11:34 |
| → cvanball joined | 11:34 |
| → amigojapan joined | 11:35 |
|
workerbeetwo
| I could establish some file access rights. currently only root has access making each developer enter the root password, which a bad idea either. | 11:36 |
| → sarkis joined | 11:36 |
|
moritz
| !gitolite exists | 11:36 |
|
gitinfo
| Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/ | 11:36 |
| → Mong0 joined | 11:37 |
| ← amigojapan left | 11:37 |
| ← Mong0 left | 11:38 |
| → amigojapan joined | 11:38 |
| → PeterBooker joined | 11:39 |
| ← cvanball left | 11:39 |
| ← amigojapan left | 11:40 |
| ← sarkis left | 11:40 |
| → amigojapan joined | 11:41 |
| ← stamina left | 11:44 |
| → danecando joined | 11:44 |
| Eyes → Eyess | 11:45 |
| → freimatz joined | 11:45 |
| → Celm joined | 11:46 |
| User458764 → User458764_NotHe | 11:47 |
| → TCubed joined | 11:48 |
| → Deseaus joined | 11:48 |
| → SprkDev joined | 11:48 |
| → GrupoCITEC joined | 11:49 |
|
GrupoCITEC
| hi | 11:49 |
|
gitinfo
| GrupoCITEC: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 11:49 |
| ← TCubed left | 11:49 |
|
SprkDev
| how do I switch to another branch? | 11:49 |
|
osse
| Is there a reliable way of checking whether a script was invoked from Git itself? | 11:49 |
|
| SprkDev: git checkout branch | 11:49 |
| ← sanjayu left | 11:50 |
| → King_Hual joined | 11:50 |
|
_ikke_
| osse: Instead of? | 11:50 |
| ← bakflash left | 11:50 |
|
_ikke_
| invoked by a user | 11:50 |
|
osse
| yes | 11:50 |
| → CheckDavid joined | 11:50 |
| ← Celm left | 11:50 |
|
_ikke_
| I guess checking parent processes | 11:51 |
|
SprkDev
| but won't that overwrite my local disk. I just want to switch without anychanges. | 11:51 |
|
GrupoCITEC
| I want to revert a previous commit, but I want that revert patch be applied to the working copy, without creating a new commit. Is that possible? how? | 11:51 |
|
_ikke_
| SprkDev: what do you want to achieve? | 11:51 |
| → sanjayu joined | 11:51 |
| → TCubed joined | 11:52 |
| ← Deseaus left | 11:52 |
| ← User458764_NotHe left | 11:52 |
|
osse
| SprkDev: so you checkout branch2, but keep the files on disk like they are in branch1? In Git terms that doesn't make much sense | 11:52 |
|
GrupoCITEC
| revert then amend maybe? | 11:52 |
|
osse
| GrupoCITEC: revert --no-commit | 11:52 |
| → Kayra joined | 11:52 |
| → nabblet joined | 11:52 |
| ← TCubed left | 11:52 |
|
GrupoCITEC
| osse, thanks :D perfekt | 11:52 |
| → nepochal joined | 11:53 |
|
SprkDev
| I had switched it to master coz I needed to commit something. But I just want to switch back to my localdisk, and then commit local stuff to repo branch. | 11:53 |
|
osse
| !loat | 11:53 |
|
_ikke_
| GrupoCITEC: That's why asking what you want to achieve much better than asking for an imagined sollution | 11:53 |
|
gitinfo
| [!float] If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution. | 11:53 |
| → EminenceHC joined | 11:53 |
|
_ikke_
| GrupoCITEC: Sorry, confused user | 11:54 |
|
GrupoCITEC
| _ikke_, np | 11:54 |
|
osse
| SprkDev: just switch back. if Git needs to overwrite some files in an unrecoverable way it will abort and let you know | 11:54 |
| → intellix joined | 11:55 |
|
osse
| _ikke_: I made a dummy script that does nothing but 'env'. the only difference was the --exec-path addition to PATH | 11:56 |
| → Zoddo joined | 11:56 |
| ← tgkokk left | 11:58 |
| ← amigojapan left | 11:58 |
| ← EminenceHC left | 11:58 |
| → amigojapan joined | 11:59 |
|
osse
| _ikke_: If I invoke the script directly versus invoking it via git difftool there are differences I can use | 11:59 |
|
| (I really wanted to check whether difftool was used or not) | 12:00 |
| ← jordonbi` left | 12:00 |
| → jordonbi` joined | 12:00 |
| ← kevinb left | 12:00 |
| → ckyle joined | 12:00 |
| ← amigojapan left | 12:01 |
| → Dynetrekk joined | 12:01 |
| ← Dynetrekk left | 12:01 |
| → Dynetrekk joined | 12:01 |
| ← Dynetrekk left | 12:01 |
| → Dynetrekk joined | 12:02 |
|
Dynetrekk
| howdy, how can I get git to stop adding ^M in windows? | 12:02 |
| → amigojapan joined | 12:02 |
|
Dynetrekk
| in general, don't make any whitespace changes - I want to be able to consciously handle it myself | 12:02 |
| → lsiv568 joined | 12:02 |
| → hide joined | 12:02 |
| → kevinb joined | 12:03 |
| → robarelli joined | 12:03 |
| ← foeniks left | 12:03 |
| ← amigojapan left | 12:04 |
| → tgkokk joined | 12:04 |
| ← tgkokk left | 12:04 |
| → cannonball joined | 12:05 |
| → tgkokk joined | 12:05 |
|
m0viefreak
| Dynetrekk: you can set 'git config core.whitespace cr-at-eol' | 12:05 |
|
| so the don't show up in diffs | 12:05 |
|
Dynetrekk
| maybe I should explain a bit more. I'm using cygwin on windows but git-bash since cygwin-git is old/windows-partly-incompatible. | 12:06 |
| → looper joined | 12:06 |
|
Dynetrekk
| so when I "git clone" my config files on a linux box, I get ^M errors, since git-bash puts ^M all over on clone | 12:06 |
|
| (and pull, I guess) | 12:06 |
| ← Xethron left | 12:06 |
|
m0viefreak
| maybe git bash sets up core.autocrlf | 12:06 |
| → allay joined | 12:06 |
| ← lithiumjake left | 12:06 |
|
Dynetrekk
| m0viefreak: could well be | 12:06 |
| → allay_ joined | 12:07 |
|
Dynetrekk
| m0viefreak: ah... I have one .gitconfig in cygwin $HOME, one in git-bash $HOME. way to shoot mself in the foot | 12:07 |
| → Xethron joined | 12:08 |
| ← Xethron left | 12:08 |
| → Xethron joined | 12:08 |
| ← robarelli left | 12:08 |
|
m0viefreak
| git builds fine on cygwin by the way, so you can just build a recent copy yourself and you don't need to use git-bash | 12:08 |
|
Dynetrekk
| m0viefreak: ah... maybe I should do that. I'm changing computers soon, so I'd like to not do it right now though | 12:09 |
| → h0bbit joined | 12:10 |
| ← Kayra left | 12:11 |
| ← allay left | 12:11 |
| ← allay_ left | 12:12 |
| → JustMozzy joined | 12:13 |
| ← daito left | 12:13 |
| → jatt joined | 12:16 |
| ← jatt left | 12:16 |
| → jatt joined | 12:16 |
| ← ayaz left | 12:16 |
| → jnavila joined | 12:16 |
| → squentin joined | 12:18 |
| ← moritzs left | 12:18 |
| → sq-one joined | 12:19 |
| → bandroidx joined | 12:20 |
| → freestyl3r joined | 12:21 |
| → carandraug joined | 12:22 |
| ← sall left | 12:22 |
| → jluc joined | 12:24 |
| → jftf joined | 12:24 |
| ← jatt left | 12:25 |
| ← beautifulmind left | 12:27 |
| → thevishy joined | 12:27 |
| → woollyams joined | 12:28 |
| ← alp82 left | 12:29 |
| ← jftf left | 12:29 |
| → Deseaus joined | 12:29 |
| ← kevinb left | 12:30 |
| ← Dynetrekk left | 12:31 |
| → delight joined | 12:32 |
| → starkhalo joined | 12:32 |
| → cvanball joined | 12:35 |
| → g0bl1n joined | 12:35 |
| → kevinb joined | 12:36 |
| → cvanball_ joined | 12:36 |
| → sarkis joined | 12:37 |
| ← lsiv568 left | 12:37 |
| → dangerou_ joined | 12:37 |
| → lsiv568 joined | 12:37 |
| ← lite_ left | 12:39 |
| → RegEchse joined | 12:39 |
| → ilmgb_ joined | 12:39 |
| ← dangerousdave left | 12:40 |
| ← cvanball left | 12:40 |
| → Error404NotFound joined | 12:40 |
| → tmcmahon joined | 12:40 |
| ← sarkis left | 12:41 |
| ← ilmgb left | 12:42 |
| ← woollyams left | 12:42 |
| ← SprkDev left | 12:42 |
| → mribeirodantas joined | 12:42 |
| → jceb joined | 12:43 |
| → Kayra joined | 12:43 |
| → mizu_no_oto joined | 12:47 |
| ← bandroidx left | 12:47 |
| → gittish joined | 12:47 |
| → matteo joined | 12:48 |
| → bandroidx joined | 12:48 |
| ← GT4066 left | 12:48 |
| → GT4066 joined | 12:49 |
| → DarkStompy joined | 12:50 |
| → mmitchell joined | 12:51 |
| ← tmcmahon left | 12:51 |
| ← delight left | 12:52 |
| → geekbri joined | 12:53 |
| → yacks joined | 12:54 |
| → paulweb515 joined | 12:56 |
| → Noldorin joined | 12:57 |
| → acharlieh joined | 12:57 |
| gitinfo set mode: +v | 12:58 |
| → Naab joined | 12:58 |
| ← nabblet left | 12:59 |
| ← jceb left | 13:01 |
| ← paulweb515 left | 13:02 |
| → qwyeth joined | 13:03 |
| → ciampix joined | 13:04 |
| → robarelli joined | 13:04 |
| ← hkon_ left | 13:04 |
| → ferreum768 joined | 13:05 |
| ← ferreum158 left | 13:05 |
| ← teran left | 13:05 |
| → teran joined | 13:05 |
| → moritzs joined | 13:06 |
| → teran_ joined | 13:06 |
| → mewm joined | 13:07 |
| → m0ltar joined | 13:07 |
| → ErKa joined | 13:08 |
| ← W0rmDr1nk left | 13:08 |
| ← robarelli left | 13:08 |
| ← Xethron left | 13:09 |
| ← teran left | 13:10 |
| → bitkiller joined | 13:10 |
| → Dougie187 joined | 13:10 |
| → a-l-e joined | 13:11 |
| ← JustMozzy left | 13:12 |
| ← sanjayu left | 13:13 |
|
RegEchse
| hello everyone. i just lost an hour or so trying to figure out what the heck is wrong with my git repo because i wanted to reproduce the "merge=ours via gitattributes" example at the end of http://git-scm.com/book/en/Customizing-Git-Git-Attributes . I finally came across this ( http://stackoverflow.com/q/5465122#comment6197298_5465122 ) comment "I looked through the git source and I can't see how merge=ours | 13:13 |
| → cornerma1 joined | 13:13 |
|
RegEchse
| ever worked." and now i'm asking: Can anyone point me to any reason at all why this (apparently not working) "solution" is still contained in the documentation on the official git hp!? | 13:13 |
| ← ilmgb_ left | 13:13 |
| → Kicer86 joined | 13:13 |
| → AaronMT joined | 13:14 |
| → Xethron joined | 13:15 |
| ← frobrob_ left | 13:15 |
| ← Xethron left | 13:15 |
| → Xethron joined | 13:15 |
| → paulweb515 joined | 13:16 |
| → zivester joined | 13:16 |
| → cjwilburn joined | 13:16 |
| ← cornerman left | 13:16 |
| → W0rmDr1nk joined | 13:17 |
| → salochinBD joined | 13:17 |
| → WormDrink joined | 13:17 |
| ← maveneag_ left | 13:17 |
| ← ghostlines left | 13:18 |
| → FunkyAss joined | 13:19 |
| → eletuchy_ joined | 13:22 |
| → FortySix2 joined | 13:22 |
| → Mitchbones joined | 13:22 |
| → maveneagle joined | 13:23 |
| ← FortySix2 left | 13:23 |
| ← maveneagle left | 13:23 |
| → JerryT joined | 13:23 |
| → ilmgb joined | 13:24 |
| ← Xethron left | 13:24 |
| → FortySix2 joined | 13:25 |
| → Xethron joined | 13:25 |
| → howitdo joined | 13:25 |
| ← howitdo left | 13:25 |
| → howitdo joined | 13:25 |
| ← JerryT left | 13:26 |
| ← eletuchy_ left | 13:26 |
| ← mizu_no_oto left | 13:26 |
| ← salochinBD left | 13:26 |
| → jceb joined | 13:26 |
| → JerryT joined | 13:26 |
| ← cjwilburn left | 13:27 |
| → dreiss joined | 13:27 |
| → whatitdo joined | 13:27 |
| → cjwilburn joined | 13:28 |
| → ehmatthes joined | 13:28 |
| → jcarouth joined | 13:29 |
| → cjwilbur_ joined | 13:30 |
| ← GrupoCITEC left | 13:30 |
| ← intellix left | 13:30 |
| ← kevinb left | 13:31 |
|
Dougie187
| Here's a weird git-svn question.... Is there a way to do a subtree merge esq thing with something you bring in from git-svn? | 13:31 |
| → mjsmith2 joined | 13:31 |
|
Dougie187
| basically, I have like 6 svn repos. And I want to try to combine them all into one repo (and directory). | 13:31 |
| ← howitdo left | 13:32 |
| → polyzen joined | 13:32 |
| → Fang0716 joined | 13:32 |
| → kevinb joined | 13:33 |
|
Dougie187
| but I need to only combine subdirectories of each of the svn repos. | 13:33 |
| → beautifulmind joined | 13:33 |
| ← cjwilburn left | 13:33 |
| ← Sound left | 13:37 |
| → luc__ joined | 13:38 |
| ← acharlieh left | 13:39 |
| ← JDHawke2 left | 13:39 |
| → lite_ joined | 13:39 |
| → CKyle_ joined | 13:39 |
| → JDHawke joined | 13:42 |
| → esr joined | 13:42 |
| → position88 joined | 13:43 |
| → leochill joined | 13:43 |
| ← lite_ left | 13:44 |
|
esr
| Requesting help: I want tp pull a merge request from gitorious but leave it as an unmerged branch rather than immediately crearting a merge commit. | 13:44 |
| → ghostlines joined | 13:44 |
| → fatalhalt joined | 13:45 |
| → jftf joined | 13:45 |
|
HedgeMage
| esr: IDK, I haven't used gitorious much...but FYI #gitorious exists. | 13:45 |
|
esr
| HedgeMage: Thanks, I'll go there. | 13:46 |
|
HedgeMage
| :) | 13:46 |
| ← DarkStompy left | 13:46 |
|
HedgeMage
| esr: Stay out of trouble...or, failing that, stick to trouble I'll find entertaining. ;) | 13:46 |
| → allay joined | 13:48 |
| → allay_ joined | 13:48 |
|
esr
| HedgeMage: Er, when have you ever actually seen me to be in any trouble you *didn't* find entertaining? | 13:48 |
| ← tgkokk left | 13:48 |
| → Diemuzi joined | 13:48 |
| gitinfo set mode: +v | 13:49 |
| → tgkokk joined | 13:49 |
| ← dreiss left | 13:50 |
|
| HedgeMage fails to come up with a specific instance | 13:50 |
| ← beautifulmind left | 13:50 |
|
HedgeMage
| We're probably good, then ;) | 13:50 |
|
grawity
| hmm doesn't Gitorious export all pull requests as refs | 13:51 |
|
| seems like it does, so you could fetch refs/merge-requests/1 | 13:51 |
| ← CheckDavid left | 13:52 |
| → DolphinDream joined | 13:53 |
|
grawity
| as in, `git fetch origin refs/merge-requests/1:merge-1` | 13:53 |
| ← tgkokk left | 13:53 |
| → Ankhers joined | 13:53 |
|
| grawity often configures Github repos to always fetch refs/pull/*/head as branches | 13:54 |
| → Xethron_ joined | 13:54 |
| ← moritzs left | 13:55 |
| → gertptr joined | 13:58 |
| → intellix joined | 13:58 |
| ← vyadhaka left | 13:58 |
| ← Xethron left | 13:58 |
| → mattcen joined | 13:58 |
| → Novitsh_ joined | 13:59 |
| → nicoulaj joined | 13:59 |
| → IrishPrime joined | 14:01 |
| → harish joined | 14:02 |
| ← mjsmith2 left | 14:03 |
| → EminenceHC joined | 14:03 |
| → mjsmith2 joined | 14:04 |
| ← gertptr left | 14:05 |
| → robarelli joined | 14:05 |
| ← ilmgb left | 14:07 |
| → eliasr joined | 14:08 |
| ← EminenceHC left | 14:09 |
| ← robarelli left | 14:09 |
| ← FortySix2 left | 14:09 |
| ← zivester left | 14:11 |
| ← ckyle left | 14:11 |
| → mizu_no_oto joined | 14:12 |
| ← jluc left | 14:12 |
| ← ErKa left | 14:12 |
| → GrupoCITEC joined | 14:12 |
| → DanGreaves joined | 14:13 |
| → FortySix2 joined | 14:13 |
| ← Error404NotFound left | 14:14 |
| → kermit joined | 14:14 |
| ← mixandgo left | 14:15 |
| → V1TSK joined | 14:17 |
| → JDHawke2 joined | 14:18 |
| ← JDHawke left | 14:19 |
| ← squentin left | 14:19 |
| → likewhoa joined | 14:20 |
| → joki joined | 14:20 |
| → squentin_ joined | 14:20 |
| squentin_ → squentin | 14:20 |
| → hkon_ joined | 14:21 |
| → lethjakman joined | 14:22 |
| ← GT4066 left | 14:22 |
| ← intellix left | 14:23 |
| → ascarter joined | 14:23 |
| ← gittish left | 14:23 |
| → milkohol joined | 14:23 |
| → noyb joined | 14:24 |
| → MarionDaly joined | 14:25 |
| ← hkon_ left | 14:26 |
| → _Vi joined | 14:26 |
| ← mennea left | 14:27 |
| → leeN joined | 14:27 |
| ← gua_ould left | 14:27 |
| → sd1074 joined | 14:27 |
| ← MarionDaly left | 14:27 |
| → JDHawke joined | 14:27 |
| → eletuchy joined | 14:27 |
| ← leeN left | 14:27 |
| ← JDHawke2 left | 14:27 |
| → nodentify joined | 14:28 |
| → MarionDaly joined | 14:28 |
| → gua_ould joined | 14:28 |
| ← teran_ left | 14:29 |
| ← milkohol left | 14:29 |
| → leeN joined | 14:29 |
| ← h0bbit left | 14:29 |
| → _pr0t0type_ joined | 14:29 |
| → mkjackson joined | 14:29 |
| → gathan joined | 14:30 |
|
mkjackson
| hey good people, I was wondering... if I force add a file into a repo will git start observing changes to it or do I have to continue forcing changes up? | 14:31 |
|
HedgeMage
| mkjackson: "force add" ?? | 14:31 |
| → dsabanin joined | 14:31 |
|
Eugene
| Dougie187 - !import and then !beer | 14:32 |
|
gitinfo
| Dougie187: Importing lots of revisions from other VCSes(via git-svn in particular) can take a long time. If this will be a one-time switch you should consider "throwing out" all of your old history and making a simple initial commit from a tarball. | 14:32 |
|
| Dougie187: Beer! It's what's for dinner! | 14:32 |
| → nkouevda joined | 14:32 |
|
HedgeMage
| hey, Eugene | 14:32 |
| → JoeAngel_ joined | 14:32 |
| ← kcj left | 14:32 |
|
Eugene
| hey, me | 14:32 |
| → Elek101 joined | 14:33 |
| → ilmgb joined | 14:33 |
|
osse
| mkjackson: once it's added then you can proceed as usual | 14:33 |
|
| HedgeMage: add --force | 14:33 |
| ← phanimahesh left | 14:33 |
|
HedgeMage
| ahh | 14:33 |
| → mennea joined | 14:34 |
| → snql joined | 14:34 |
|
| HedgeMage did not know such a thing existed, wonders what it's for...overcoming ignores? | 14:34 |
|
osse
| yup | 14:34 |
| ← FortySix2 left | 14:34 |
|
mkjackson
| i <3 git | 14:34 |
|
Eugene
| Yeah. ignore tmp/, then create & force-add tmp/.placeholder so it will be created on-checkout. | 14:35 |
|
mkjackson
| can't tell you how much I have to defend this beast to the incumbent SVN crowd at my new company | 14:35 |
| ← Mitchbones left | 14:35 |
|
Eugene
| Or have a policy of ignoring all .png .jpg .gif, then add in the one piece of graphic on your website that never changes, etc. | 14:35 |
| → JustMozzy joined | 14:36 |
| → abak joined | 14:36 |
| → fish_ joined | 14:37 |
|
fish_
| hi | 14:37 |
|
gitinfo
| fish_: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 14:37 |
| ← JerryT left | 14:38 |
| → acharlieh joined | 14:38 |
| → shaggy_ratte joined | 14:38 |
| ← ascarter left | 14:38 |
| → kishanio joined | 14:39 |
|
fish_
| can I access the actual pushed changes in a pre-receive hook? I guess not? | 14:39 |
|
osse
| yes | 14:39 |
|
| you can' | 14:39 |
|
fish_
| osse: oh cool, so get executed in some tempoary working copy which all changes already included? | 14:40 |
|
osse
| fish_: no, there is no working copy at all | 14:41 |
|
| if you want one you have to create it | 14:41 |
|
| git archive does that job fairly well | 14:41 |
| ← abak left | 14:41 |
| → sarkis joined | 14:42 |
| ← squentin left | 14:42 |
| ← bandroidx left | 14:42 |
| gitinfo set mode: +v | 14:42 |
|
gathan
| My company has gitweb that lists all its repos across all teams. How do I get such a list? | 14:42 |
|
fish_
| osse: ah cool, thanks. will try that | 14:43 |
| ← Sonderblade left | 14:43 |
| → bandroidx joined | 14:43 |
| → mlimaloureiro joined | 14:44 |
|
mkjackson
| does a bare repo require a HEAD entry? | 14:44 |
| → squentin joined | 14:44 |
|
grawity
| I don't think so | 14:45 |
|
osse
| gathan: basically what gitweb does is scan (recursively I think) under a certain dir which you tell gitweb contains all of your repos. there's no magic other than that. | 14:45 |
|
grawity
| though it is used when cloning for that repo, to suggest the initially-checked-out branch | 14:45 |
| → treehug88 joined | 14:45 |
| → teran joined | 14:45 |
|
mkjackson
| grawity: good stuffs... thanks! | 14:46 |
|
gathan
| <osse>Thanks for that. I did go through the gitweb docs and they seem to tell the same thing. I don't think my company admins would provide that because this tool isn't really planned on a a large scale (But, I would want to). So how do I really go about it. | 14:46 |
|
osse
| gathan: now I'm not sure what you're asking anymore | 14:47 |
|
| how do you scan under a dir for valid git-repos ? | 14:48 |
|
gathan
| Simply get the list of all repos. | 14:48 |
|
offby1
| gathan: locate /.git | egrep '\.git$' | sort | uniq | 14:48 |
| ← teran left | 14:48 |
|
milki
| gitolite info or gitolite list-phys-repos | 14:48 |
|
| ! | 14:48 |
|
gathan
| That would require git on the system where I host this, right? | 14:49 |
| → tvw joined | 14:49 |
| ← Xethron_ left | 14:50 |
|
osse
| gathan: "get the list of all repos" you say. From where? Will you be able to run the command/script to generate the list in local shell? | 14:50 |
|
gathan
| I have access to a machine that has a working copy of about 25 repos. | 14:51 |
|
| I am planning to develop a php tool that performs some custom ops on all the 25 repos. | 14:52 |
| ← jordonbi` left | 14:52 |
| → freestyler7 joined | 14:52 |
| → tranzfuse joined | 14:52 |
| → jordonbi` joined | 14:52 |
| → sertac joined | 14:52 |
| → otter768 joined | 14:52 |
| ← jordonbi` left | 14:52 |
| ← sertac left | 14:52 |
| → thedodd joined | 14:52 |
|
osse
| gathan: search recursively for directories ending in .git or files named HEAD. Wherever you find such things, run git rev-parse --verify HEAD | 14:52 |
|
thegorn
| gathan: another option is just to scrape gitweb if you don't have local access | 14:53 |
|
gathan
| Thanks for that. | 14:53 |
|
| gitweb would also be fine. So ping that page and parse? | 14:54 |
|
osse
| oh you already have gitweb running? I thought you wanted an alternative | 14:54 |
|
thegorn
| yea, there's various libraries for python, perl, etc.. that simplify the scraping process, but to some extent you could practically just do it with curl grep and sed | 14:54 |
| ← freestyl3r left | 14:55 |
|
gathan
| Thanks. Wonderful people. I will continue from these leads. Thanks again. | 14:55 |
| ← luc__ left | 14:55 |
|
gathan
| osse: gitweb is running. I was initially trying out commands | 14:55 |
|
osse
| the project list on gitweb seems to be in a nice HTML table. So it should be relatively easy with some XML parsing stuff | 14:55 |
|
gathan
| Okay. Thanks. Will consider that as well. | 14:56 |
|
osse
| find the contents of the cell in each row of the table with id "foo" or something like that | 14:56 |
| → pweaver_ joined | 14:56 |
|
osse
| *first cell | 14:56 |
| → Polymorphism joined | 14:56 |
| ← shaggy_ratte left | 14:57 |
| → dreiss joined | 14:58 |
| ← VictorBjelkholm left | 14:58 |
| ← SittingShiva left | 14:59 |
| ← mlimaloureiro left | 15:00 |
| → aberrant joined | 15:00 |
| ← aberrant left | 15:01 |
| → aberrant joined | 15:02 |
| ← noyb left | 15:02 |
| ← Eyess left | 15:03 |
| → model joined | 15:04 |
| → Eyes joined | 15:04 |
| ← kishanio left | 15:04 |
| ← nodentify left | 15:05 |
| → stefy669 joined | 15:05 |
| ← stefy669 left | 15:05 |
| → robarelli joined | 15:06 |
| → dik_dak joined | 15:07 |
| → EminenceHC joined | 15:08 |
| → Xethron joined | 15:09 |
| → FortySix2 joined | 15:09 |
| ← robarelli left | 15:09 |
| → robarelli joined | 15:09 |
| ← gua_ould left | 15:10 |
| ← freimatz left | 15:10 |
| → jmpp_ joined | 15:10 |
| ← jmpp_ left | 15:10 |
| → jmpp_ joined | 15:10 |
| ← Zoddo left | 15:12 |
| ← EminenceHC left | 15:13 |
| ← treehug88 left | 15:13 |
| → manithree joined | 15:13 |
| → milkohol joined | 15:14 |
| ← FortySix2 left | 15:14 |
| → Zoddo joined | 15:14 |
| → beyondcreed joined | 15:15 |
| ← beyondcreed left | 15:15 |
| → beyondcreed joined | 15:15 |
| ← joelm left | 15:16 |
| → joelm joined | 15:16 |
| → FortySix2 joined | 15:17 |
| → nnyk joined | 15:18 |
| ← milkohol left | 15:18 |
| ← model left | 15:18 |
| → model joined | 15:19 |
| ← Kayra left | 15:19 |
| → ngladitz joined | 15:21 |
| → Gamecubic joined | 15:21 |
| ← nnyk_ left | 15:21 |
| → hyp3rkyd joined | 15:23 |
| → ErKa joined | 15:24 |
| → sinkensabe joined | 15:24 |
|
hyp3rkyd
| can someone help me with a foolish issue ? | 15:25 |
|
| I can't manage to add a directory no matter what I've tried | 15:25 |
|
grawity
| is it empty? | 15:25 |
| → chipotle joined | 15:25 |
| ← gathan left | 15:25 |
|
hyp3rkyd
| it's a wordpress website and I am pushing it to bitbucket | 15:26 |
|
| then I pull it to my VPS | 15:26 |
|
| it's a test environment | 15:26 |
|
| everything gets pushed except a theme folder | 15:26 |
| → zumba_addict joined | 15:26 |
|
lov
| 11:25:47 < grawity> is it empty? | 15:26 |
|
hyp3rkyd
| I checked for hidden files and saw a ".git" folder which I deleted but nothing changed. I tried with git add directory . and git add . | 15:27 |
|
| nope | 15:27 |
|
| it's full of files | 15:27 |
|
lov
| ... :( | 15:27 |
|
| yeah, that .git folder had all of your metadata. | 15:27 |
|
hyp3rkyd
| I googled a lot and I found only about empty folders | 15:27 |
|
lov
| yeah. | 15:27 |
|
| ok, so. | 15:27 |
|
hyp3rkyd
| it was a .git inside this folder | 15:27 |
|
lov
| was it a submodule or anything? | 15:27 |
|
grawity
| I think Git considers the directory a submodule in that case | 15:28 |
|
hyp3rkyd
| the tree is wordpress\wp-content\themes\theme | 15:28 |
|
grawity
| (being listed in .gitmodules isn't a requirement) | 15:28 |
|
| lov shrugs | 15:28 |
|
hyp3rkyd
| my .git installation is in /wordpress | 15:28 |
|
| lov goes back to work | 15:28 |
| → MattMaker joined | 15:28 |
|
hyp3rkyd
| I am not familiar with submodules... I 've never used them | 15:28 |
| → Spamoi joined | 15:28 |
|
grawity
| a Git repo inside a Git repo is a "submodule" | 15:29 |
|
hyp3rkyd
| the only thing that might help is that on the bitbucket I can see the folder with a double folder icon | 15:29 |
| → jj995_ joined | 15:29 |
|
hyp3rkyd
| and next to it is a "→ 1e505048b9d5 [1e505048b9d5]" | 15:29 |
| → TheCommieDuck joined | 15:29 |
| → tgkokk joined | 15:29 |
| ← ilmgb left | 15:29 |
|
grawity
| yes, it's saying "this entry is a link to another Git repository, at commit 1e505" | 15:29 |
| → thiago joined | 15:30 |
|
hyp3rkyd
| grawity: thanks, that makes sense | 15:30 |
|
grawity
| hmm, you could remove it from the repo (`git rm --cached wp-content/themes/foo`) | 15:30 |
|
hyp3rkyd
| but is there any chance to save it ? | 15:30 |
|
grawity
| and then add it again (because you said you already got rid of the .git directory inside) | 15:30 |
| → armyriad joined | 15:30 |
| → Plouj joined | 15:30 |
| ← Spamoi left | 15:30 |
|
grawity
| if you hadn't, `git add wp-content/themes/foo/` – with the trailing slash – would still work | 15:30 |
|
| then, commit and push. | 15:30 |
|
| check `git status` of course | 15:31 |
| ← MattMaker left | 15:31 |
|
hyp3rkyd
| grawity: thanks, I am trying right now | 15:31 |
| → D9 joined | 15:31 |
|
jj995_
| is there a way to git squash my commits when I merge with master but somehow keep my detailed commit history (maybe in a branch that I don't push to origin)? | 15:31 |
|
hyp3rkyd
| I hope it won't alter the base directory | 15:31 |
| ← pweaver_ left | 15:31 |
|
TheCommieDuck
| Hey; one branch of a repo has uncommitted changes in some project files..and even with git checkout -- and git reset -- hard, they keep reappearing. (I'm using github for windows if that matters)..any idea? D: | 15:31 |
| → MattMaker joined | 15:31 |
| → mikeputnam joined | 15:32 |
| ← endiruna left | 15:32 |
| ← Plouj- left | 15:33 |
| ← DolphinDream left | 15:33 |
| ← model left | 15:33 |
| → irqq joined | 15:35 |
| ← workerbeetwo left | 15:36 |
|
Xethron
| Meh, giving a talk on git on Thursday, and now you go and release v2.0... | 15:37 |
|
lov
| sorry bro. | 15:38 |
|
hyp3rkyd
| grawity: that didn't work | 15:39 |
|
| grawity: how can I pull all branches? git pull --all ? | 15:39 |
| → King_Hual` joined | 15:40 |
| → ascarter joined | 15:40 |
| ← Fang0716 left | 15:40 |
| → il_ joined | 15:41 |
| ← jovy88 left | 15:42 |
| → kcj joined | 15:42 |
| → drjeats joined | 15:43 |
| → jovy88 joined | 15:43 |
| → gandalfcome joined | 15:43 |
| ← King_Hual left | 15:43 |
|
TheCommieDuck
| Oh, I think it's a spacing issue. >.> | 15:43 |
| ← tgkokk left | 15:43 |
|
hyp3rkyd
| grawity: ok the push/pull worked this time but it still displays as a submodule in bitbucket and not as a folder | 15:43 |
| → alexlindenlevy joined | 15:44 |
| → ilmgb joined | 15:45 |
|
TheCommieDuck
| Oh, even if I directly replace it with the one from the repo, it still says uncommitted. | 15:45 |
| ← matteo left | 15:45 |
| ← xobb left | 15:46 |
| → model joined | 15:46 |
|
osse
| TheCommieDuck: "uncommited", not "modified"? What does a plain git status say? | 15:47 |
| → xobb joined | 15:47 |
| → mishunika joined | 15:47 |
| → tyrannosaurus_be joined | 15:47 |
|
TheCommieDuck
| osse: Changes not staged for commit | 15:48 |
|
| oh, modified. | 15:48 |
|
osse
| TheCommieDuck: try 'git add <file>' and run git status again | 15:48 |
|
TheCommieDuck
| osse: modified in green. | 15:48 |
|
osse
| hooray | 15:48 |
|
| oohh, you want to remove changes, not commit them. haha. my bad | 15:49 |
|
| TheCommieDuck: git reset <file> should bring it back to red. git checkout -- <file> should remove it from the list entirely | 15:49 |
|
TheCommieDuck
| I've tried git reset --hard HEAD and git checkout --, but neither work | 15:49 |
|
osse
| ok, git diff then | 15:49 |
|
| maybe it's a permissions thing | 15:50 |
| → vijay13 joined | 15:50 |
| → foucist joined | 15:50 |
|
TheCommieDuck
| it's the entire file, so I wonder if it's windows messing with line endings automatically or something. | 15:50 |
| → nnyk_ joined | 15:50 |
| ← Bigus left | 15:50 |
|
foucist
| is there any editor for editing a file against it's git diff ? perhaps line based? like sometimes in a git diff, i want to keep HALF of the changes and discard the other changes ? | 15:51 |
| ← ascarter left | 15:51 |
|
osse
| foucist: git checkout -p file | 15:51 |
|
_ikke_
| foucist: git add -p | 15:51 |
|
foucist
| ah | 15:51 |
|
osse
| TheCommieDuck: that could be | 15:51 |
| ← ciampix left | 15:51 |
| ← drjeats left | 15:52 |
| → Royixc joined | 15:52 |
| → jackneill joined | 15:53 |
| gitinfo set mode: +v | 15:53 |
| → jaspertheghost joined | 15:53 |
|
mikeputnam
| is it possible to gitignore log files, but not break my running applications which require the logfile to be present? by gitignoring them, whenever i switch branches, i have to recreate the directory and empty log files :( | 15:53 |
|
jaspertheghost
| !deploy | 15:53 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 15:53 |
| ← CKyle_ left | 15:53 |
| ← cvanball_ left | 15:53 |
| ← nnyk left | 15:53 |
| ← Royixc left | 15:54 |
| ← ghostlines left | 15:54 |
|
TheCommieDuck
| osse: but it seems odd that it will do it automatically, even if I get the .zip from github and drag-drop the files. | 15:54 |
| → CKyle joined | 15:54 |
| → Royixc joined | 15:55 |
| → lsiv568_ joined | 15:55 |
|
osse
| agreed | 15:55 |
| ← vijay13 left | 15:55 |
| ← Royixc left | 15:55 |
|
mikeputnam
| ideally i could commit an empty log file as a placeholder, but from that point on ignore all future changes to that file. i'd always bring along my empty file when i switched branches. | 15:55 |
| → Royixc joined | 15:56 |
| → maestrojed joined | 15:56 |
| ← D9 left | 15:57 |
|
jaspertheghost
| in my deployment script prolly a good idea to change permissions of all my files before i copy them to there destination that way i dont mess up permissions of files i am exluding from my GIT source code but are in the web root? | 15:57 |
| → Junior joined | 15:57 |
| → vijay13 joined | 15:58 |
| ← FortySix2 left | 15:58 |
| ← vijay13 left | 15:58 |
| ← snql left | 15:58 |
| ← lsiv568 left | 15:58 |
| → Neozonz joined | 15:58 |
| → FortySix2 joined | 15:59 |
| ← lsiv568_ left | 15:59 |
| ← model left | 16:00 |
| ← FortySix2 left | 16:00 |
| ← cjwilbur_ left | 16:01 |
| ← JustMozzy left | 16:01 |
| → cjwilburn joined | 16:01 |
| ← sinkensabe left | 16:02 |
| ← jnavila left | 16:02 |
| → boombatower joined | 16:03 |
| ← mikecmpbll left | 16:03 |
| → Asandari joined | 16:04 |
| ← V1TSK left | 16:05 |
| → FortySix2 joined | 16:07 |
| ← Elek101 left | 16:07 |
| → kishanio joined | 16:08 |
| ← JDHawke left | 16:09 |
| → Ineentho joined | 16:09 |
| → JerryT joined | 16:10 |
| → hkon_ joined | 16:10 |
| → donmichelangelo joined | 16:10 |
| → JDHawke joined | 16:10 |
|
osse
| jaspertheghost: only you can answer that. | 16:10 |
|
| if you need to change permissions to make things work and make things safe, then do so. Git itself doesn't really care | 16:11 |
| → alxgnon joined | 16:11 |
| ← mizu_no_oto left | 16:12 |
| → EminenceHC joined | 16:12 |
| ← hyp3rkyd left | 16:13 |
| → Ineentho_ joined | 16:13 |
| ← Ineentho_ left | 16:14 |
| ← Ineentho left | 16:14 |
| → Ineentho joined | 16:14 |
| ← hkon_ left | 16:15 |
| → hebz0rl joined | 16:15 |
| → kadoban joined | 16:15 |
| ← nnyk_ left | 16:16 |
|
jaspertheghost
| if i chown own a directory and its UID is diff between systems wil it mess up | 16:16 |
|
| after rsyncing? | 16:16 |
| ← EminenceHC left | 16:17 |
|
osse
| jaspertheghost: no | 16:17 |
| → ojacobson joined | 16:17 |
| → imachuchu joined | 16:17 |
|
osse
| jaspertheghost: git only ever looks at the executable bit for the current user | 16:17 |
| ← thevishy left | 16:17 |
|
osse
| (or the owner of the file, not sure) | 16:17 |
|
jaspertheghost
| im not asking about git | 16:17 |
|
| im asking about rsync | 16:17 |
| → n-st joined | 16:17 |
|
osse
| oh. no idea. | 16:17 |
| ← Novitsh_ left | 16:17 |
|
osse
| #rsync | 16:17 |
| ← dreiss left | 16:18 |
| → wald0 joined | 16:18 |
| ← foucist left | 16:18 |
| → doitjay joined | 16:20 |
| → sinkensabe joined | 16:20 |
| → lithiumjake joined | 16:20 |
| → rath joined | 16:21 |
| → akushner joined | 16:21 |
| ← sinkensabe left | 16:21 |
| ← thedodd left | 16:21 |
| → sinkensabe joined | 16:22 |
| → thedodd joined | 16:23 |
|
jaspertheghost
| anyways i can chown a while direcotiry and exlcude a few subdirectories | 16:23 |
| ← Ineentho left | 16:23 |
| ← welly left | 16:24 |
| ← sinkensabe left | 16:26 |
| ← W0rmDr1nk left | 16:26 |
| ← kishanio left | 16:27 |
| → EminenceHC joined | 16:27 |
| ← hgl left | 16:27 |
| → lyakh joined | 16:27 |
| ← tvw left | 16:28 |
|
lyakh
| has "git request-pull" stopped working only for me?? errors out with "warn: Are you sure you pushed 'HEAD' there?" | 16:28 |
| → pweaver_ joined | 16:28 |
|
lyakh
| 2.0.0 currently | 16:29 |
|
osse
| well, are you? | 16:29 |
|
lyakh
| osse: I am | 16:29 |
| → User458764 joined | 16:30 |
| User458764 → User458764_NotHe | 16:30 |
| User458764_NotHe → User458764 | 16:30 |
| User458764 → User458764_NotHe | 16:30 |
| User458764_NotHe → User458764 | 16:30 |
| User458764 → User458764_NotHe | 16:30 |
|
lov
| ... >:( | 16:30 |
| → imachuch1 joined | 16:31 |
|
lyakh
| osse: it only works if I explicitly specify the commit ID of the last commit as "end," which should be optional | 16:32 |
| ← imachuchu left | 16:34 |
| ← carandraug left | 16:34 |
| ← Zoddo left | 16:35 |
| ← Neozonz left | 16:37 |
| → Neozonz joined | 16:37 |
| ← Neozonz left | 16:37 |
| → Neozonz joined | 16:37 |
| → maslowbeer joined | 16:37 |
|
lyakh
| cool. 1.9.3 works | 16:37 |
| → nnyk_ joined | 16:39 |
| ← roymiloh left | 16:39 |
| ← Polymorphism left | 16:39 |
| ← qwyeth left | 16:40 |
| → Polymorphism joined | 16:41 |
| → Spami joined | 16:42 |
| → revyd joined | 16:43 |
| → Asiajey joined | 16:43 |
| → edux joined | 16:43 |
| → BuSerD joined | 16:44 |
| ← boombatower left | 16:45 |
| → kishanio joined | 16:45 |
| ← CKyle left | 16:45 |
| → noyb joined | 16:45 |
| ← chipotle left | 16:45 |
| ← ilmgb left | 16:47 |
| → akim_ joined | 16:47 |
| ← BuSerD left | 16:48 |
| → qwyeth joined | 16:48 |
| → tonythomas joined | 16:49 |
| ← kishanio left | 16:50 |
| → treehug88 joined | 16:51 |
| ← maestrojed left | 16:51 |
| → teran joined | 16:51 |
| → jnavila joined | 16:51 |
| → maestrojed joined | 16:52 |
| ← tyrannosaurus_be left | 16:52 |
| → User458764 joined | 16:53 |
| → satiricon joined | 16:53 |
| → roymiloh joined | 16:53 |
| → thumpba joined | 16:53 |
| → tyrannosaurus_be joined | 16:54 |
| ← Xethron left | 16:54 |
| ← User458764_NotHe left | 16:55 |
| ← jceb left | 16:55 |
| ← teran left | 16:56 |
| → n-st_ joined | 16:57 |
| → mikecmpbll joined | 16:57 |
| ← MarionDaly left | 16:57 |
| ← thumpba left | 16:58 |
| → MarionDaly joined | 16:58 |
| → thumpba joined | 16:58 |
| → Sonderblade joined | 17:00 |
| ← kcj left | 17:00 |
| ← FortySix2 left | 17:00 |
| → lsiv568 joined | 17:00 |
| ← n-st left | 17:00 |
| → n-st__ joined | 17:01 |
| ← [EddyF] left | 17:01 |
| ← roymiloh left | 17:01 |
| → FortySix2 joined | 17:02 |
| → joaoh82 joined | 17:02 |
| → Relsak joined | 17:02 |
| ← alexlindenlevy left | 17:02 |
| → alexlindenlevy joined | 17:03 |
| → mishok13 joined | 17:03 |
| → drjeats joined | 17:04 |
| → maveneag_ joined | 17:04 |
| → Zoddo joined | 17:04 |
| ← maveneag_ left | 17:04 |
| ← lsiv568 left | 17:04 |
| ← n-st_ left | 17:04 |
| → mizu_no_oto joined | 17:05 |
| → doev joined | 17:06 |
| → dreiss joined | 17:06 |
| ← FortySix2 left | 17:06 |
| ← thiago left | 17:07 |
| ← alexlindenlevy left | 17:07 |
| ← paulweb515 left | 17:07 |
| → delight joined | 17:08 |
| → cllamas joined | 17:08 |
| → nobitanobi joined | 17:08 |
|
nobitanobi
| Hi guys, I have a symlink called devel in the root folder of my repo. How do I add it to the .gitignore? | 17:09 |
| → CKyle joined | 17:09 |
|
ohcibi
| nobitanobi: just putting "devil" into .gitignore doesnt work? | 17:10 |
|
osse
| nobitanobi: add a line with 'devel' on it to a file called .gitignore | 17:10 |
| → akim__ joined | 17:10 |
|
ohcibi
| lol | 17:10 |
|
nobitanobi
| but without the '/' in front? | 17:10 |
|
ohcibi
| i meant devel | 17:10 |
|
| nobitanobi: this would only match it in the repositories root directory | 17:10 |
| ← akim__ left | 17:10 |
|
ohcibi
| without / it matches everywhere | 17:11 |
|
nobitanobi
| I want to avoid if there are other devel files or symlinks in other folders to be ignored. I just want the one in the root path | 17:11 |
| → Xethron joined | 17:11 |
|
ohcibi
| /devel | 17:11 |
|
nobitanobi
| ohcibi: ok thanks | 17:11 |
|
| thanks osse | 17:11 |
| ← delight left | 17:11 |
|
osse
| !ignoretracked | 17:11 |
|
gitinfo
| [!ignore_tracked] Git only applies ignore patterns to untracked files. You can't use ignore patterns to ignore changes to files that are already tracked by git. To remove files only from git, but keeping them on disk, use git rm --cached <file>. Still, see https://gist.github.com/1423106 for ways people have worked around the problem. | 17:11 |
|
osse
| nobitanobi: read the above | 17:11 |
|
ohcibi
| right | 17:11 |
|
| does the bot also has information about filter-branch? 8-)) | 17:12 |
| ← akim_ left | 17:13 |
| ← cllamas left | 17:13 |
| ← MarionDaly left | 17:14 |
| ← thumpba left | 17:15 |
| ← DanGreaves left | 17:16 |
| → thumpba joined | 17:16 |
| ← danecando left | 17:17 |
| → ilmgb joined | 17:17 |
| → reaverb joined | 17:18 |
| → LucasTT joined | 17:18 |
| → MarionDaly joined | 17:19 |
| ← Xethron left | 17:20 |
| ← kermit left | 17:21 |
| → Xethron joined | 17:21 |
| ← Xethron left | 17:21 |
| → Xethron joined | 17:21 |
| ← eliasr left | 17:21 |
| ← JoeAngel_ left | 17:22 |
| ← jftf left | 17:22 |
| → oodavid joined | 17:22 |
| ← gandalfcome left | 17:23 |
| ← cjwilburn left | 17:23 |
| → jhulten joined | 17:24 |
| → cjwilburn joined | 17:24 |
|
_ikke_
| man filter-branch | 17:25 |
|
| _ikke_ pokes bot | 17:25 |
| → the8thbit joined | 17:25 |
|
ojacobson
| man git-filter-branch | 17:25 |
|
gitinfo
| the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html | 17:25 |
| ← ilmgb left | 17:26 |
| → ilmgb joined | 17:26 |
| User458764 → User458764_NotHe | 17:26 |
|
ohcibi
| i meant something like !filterbranch --> "if you want to change or remove something in all commits of a branch use git-filter-branch" | 17:26 |
| → Balliad joined | 17:27 |
| → shaggy_ratte joined | 17:28 |
|
_ikke_
| No, there is no trigger | 17:28 |
| → m7w joined | 17:30 |
| → thevishy joined | 17:30 |
| → sinkensabe joined | 17:30 |
| ← Xethron left | 17:31 |
| ← User458764_NotHe left | 17:31 |
| ← thumpba left | 17:31 |
| ← allay left | 17:32 |
| → roymiloh joined | 17:32 |
| ← rath left | 17:32 |
|
ajf-
| I have many modified files that have "<<<<<<< Updated upstream", "=======", ">>>>>>> Stashed changes", etc. because I tried to do "git stash", "git pull", "git stash apply", and it had conflicts | 17:33 |
| → bambams_ joined | 17:33 |
| ← allay_ left | 17:33 |
|
ajf-
| I want to abort the whole thing, and just keep modified files as they were | 17:33 |
|
| What can I do ? | 17:33 |
| → ColKurtz joined | 17:33 |
|
osse
| ajf-: git reset --hard | 17:33 |
|
_ikke_
| What do you want to abort? | 17:33 |
|
ajf-
| the merge, I want the modified files to remain modified | 17:33 |
|
osse
| ooops | 17:34 |
|
ajf-
| without conflicts, just everything the way it was before doing what I did | 17:34 |
| ← doev left | 17:34 |
|
osse
| ajf-: before the pull? | 17:34 |
| → roymiloh_ joined | 17:34 |
|
ajf-
| yeah | 17:34 |
| → Sample joined | 17:34 |
|
osse
| ajf-: git reset --hard 'HEAD@{1}' | 17:35 |
|
| then git stash pop | 17:35 |
| → doev joined | 17:35 |
| ← jcvfen left | 17:35 |
| ← CKyle left | 17:35 |
|
osse
| ajf-: run git show 'HEAD@{1}' to see that the commit is what you expect | 17:35 |
| ← shaggy_ratte left | 17:35 |
|
ajf-
| worked =) thanks | 17:36 |
| → thumpba joined | 17:36 |
| ← joaoh82 left | 17:36 |
| → batok joined | 17:36 |
| ← freestyler7 left | 17:36 |
| → CKyle joined | 17:37 |
| → Sijdesign joined | 17:37 |
| ← roymiloh left | 17:37 |
| → jcvfen joined | 17:38 |
| → lsiv568 joined | 17:38 |
| → paulweb515 joined | 17:38 |
| ← roymiloh_ left | 17:39 |
| → Apocalis_ joined | 17:39 |
| ← lsiv568 left | 17:39 |
| ← dangerou_ left | 17:39 |
| → lsiv568 joined | 17:40 |
| → dangerousdave joined | 17:40 |
| → kishanio joined | 17:41 |
| → lbigum joined | 17:41 |
| ← doev left | 17:42 |
| ← lbigum left | 17:43 |
| → happytux joined | 17:43 |
| → moritzs joined | 17:44 |
| ← noyb left | 17:44 |
| ← akushner left | 17:44 |
| → napcae_ joined | 17:44 |
| ← napcae_ left | 17:44 |
| ← thumpba left | 17:44 |
| → hahuang65 joined | 17:45 |
|
nobitanobi
| hey guys, if I want to exclude a folder and all its content from my root path, shall I add /folder or /folder/ ? | 17:45 |
| → kermit joined | 17:46 |
| → Sleepy63 joined | 17:46 |
| → thiago joined | 17:46 |
| ← sinkensabe left | 17:47 |
| → dangerou_ joined | 17:47 |
| ← ColKurtz left | 17:47 |
| → LeMike joined | 17:49 |
| ← treehug88 left | 17:49 |
|
jaspertheghost
| i have directories under the root of the web directory .. i exlcluded them from git and rsync copying so that when i goto deploy i can just do an rsync —delte and exclude directories that would otherwise be lost | 17:49 |
|
| [1:48pm] | 17:49 |
| → Celm joined | 17:49 |
|
jaspertheghost
| problem is i need to set permissions on everything else thats not excluded cuase the excluded directories have special perms to begin with | 17:49 |
| ← dangerousdave left | 17:49 |
|
jaspertheghost
| im going to havw to rsync to a temp folder on the server | 17:49 |
|
| then chmod/chown the files there and then rsync them into there finallocation can anyone thing of a more elegant solution? | 17:50 |
| ← kishanio left | 17:50 |
| → pbrobst joined | 17:50 |
| → arlev joined | 17:51 |
| → twittard joined | 17:52 |
| ← thevishy left | 17:52 |
| ← Celm left | 17:53 |
| → treehug88 joined | 17:53 |
| ← mikeputnam left | 17:53 |
| → cjwilbur_ joined | 17:54 |
| ← MattMaker left | 17:54 |
| ← Sijdesign left | 17:54 |
| → madewokherd joined | 17:55 |
| → Sijdesign joined | 17:55 |
| ← cjwilburn left | 17:55 |
| → MattMaker joined | 17:56 |
| ← sq-one left | 17:56 |
| → lbigum joined | 17:56 |
| → akushner joined | 17:56 |
| ← g0bl1n left | 17:56 |
| → User458764 joined | 17:57 |
| ← lbigum left | 17:57 |
| → Auv joined | 17:57 |
| gitinfo set mode: +v | 17:57 |
| ← mennea left | 17:58 |
| → hkon_ joined | 17:58 |
| ← the8thbit left | 17:59 |
| → chipotle joined | 17:59 |
| → noecc joined | 17:59 |
| → [gmi] joined | 17:59 |
| → joaoh82 joined | 18:00 |
| ← Naab left | 18:01 |
| → segfalt joined | 18:01 |
| ← dangerou_ left | 18:02 |
| → richwestcoast joined | 18:02 |
| → dangerousdave joined | 18:02 |
| → nodiscc1 joined | 18:02 |
|
segfalt
| If I have a local repo, and another user has a local repo, both were cloned off a "canonical" repo. The other user has a branch made in the past, with it's own commit history. How can I get an exact replica of that branch in my local repo? | 18:02 |
| ← hkon_ left | 18:02 |
| ← Sijdesign left | 18:03 |
|
thegorn
| segfalt: one approach, add his repository as a remote | 18:03 |
| → noyb joined | 18:04 |
|
thegorn
| git remote add otheruser /path/to/his/repo/.git | 18:04 |
|
| git fetch otheruser | 18:04 |
| ← zumba_addict left | 18:04 |
|
thegorn
| and then you'll see them as remote branches (git branch -a, etc.) | 18:04 |
|
segfalt
| thegorn: And then I can branch off that to work on it? | 18:05 |
|
| Or? | 18:05 |
|
causasui
| segfalt: branch your own tree and merge his changes into your branch. make changes, commit them, and send pull request | 18:06 |
|
| from the branch | 18:06 |
| → thevishy joined | 18:06 |
| → FortySix2 joined | 18:06 |
| ← Zoddo left | 18:06 |
|
segfalt
| causasui: His branch is not up to date, that's the issue. I want to work from his history and resolve the merge conflicts with master. | 18:06 |
|
| My master branch is "in the future" | 18:07 |
|
| I want to work from his old branch, merge master, and resolve those conflicts. | 18:07 |
| → Neozonz|Disc joined | 18:07 |
| ← bezet left | 18:08 |
| ← dangerousdave left | 18:08 |
| ← JDHawke left | 18:08 |
| → Neozonz|Disc2 joined | 18:09 |
| → FutureTense joined | 18:09 |
| → dangerousdave joined | 18:09 |
| ← dangerousdave left | 18:09 |
| ← dreiss left | 18:09 |
| → dangerousdave joined | 18:10 |
| → dfinly joined | 18:10 |
| ← Neozonz left | 18:11 |
| → lbigum joined | 18:11 |
| ← Neozonz|Disc left | 18:12 |
| ← Ankhers left | 18:13 |
| ← FortySix2 left | 18:13 |
| ← Junior left | 18:14 |
| → endiruna joined | 18:14 |
| ← lbigum left | 18:16 |
| → Ankhers joined | 18:16 |
|
reaverb
| On git apply (Well git am --reject) is there a way to view which hunks have failed? | 18:16 |
| → PyBorg joined | 18:16 |
| ← PyBorg left | 18:16 |
| ← ehmatthes left | 18:16 |
| → slacko79321 joined | 18:17 |
| → Kayra joined | 18:17 |
| → BuSerD joined | 18:17 |
| → PyBorg joined | 18:18 |
| ← _pr0t0type_ left | 18:18 |
| ← PyBorg left | 18:18 |
| ← moritzs left | 18:18 |
| → Learning2 joined | 18:18 |
| ← jnavila left | 18:18 |
| ← arlev left | 18:19 |
| ← alxgnon left | 18:20 |
| → cagedwisdom joined | 18:20 |
| → alxgnon joined | 18:21 |
| → Xethron joined | 18:21 |
| ← amcsi_work left | 18:21 |
| ← joaoh82 left | 18:21 |
| → dreiss joined | 18:22 |
| → FortySix_ joined | 18:23 |
| ← kermit left | 18:23 |
|
endiruna
| suppose that I do some work. I would like to compress the changes from some commit to the present and push those as a single commit, not the whole history. how do i do that? | 18:24 |
|
| cool 1111 users are present now | 18:25 |
| → tvw joined | 18:25 |
| → alvaro_o joined | 18:26 |
| ← akushner left | 18:26 |
| → Flowinho joined | 18:27 |
| → mennea joined | 18:28 |
| → InsanelyADHD joined | 18:28 |
| → mozzarella joined | 18:28 |
|
mozzarella
| shit guys | 18:28 |
|
| I fucked up | 18:28 |
|
| I staged a folder I shouldn't have staged | 18:29 |
| ← Flowinho left | 18:29 |
|
mozzarella
| how do I fix tihs | 18:29 |
|
mugwump
| git reset folder | 18:29 |
|
ryanneufeld
| git reset folder | 18:29 |
|
mugwump
| jinx | 18:29 |
|
mozzarella
| thanks man, I tried git checkout folder | 18:29 |
| ← mennea left | 18:29 |
| ← vtunka left | 18:29 |
|
mugwump
| good thing you just staged it then, otherwise that command would have overwritten it | 18:30 |
| → rotta joined | 18:30 |
| ← tvw left | 18:30 |
|
ryanneufeld
| yeah | 18:30 |
| → kermit joined | 18:30 |
|
mozzarella
| mugwump: overwritten? | 18:30 |
|
ryanneufeld
| then you would have really fucked up | 18:30 |
|
mozzarella
| what do you mean | 18:30 |
|
ryanneufeld
| are you familiar with svn? | 18:30 |
|
mozzarella
| from the last commit? | 18:31 |
|
mugwump
| try 'git gui' for staging commits. It's good, I use it all the time | 18:31 |
|
mozzarella
| no I'm not | 18:31 |
|
ryanneufeld
| checkout is like svn revert | 18:31 |
|
mozzarella
| so it reverts from the latest commit? | 18:31 |
|
ryanneufeld
| you can do git checkout master -- filename | 18:31 |
|
| and it will replace whatever filename | 18:31 |
|
mugwump
| You don't lose CLI creds for using a Tk UI | 18:31 |
|
ryanneufeld
| with the latest from the master branch | 18:31 |
|
| if you just did git checkout filename | 18:31 |
| → JDHawke joined | 18:32 |
|
ryanneufeld
| it assumes you want the latest commited version from the current branch | 18:32 |
| ← Auv left | 18:32 |
| → weevieL joined | 18:32 |
| → mennea joined | 18:32 |
|
mozzarella
| I see | 18:33 |
|
mugwump
| not last committed, last staged (unless you specify a revision to 'checkout') | 18:33 |
|
mozzarella
| WHY does checkout revert changes and also switch to whatever branch I want, or those two actions related? | 18:34 |
| ← User458764 left | 18:34 |
|
mozzarella
| are those* | 18:34 |
|
ryanneufeld
| mugwump: unless you haven't staged anything | 18:34 |
|
mozzarella
| sorry | 18:34 |
|
ryanneufeld
| you're checking out the file/branch | 18:34 |
|
_ikke_
| mozzarella: yes, they are related | 18:34 |
|
ryanneufeld
| if you specify a branch, you're telling git to checkout all the files from that branch | 18:35 |
| → roymiloh joined | 18:35 |
|
ryanneufeld
| it's a bit more complex than that, but the general idea is the same | 18:35 |
|
jaspertheghost
| !deploy | 18:35 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 18:35 |
|
ryanneufeld
| jaspertheghost: relevance? | 18:36 |
| ← starkhalo left | 18:36 |
|
lov
| mozzarella: !koan | 18:36 |
|
gitinfo
| mozzarella: [!koans] Looking for some enlightenment? Five koans about Master Git: http://stevelosh.com/blog/2013/04/git-koans/ | 18:36 |
|
jaspertheghost
| needed to look at the rsync script thats there | 18:36 |
|
lov
| you're not the only one who finds it confusing. | 18:36 |
| ← Eyes left | 18:36 |
|
jaspertheghost
| having a lil troubel deciding on how my deployment shouild work | 18:36 |
| → SuinDraw joined | 18:36 |
| → godgodgodgo joined | 18:37 |
| SuinDraw → Eyes | 18:37 |
| ← Ankhers left | 18:37 |
|
jaspertheghost
| god damn rule 4 and 2 | 18:39 |
|
| i need both | 18:39 |
| ← roymiloh left | 18:39 |
| → Ankhers joined | 18:39 |
| → uku joined | 18:40 |
| ← Polymorphism left | 18:40 |
| → NotANick_ joined | 18:40 |
| → drbean joined | 18:40 |
|
ryanneufeld
| jaspertheghost: what is it you're trying to do? | 18:41 |
| ← MattMaker left | 18:41 |
| ← mewm left | 18:41 |
| ← MarionDaly left | 18:41 |
|
jaspertheghost
| well currently i have a post-recieve hook that just copies staging to staging_website.com and i rsync that over to staging/live whatever | 18:41 |
| → MarionDaly joined | 18:42 |
|
jaspertheghost
| rsync has exclude for the folders i dont wanna rsync | 18:42 |
| ← drbean left | 18:43 |
|
jaspertheghost
| i do a chmod on the directtory before doing the rsync | 18:43 |
| → infoshark joined | 18:43 |
|
jaspertheghost
| so the perms are ok i believe | 18:43 |
|
uku
| is it possible to get a list the remote directory tree in git without cloning? | 18:43 |
| → Polymorphism joined | 18:43 |
|
jaspertheghost
| everything seems to work ok just feels weird and the chmod takes a min.... | 18:44 |
|
| i should prolly 644 the files though in my web direcoriy no? | 18:45 |
|
ryanneufeld
| that really depends on your web server config | 18:45 |
|
jaspertheghost
| my current server perms are all fucked up lol | 18:45 |
|
| there was lots of people before me that didnt know what the fuck they were doing | 18:45 |
|
| and i kinda half do | 18:45 |
| NotANick_ → NotANick | 18:46 |
|
ryanneufeld
| well, at a minimum you need read perms to the files by whatever process is executing them | 18:46 |
|
jaspertheghost
| so 644 will cover that | 18:46 |
|
mugwump
| uku: not really, no | 18:46 |
|
ryanneufeld
| and write perms on any dir where temp files or uploads are gonna be stored | 18:46 |
|
jaspertheghost
| yea | 18:46 |
| → OffTheRails joined | 18:46 |
|
ryanneufeld
| jaspertheghost: as long as you don't apply that on directories | 18:46 |
|
jaspertheghost
| on directories | 18:47 |
| → Neozonz joined | 18:47 |
| ← Neozonz left | 18:47 |
| → Neozonz joined | 18:47 |
|
jaspertheghost
| i have 775 currenly | 18:47 |
|
| whats something a lil bit stricter i can use? | 18:47 |
|
ryanneufeld
| if you want them to match 644 | 18:47 |
|
| you can use 755 | 18:47 |
| → Annak joined | 18:47 |
|
ryanneufeld
| basically you need the execute bit set | 18:47 |
| → MattMaker joined | 18:47 |
| → jason237 joined | 18:47 |
| gitinfo set mode: +v | 18:47 |
|
uku
| mugwump: why not? | 18:47 |
|
jaspertheghost
| thats what the 5 does right? | 18:47 |
|
| 4read +1 exewcute? | 18:48 |
|
ryanneufeld
| yes | 18:48 |
|
mozzarella
| 101 | 18:48 |
|
mugwump
| uku: because the protocol only lets you fetch slices of object graph | 18:48 |
|
| you can configure an HTTP repository to have a checkout, though | 18:49 |
| ← Neozonz|Disc2 left | 18:50 |
| ← Diemuzi left | 18:50 |
| → tgkokk joined | 18:51 |
| ← nkouevda left | 18:51 |
|
mugwump
| there are indirect ways of doing it via the protocol, but git's not designed as a fileserver with fileserver operations like that | 18:51 |
| → nkouevda joined | 18:52 |
| ← deuti left | 18:52 |
| Annak → Diemuzi | 18:53 |
|
jaspertheghost
| thanks ryan | 18:54 |
|
| i fell better now :) | 18:54 |
|
uku
| mugwump: I was thinking of indirect ways, basically I need to check for the presence of a file on repo, but I do not want to clone it just because of that | 18:55 |
|
jaspertheghost
| feel* | 18:55 |
| ← ErKa left | 18:55 |
| ← FutureTense left | 18:56 |
|
mugwump
| uku: if the repository has the option enabled, you can use git archive --remote | 18:56 |
|
jaspertheghost
| how about backups on the webroot for rollback purposes would prolly be good to keep a warm directory that way it wont take to long to do an rsync diff of the warm directory for backup? | 18:56 |
|
| and only have 1 rollback | 18:56 |
| → the8thbit joined | 18:56 |
| → drbean_ joined | 18:57 |
| ← drbean_ left | 18:57 |
|
ryanneufeld
| jaspertheghost: if you're already using git | 18:57 |
|
| jaspertheghost: use tags | 18:57 |
|
| that's how we did it | 18:57 |
| → drbean_ joined | 18:57 |
|
ryanneufeld
| we had the repo checked out on every machine it was needed | 18:57 |
|
| and through some scripting, we had it effectively do a git fetch, git fetch --tags | 18:57 |
|
| git revparse tag | 18:58 |
|
uku
| mugwump, would archive just print the repo to stdout (tried it today)? I will look more into it... | 18:58 |
|
ryanneufeld
| git checkout sha-from-revpars | 18:58 |
|
uku
| wouldn't | 18:58 |
| ← a-l-e left | 18:58 |
|
jaspertheghost
| thats overmyhead | 18:58 |
| ← drbean_ left | 18:59 |
| ← revyd left | 18:59 |
|
ryanneufeld
| jaspertheghost: what do yo mean by overhead? | 19:00 |
|
jaspertheghost
| im not anywhere near good enough in git to even know what those commands do (i can barely get what i have going so bar) | 19:00 |
| → drbean joined | 19:00 |
| → revyd joined | 19:01 |
|
ryanneufeld
| okay | 19:01 |
|
| keep it simple then | 19:01 |
|
| when you have a release ready | 19:01 |
|
| git tag v1.0 | 19:01 |
|
| git push && git push --tags | 19:01 |
|
| on your local | 19:01 |
|
| then on the server | 19:01 |
|
| git fetch && git fetch tags | 19:01 |
| ← lyakh left | 19:01 |
|
ryanneufeld
| git checkout v1.0 | 19:01 |
|
| same thing when v1.1 comes | 19:01 |
|
| (v1.0 is arbitrary, you can name it whatever makes sense for you) | 19:02 |
|
| if 1.1 is bunk | 19:02 |
|
| git checkout v1.0 | 19:02 |
| ← _Vi left | 19:02 |
|
ryanneufeld
| rather | 19:02 |
|
| git checkout --force v1.0 | 19:02 |
|
jaspertheghost
| ahhh | 19:02 |
| → yepyep joined | 19:02 |
|
ryanneufeld
| and you're rolled back | 19:02 |
|
| no managing of old versions | 19:02 |
| → AndreasLutro joined | 19:02 |
|
ryanneufeld
| one command | 19:02 |
|
| depending on the complexity of your changes | 19:03 |
| ← drbean left | 19:03 |
|
ryanneufeld
| you might need to do a git reset --hard after changing tags | 19:03 |
| → treehug8_ joined | 19:03 |
|
yepyep
| can i go back to the last commit's changes but save my working tree contents without needing git stash? | 19:03 |
|
ryanneufeld
| yepyep: yep | 19:03 |
|
yepyep
| i think you can do that with detached head? | 19:04 |
|
jaspertheghost
| what does git reset —hard do exactly i have seen it a few times | 19:04 |
|
yepyep
| i don't recall how, please refresh my memory | 19:04 |
|
jaspertheghost
| remove history? | 19:04 |
|
ryanneufeld
| git checkout --soft HEAD~1 | 19:04 |
|
| yepyep: ^^ i think | 19:04 |
|
| jaspertheghost: it doesn't remove history | 19:04 |
|
| jaspertheghost: it removes any local changes to any files managed by git | 19:04 |
|
| but doesn't remove un-tracked files | 19:05 |
| → drbean_ joined | 19:05 |
| ← treehug88 left | 19:05 |
|
jaspertheghost
| so if u botched your local changes to a branch and wanna revert back the remote’s version of the files? | 19:05 |
| ← mizu_no_oto left | 19:05 |
|
ryanneufeld
| you're 1/2 right | 19:05 |
|
| it would revert to the last commit on the current branch you're on | 19:06 |
|
| so if your branch is behind origin | 19:06 |
|
| you'll only get the last commit you have | 19:06 |
|
| now, you can do this: git fetch && git reset --hard origin/master | 19:07 |
|
| for example | 19:07 |
| ← lsiv568 left | 19:07 |
|
ryanneufeld
| which will throw away all your local changes to tracked files | 19:07 |
| ← Ankhers left | 19:07 |
|
ryanneufeld
| and reset your local master branch to match origin | 19:07 |
|
| which saves a merge | 19:07 |
|
| it depends on what you're trying to accomplish | 19:07 |
|
jaspertheghost
| hopefulyl iwill remember all this | 19:08 |
|
| i been learnting a real lot lately about everything its been aweesome | 19:08 |
|
ryanneufeld
| http://help.github.com/import-from-subversion/ | 19:08 |
|
| http://help.github.com/git-cheat-sheets/ | 19:08 |
|
| http://gitready.com/ | 19:08 |
|
| http://andy.delcambre.com/2008/03/04/git-svn-workflow.html | 19:08 |
| ← Polymorphism left | 19:08 |
|
ryanneufeld
| http://git-scm.com/book/en/Git-Tools-Submodules | 19:08 |
|
| http://ndpsoftware.com/git-cheatsheet.html | 19:08 |
|
| Those are all the links I used to read | 19:08 |
| → Ankhers joined | 19:08 |
|
ryanneufeld
| still check one or the other when I'm stumped | 19:08 |
|
jaspertheghost
| and keeping a good portion of it… now say i wanted to rollback to a specfic commit or rollback 2 back | 19:08 |
|
| thats what HEAD~2 would do right? | 19:08 |
|
ryanneufeld
| yes | 19:08 |
|
| you can also git checkout 145dedf | 19:09 |
|
jaspertheghost
| how can i specifiy a sha to rollback to? | 19:09 |
|
| ahh ok | 19:09 |
|
ryanneufeld
| assuming 145dedf is the sha | 19:09 |
| → sq-one joined | 19:09 |
|
ryanneufeld
| that's what's called a detached head state | 19:09 |
| → adac joined | 19:09 |
|
jaspertheghost
| and then i can rename the branch to master and push | 19:09 |
| → cllamas joined | 19:09 |
|
ryanneufeld
| oooh | 19:09 |
|
| no | 19:09 |
| → Annak joined | 19:09 |
| gitinfo set mode: +v | 19:09 |
|
ryanneufeld
| I wouldn't solve that problem in that way | 19:09 |
|
jaspertheghost
| how would you rollback to specific versionthen? | 19:10 |
|
ryanneufeld
| you can do git revert commit sha | 19:10 |
|
jaspertheghost
| version as in SHAhash | 19:10 |
| ← Annak left | 19:10 |
|
ryanneufeld
| that's what tags are good for | 19:10 |
|
| a tag is just a human readable name for a sha | 19:10 |
| ← leeN left | 19:10 |
|
ryanneufeld
| but it's in detached head when you check it out | 19:10 |
|
| it's not like a branch | 19:10 |
| → RyPeck joined | 19:11 |
|
ryanneufeld
| what you're suggesting is changing the history of the branch, rewriting, a force push | 19:11 |
| → zzing joined | 19:11 |
|
ryanneufeld
| for arguments sake | 19:11 |
|
| lets say you have a branch called orange | 19:11 |
|
jaspertheghost
| yep | 19:11 |
|
ryanneufeld
| the orange branch has 6 commits | 19:11 |
| ← Diemuzi left | 19:11 |
|
ryanneufeld
| to make it easy we'll say the shas are 1,2,3, 4, 5, 6 | 19:12 |
|
| where 1 is the first and 6 the last | 19:12 |
|
| now you realize that commit 6 is bad | 19:12 |
|
| and it's in production | 19:12 |
| ← position88 left | 19:12 |
|
ryanneufeld
| so you have to fix it | 19:12 |
|
jaspertheghost
| i can def see that happening | 19:13 |
|
ryanneufeld
| and you know that commit 4 was stable | 19:13 |
| → Annak joined | 19:13 |
| gitinfo set mode: +v | 19:13 |
| → Polymorphism joined | 19:13 |
|
ryanneufeld
| now, the question is: Do you want to delete commits 5 and 6? or just switch to commit 4 while you add commit 7 to fix the problem? | 19:14 |
|
| or would deleting commit 6 solve the problem | 19:14 |
| ← cllamas left | 19:14 |
| Annak → Diemuzi | 19:14 |
| ← noyb left | 19:14 |
| ← armyriad left | 19:14 |
|
ryanneufeld
| jaspertheghost: this is a choose your own adventure, which path do you take? | 19:14 |
|
jaspertheghost
| hmm | 19:14 |
| → armyriad joined | 19:14 |
|
ryanneufeld
| there isn't a wrong answer, and it all depends on what you need to do | 19:15 |
|
jaspertheghost
| delete 5 and 6 | 19:15 |
|
ryanneufeld
| okay | 19:15 |
|
| do you have any automated pulls from this repo? | 19:15 |
| → eliasr joined | 19:15 |
|
jaspertheghost
| no | 19:15 |
|
| seems scary to do so | 19:15 |
| → jftf joined | 19:16 |
|
ryanneufeld
| okay | 19:16 |
|
| safest method | 19:16 |
|
| which gets' harder as you have more commits | 19:16 |
|
| git revert 6 -m "reverting commit due to production error" | 19:16 |
|
| git revert 5 -m "reverting commit due to production error" | 19:17 |
|
| git push | 19:17 |
|
| so that will add commits 7 and 8 | 19:17 |
|
| and you'll see those in your git log as reverted commits | 19:17 |
|
| then when you pull on stage, it should go smoothly | 19:18 |
| ← AndreasLutro left | 19:18 |
|
ryanneufeld
| do you want to hide that you fucked up 5 and 6? | 19:18 |
|
| on your local | 19:18 |
|
| git checkout orange | 19:18 |
|
| git reset --hard 4 | 19:18 |
|
| git push -f | 19:18 |
| ← pbrobst left | 19:18 |
| → leeN joined | 19:18 |
|
ryanneufeld
| or you could do an interactive rebase | 19:18 |
|
jaspertheghost
| that was my next question when to use a rebase | 19:19 |
|
ryanneufeld
| many many ways to skin this cat as you can see | 19:19 |
|
| that all depends on who you ask | 19:19 |
|
| IMHO as seldom as is needed | 19:19 |
|
| rebase rewrites your history | 19:19 |
|
| I use pull --rebase | 19:19 |
| → _pr0t0type_ joined | 19:19 |
|
ryanneufeld
| a lot on one repo | 19:19 |
|
causasui
| I have a long hash of a commit. How can I show the diff? git show doesn't recognize it. the string is 'e28ee9e9770007337fe7864a6102e487b4f8231f' | 19:19 |
| → AndreasLutro joined | 19:19 |
| ← ArSn left | 19:19 |
|
ryanneufeld
| git diff sha | 19:20 |
|
causasui
| ryanneufeld: ambiguous argument 'sha' | 19:20 |
| → atomx joined | 19:20 |
| → NimeshNeema joined | 19:20 |
|
| ryanneufeld facepalms | 19:20 |
|
jaspertheghost
| sha is the actuall sha | 19:20 |
|
| git sha e28ee9e9770007337fe7864a6102e487b4f8231f | 19:21 |
| ← fatalhalt left | 19:21 |
|
ryanneufeld
| causasui: git whatchanged -p --abbrev-commit --pretty=medium e28ee9e9770007337fe7864a6102e487b4f8231f | 19:21 |
|
| you could try that too | 19:21 |
| ← Xethron left | 19:21 |
| → oojacoboo joined | 19:21 |
|
ryanneufeld
| alias gwc="git whatchanged -p --abbrev-commit --pretty=medium" | 19:21 |
|
| gwc e28ee9e9770007337fe7864a6102e487b4f8231f | 19:21 |
|
jaspertheghost
| ryan did you write git or something cause damn … u know everything | 19:21 |
|
ryanneufeld
| no | 19:22 |
| ← cjwilbur_ left | 19:22 |
|
ryanneufeld
| I spent a year of fucking up every git repo I touched | 19:22 |
| ← endiruna left | 19:22 |
|
ryanneufeld
| so I learned a lot along the way | 19:22 |
|
jaspertheghost
| lol | 19:22 |
| → cjwilburn joined | 19:22 |
|
jaspertheghost
| thats going to be me this year :) | 19:22 |
|
ryanneufeld
| also I had some help from some people that make me look like a noob | 19:22 |
|
| do you know about git reflog? | 19:23 |
|
jaspertheghost
| no | 19:23 |
|
ryanneufeld
| so, git keeps a history of every command you run | 19:23 |
|
| git reflog | 19:23 |
|
| shows that | 19:23 |
|
| so, say you fucked up | 19:23 |
|
| and deleted a branch | 19:23 |
|
| you can use reflog to get it back | 19:23 |
|
| sometimes | 19:23 |
|
| it autocleans itself after a while | 19:24 |
| ← Marina1 left | 19:24 |
|
ryanneufeld
| and it's not always a saving grace, but it's been my hail mary pass a few times | 19:24 |
|
| create a repo and mess around withit | 19:24 |
|
jaspertheghost
| btw i still dont think i understnad how the revert commands works exactly…when u revert and push like u did above it adds 2 commits with the changes removed? | 19:24 |
| ← jcvfen left | 19:24 |
|
ryanneufeld
| yes | 19:24 |
| ← cjwilburn left | 19:24 |
|
ryanneufeld
| so, when you revert | 19:24 |
| → cjwilburn joined | 19:25 |
|
ryanneufeld
| git logs that as commit | 19:25 |
|
| but with the inverse patch | 19:25 |
|
jaspertheghost
| is there room for a conflict in there? | 19:25 |
|
ryanneufeld
| there is always room | 19:25 |
| → jcvfen joined | 19:25 |
|
ryanneufeld
| but if it's the most recent commit | 19:25 |
|
| it should be fine | 19:25 |
| ← jcvfen left | 19:25 |
|
ryanneufeld
| as long as you start at the most recent | 19:26 |
|
| using the command i gave causasui you could inspect a commit and see how isolated the change was | 19:26 |
|
jaspertheghost
| so rollback in order | 19:26 |
|
ryanneufeld
| revert in order | 19:26 |
| → jcvfen joined | 19:26 |
|
ryanneufeld
| (I'm a stickler for semantics) | 19:26 |
| ← geekbri left | 19:26 |
|
ryanneufeld
| if you wanna play with that stuff | 19:27 |
|
SamB
| hmm, how do I diff a tarball with a git treeish? | 19:27 |
|
ryanneufeld
| you'd have to extract the tarball SamB | 19:27 |
|
| unless the tarball is in the repo | 19:27 |
| ← dangerousdave left | 19:27 |
|
SamB
| I realize I would have to extract it, yes | 19:27 |
|
ryanneufeld
| in which case, you could checkout the version you want to compare to | 19:27 |
|
jaspertheghost
| btw ryan how do u do your deployments … run a web rsync command or do it by terminal ? | 19:27 |
| → knownasilya joined | 19:27 |
| → dangerousdave joined | 19:28 |
| ← whatitdo left | 19:28 |
| ← dangerousdave left | 19:28 |
|
jaspertheghost
| im thinking of just keeping mine as a .sh script in the main repo server | 19:28 |
|
ryanneufeld
| jaspertheghost: we use a combination of a python script and cf-engine | 19:28 |
|
SamB
| or, at least, that I'd need to uncompress it | 19:28 |
|
ryanneufeld
| SamB: you can't do it with git | 19:28 |
| → dangerousdave joined | 19:28 |
|
ryanneufeld
| not entirely | 19:28 |
|
| jaspertheghost: that's one way to do it yeah | 19:28 |
|
| jaspertheghost: we essentially have teh repo cloned on each server | 19:29 |
|
| and when we push a new version | 19:29 |
|
| it updates a config file | 19:29 |
|
jaspertheghost
| how do u tell allthe servers hey its time to update? | 19:29 |
|
ryanneufeld
| and another script checks that config | 19:29 |
|
| that's what cf-engine is for | 19:29 |
|
jaspertheghost
| ahh | 19:29 |
|
ryanneufeld
| you can do a cron job | 19:30 |
|
| or manual | 19:30 |
|
| which we do as well | 19:30 |
|
jaspertheghost
| ill check it out over the weekend | 19:30 |
|
ryanneufeld
| cf-engine just ensures that the system state is what we want | 19:30 |
|
jaspertheghost
| damn i wish i had u on gtalk or something u seem to know alot of stuff i could prolly learn a ton! | 19:30 |
|
ryanneufeld
| if you're just getting started with configuration management | 19:30 |
|
| I'd recommend puppet | 19:30 |
|
jaspertheghost
| puppet looked tedious | 19:30 |
|
ryanneufeld
| over cf-engine | 19:30 |
|
| it can be | 19:30 |
|
| but any config managment system is | 19:31 |
|
RyPeck
| jaspertheghost: you developer or sysadmin right now? | 19:31 |
|
jaspertheghost
| both | 19:31 |
|
ryanneufeld
| ditto | 19:31 |
|
RyPeck
| what were you before you became both? | 19:31 |
|
ryanneufeld
| jaspertheghost: I'm always lurking on irc, this is a good place to find me | 19:31 |
|
jaspertheghost
| always been both | 19:31 |
|
ryanneufeld
| jaspertheghost: I'm also in #jquery #cf-engine #puppet to name a few | 19:31 |
|
jaspertheghost
| awesome… im doing an android app with some jquery so i been in jqeury alot | 19:32 |
|
| and i def could use some puppet help | 19:32 |
| → lbigum joined | 19:32 |
| → adkins2 joined | 19:32 |
| ← Eyes left | 19:33 |
|
ryanneufeld
| I may not always have the answer | 19:33 |
| → Eyes joined | 19:33 |
|
ryanneufeld
| the puppet channel is pretty good | 19:33 |
|
jaspertheghost
| thats what hours of google is for lol | 19:33 |
| ← lbigum left | 19:33 |
|
ryanneufeld
| that's pretty much what I do | 19:33 |
|
jaspertheghost
| i try to learn on my own but talking ot people there is something about it | 19:33 |
| → jnavila joined | 19:33 |
|
jaspertheghost
| i learn and it stays | 19:33 |
|
| alot quicker to learn too | 19:33 |
|
ryanneufeld
| if I had to say what my job was honestly | 19:33 |
| ← dangerousdave left | 19:34 |
|
ryanneufeld
| it would be asking questions, googling, pulling out my hair, googling, and solving problems | 19:34 |
|
| in that order | 19:34 |
|
| lol | 19:34 |
| → dangerousdave joined | 19:34 |
|
jaspertheghost
| in about 6 months im going to be looking to move to southern cali or colorado and look for a new DEV job | 19:34 |
|
| sounds like u and me have alot in common :) | 19:34 |
| → howitdo joined | 19:34 |
|
ryanneufeld
| it does sound that way | 19:35 |
| → dmj` joined | 19:35 |
| → roymiloh joined | 19:35 |
|
jaspertheghost
| developing this android app has been teching me a ot | 19:36 |
|
| i switched over to phpstorm and and android studio (which is the same thing basically) | 19:36 |
| ← treehug8_ left | 19:37 |
|
jaspertheghost
| been loving it … learning alot of CSS/JS and android/java | 19:37 |
|
| i do PHP fulltime | 19:37 |
|
| finally decided that i needed to learn Git to keep track of everhything | 19:37 |
| ← GrupoCITEC left | 19:37 |
| ← EminenceHC left | 19:38 |
|
Mixologic
| jaspertheghost: where do you live now? | 19:38 |
|
jaspertheghost
| South Florida | 19:38 |
|
| how about you? | 19:38 |
|
Lanta
| git commits the world around | 19:38 |
| ← revyd left | 19:38 |
| → fenerlitk joined | 19:38 |
|
jaspertheghost
| lol | 19:38 |
| ← dmj` left | 19:39 |
| ← thedodd left | 19:39 |
|
Mixologic
| pdx. Just curious. I have a friend who does full time PHP, is just learning git, and is named Jasper thought it might have been worlds colliding. | 19:39 |
| ← roymiloh left | 19:40 |
|
jaspertheghost
| lol | 19:40 |
| → maqr joined | 19:40 |
| ← dreiss left | 19:41 |
| → treehug88 joined | 19:42 |
|
jftf
| My name is Jasper and I'm doing PHP and git | 19:42 |
|
| holy smokes | 19:42 |
|
| Sam?? | 19:42 |
|
| hehe jk | 19:42 |
|
jaspertheghost
| name my anmes matt | 19:42 |
| → Segfault_ joined | 19:42 |
|
jaspertheghost
| wow ok that didnt make snese | 19:43 |
|
| My names matt * | 19:43 |
|
jftf
| i was just being silly don't mind me | 19:43 |
|
jaspertheghost
| ;p | 19:43 |
| → Zoddo joined | 19:45 |
|
ryanneufeld
| jaspertheghost: i'm in vancouver, I've done a lot of php, i'm in ops now, but I get to do python programming which is nice | 19:45 |
|
| we have an office in FLL | 19:45 |
|
jaspertheghost
| u guys hiriing? lol | 19:46 |
| ← FortySix_ left | 19:46 |
|
ryanneufeld
| I dunno | 19:46 |
|
jaspertheghost
| i been wanting to learn python just havent had any projects that warrant it | 19:46 |
| → talk2manoj joined | 19:46 |
|
ryanneufeld
| you can check http://www.cbsinteractive.com/careers/ | 19:46 |
| → buck1 joined | 19:47 |
|
jaspertheghost
| Sr Software Engineer new york | 19:47 |
|
| seems like every these days i hiiring developers | 19:47 |
|
ryanneufeld
| yeah, you gotta be pretty good to be called senior | 19:47 |
|
buck1
| any idea when this will say 2.0? http://git-scm.com/downloads | 19:47 |
|
ryanneufeld
| I went from being the lead on metrolyrics.com to being an intermediate on this team | 19:47 |
| → Neozonz|Disc joined | 19:47 |
| ← Neozonz|Disc left | 19:47 |
| → Neozonz|Disc joined | 19:47 |
| ← jovy88 left | 19:47 |
| → SHyx0rmZ joined | 19:48 |
|
jaspertheghost
| can’t wait till january comes around ill be ready to start looking for better opportunities | 19:48 |
|
| i would love to work in a place where people are really msarter than me | 19:48 |
|
| and ill learn | 19:48 |
|
| i havent had that in such a long time | 19:48 |
|
| its been years | 19:48 |
| → jovy88 joined | 19:48 |
| ← Polymorphism left | 19:48 |
|
ryanneufeld
| I know that feeling | 19:49 |
|
| it was a tough adjustment for me | 19:49 |
|
buck1
| /join #moaning | 19:49 |
|
ryanneufeld
| coming from the guy who is moaning about git 2.0 not being downloadable? That's rich | 19:49 |
|
jaspertheghost
| lol | 19:49 |
|
| how do u install git 2.0 | 19:50 |
|
| via git? | 19:50 |
| → FortySix2 joined | 19:50 |
|
buck1
| configure && make && make install | 19:50 |
|
ryanneufeld
| homebrew for osx has 2.0 | 19:50 |
|
| I'm installing it now | 19:50 |
|
jaspertheghost
| Latest source Release | 19:50 |
|
| 1.9.3 | 19:50 |
| → Polymorphism joined | 19:51 |
| ← Asiajey left | 19:51 |
|
jaspertheghost
| git clone https://github.com/git/git.git && cd git && ./configure && make && make install :) | 19:51 |
| ← Neozonz left | 19:51 |
| → thedodd joined | 19:52 |
| → lbigum joined | 19:52 |
|
jaspertheghost
| so ryan u do mostly Larger Scale Linux Admin now? | 19:52 |
| ← FunkyAss left | 19:53 |
| → revyd joined | 19:53 |
| ← lbigum left | 19:53 |
| → dreiss joined | 19:54 |
| → Ragnor joined | 19:54 |
| → PR_Deltoid joined | 19:55 |
|
ryanneufeld
| larger than I did before yeah | 19:56 |
| ← shruggar left | 19:56 |
| ← CKyle left | 19:56 |
|
ryanneufeld
| I'm actually developing a tool internally to work in concert with our custom inventory system | 19:56 |
|
jaspertheghost
| if u dont mind me asking hows the pay in that field u pushing 6 figures? | 19:56 |
|
buck1
| make: *** No rule to make target `:)'. Stop. | 19:56 |
|
| 3k/hr | 19:57 |
| ← buck1 left | 19:57 |
|
ryanneufeld
| jaspertheghost: I'm comfortable ;) | 19:57 |
| → lbigum joined | 19:57 |
|
jaspertheghost
| i hope my next position i can get maybe a 10-15 k shy of that | 19:58 |
| ← lbigum left | 19:58 |
|
ryanneufeld
| ask for what you want | 19:58 |
|
| but make them offer first | 19:58 |
|
jaspertheghost
| its weird i have seen some companies pay a shit ton for almost no experience | 19:58 |
| ← IrishPrime left | 19:58 |
|
jaspertheghost
| and others that dont | 19:58 |
|
| right now i manage 8 Web related servers (2 KVM/XEN systems that run a few linux / Windows box's | 19:59 |
|
| i need to learn Cisco | 19:59 |
|
ryanneufeld
| get a NOC job | 20:00 |
|
| you'll learn it | 20:00 |
|
| that's one of those things, that places hire specifically for | 20:00 |
|
| or will train you for | 20:00 |
|
| as long as you have a concrete understanding of how networks operate | 20:00 |
|
jaspertheghost
| u know cisco? | 20:00 |
|
ryanneufeld
| nope | 20:00 |
|
| don't need to | 20:01 |
| ← FortySix2 left | 20:01 |
|
jaspertheghost
| thats the thing i do have a concrete understanding/ i can do lInux IPTABLES all day | 20:01 |
|
ryanneufeld
| we have people that do know cisco | 20:01 |
| ← drjeats left | 20:01 |
|
jaspertheghost
| cisco is like fucking rocket science thoug | 20:01 |
|
ryanneufeld
| nah, it's just memorization | 20:01 |
| ← treehug88 left | 20:01 |
|
jaspertheghost
| well off to patch a patch panel for some wires we gotta move ill be back | 20:02 |
|
ryanneufeld
| glhf | 20:02 |
| → treehug88 joined | 20:03 |
|
cbreak
| you want to learn about cisco hardware and software? I heard the NSA knows a lot about that :) | 20:03 |
|
lov
| zing. | 20:03 |
| → weevieL3 joined | 20:04 |
| ← MblKiTA left | 20:04 |
| → btree joined | 20:04 |
| → sinkensabe joined | 20:04 |
| → jokajak` joined | 20:04 |
| → debajit joined | 20:04 |
|
jim
| there are courses for that, and they cost money | 20:05 |
| ← weevieL left | 20:05 |
| → FunkyAss joined | 20:05 |
|
ryanneufeld
| which is why you should apply for a job that will pay for it for you | 20:05 |
|
jim
| "Yeah, I just graduated from the second grade and I wanna be an NSA spook!" | 20:06 |
| ← weevieL3 left | 20:07 |
|
jim
| "You're almost overqualified, don't take more school" | 20:07 |
|
cbreak
| "I hate freedom and I like to peek on ... people... can I join you?" | 20:07 |
|
SJS
| jim, "When I grow up I want to be a sleeper agent?" | 20:07 |
| ← adkins1 left | 20:07 |
| → noyb joined | 20:07 |
| → weevieL joined | 20:08 |
| ← sinkensabe left | 20:08 |
|
jim
| and all this to study net hardware? | 20:08 |
| → bezet joined | 20:08 |
| → akushner joined | 20:09 |
| ← nnyk_ left | 20:10 |
| → causasui joined | 20:10 |
|
jim
| If you truely hate freedom, perhaps the 1% might be interested | 20:11 |
|
| But I digress... we're not still talkin about git? | 20:11 |
|
offby1
| jaspertheghost: allow me to plug my employer: http://www.ine.com | 20:11 |
| → bvi joined | 20:11 |
| ← btree left | 20:12 |
|
offby1
| ♩ ♪ ♫ ♬ ♭ ♮ ♯ | 20:12 |
| ← bvi left | 20:12 |
|
offby1
| ♩ ♪ ♫ ♬ Pimp that Paycheck ♭ ♮ ♯ | 20:12 |
|
jim
| that one note was flat... | 20:12 |
| ← bezet left | 20:13 |
|
bambams_
| O_o | 20:14 |
| → lokus\ joined | 20:14 |
| → sonicblud joined | 20:14 |
| ← ilmgb left | 20:14 |
| → beastd joined | 20:14 |
| → ohcibi_ joined | 20:14 |
| → Praise- joined | 20:15 |
| → Zoddo_ joined | 20:15 |
| ← noyb left | 20:15 |
| ← yacks left | 20:15 |
| Zoddo → Guest93350 | 20:15 |
| ← Guest93350 left | 20:15 |
| Zoddo_ → Zoddo | 20:15 |
| ← PR_Deltoid left | 20:15 |
| → basiclaser joined | 20:16 |
| → _ikke__ joined | 20:16 |
| → lbigum joined | 20:17 |
|
jim
| offby1, how do you get the b/#/etc? | 20:18 |
| → sheperson joined | 20:18 |
| → mizu_no_oto joined | 20:19 |
| → roymiloh joined | 20:20 |
| → ANR__ joined | 20:20 |
| → TwoWhole1orms joined | 20:20 |
| → jiriki- joined | 20:20 |
| → Lave_ joined | 20:20 |
| → dawik_ joined | 20:20 |
| → Blaster joined | 20:21 |
| → Annak joined | 20:21 |
| gitinfo set mode: +v | 20:21 |
| → sgen joined | 20:21 |
| → kcj joined | 20:21 |
| → Vampire0 joined | 20:22 |
| ← lbigum left | 20:22 |
| ← lithiumjake left | 20:22 |
| → koell joined | 20:23 |
| ← noecc left | 20:23 |
| ← talk2manoj left | 20:23 |
| → titusjose_______ joined | 20:24 |
| → zumba_addict joined | 20:24 |
| ← Diemuzi left | 20:24 |
| Annak → Diemuzi | 20:24 |
| ← Sleepy63 left | 20:24 |
| ← Balliad left | 20:24 |
| → lbigum joined | 20:25 |
| ← Lave_ left | 20:25 |
| → teslan__ joined | 20:25 |
| → Lave joined | 20:25 |
| → hays joined | 20:26 |
| ← jackneill left | 20:26 |
|
offby1
| jim: I just insert them -- my IRC client lets me type Unicode characters (rather laboriously). | 20:26 |
| → esc joined | 20:26 |
| ← esc left | 20:26 |
| → esc joined | 20:26 |
| → EminenceHC joined | 20:27 |
|
jim
| I see them... so it must be either just the irc client or the whole system | 20:27 |
|
| are you using xchat? | 20:27 |
| → Annak joined | 20:27 |
| → hellome joined | 20:27 |
| gitinfo set mode: +v | 20:27 |
|
moritz
| looks like normal UTF-8 to me | 20:28 |
| ← Apocalis_ left | 20:28 |
| → kenneth joined | 20:28 |
| → FortySix2 joined | 20:28 |
| ← kenneth left | 20:28 |
|
cbreak
| Unicode 😍... | 20:28 |
|
moritz
| like U+266C ♬ BEAMED SIXTEENTH NOTES | 20:28 |
| → Internet13 joined | 20:28 |
| → kenneth joined | 20:28 |
|
jim
| yeah, I guess I don't see why it wouldn't be... I guess I could copy/paste | 20:28 |
| ← lbigum left | 20:28 |
|
cbreak
| Or... you could get a mac and just use the character chooser. Totally worth the price... :) | 20:29 |
| ← sheperson left | 20:29 |
| → mlimaloureiro joined | 20:29 |
| → mz` joined | 20:30 |
|
moritz
| or on Linux, have a compose key, or gucharmap, or vim + digraphs, or any of the gazillion input methods you can use :-) | 20:30 |
| ← mz` left | 20:30 |
| → mz` joined | 20:30 |
|
jim
| spensive hard/software :) | 20:30 |
| ← Diemuzi left | 20:30 |
|
cbreak
| moritz: a compose key and an infailable memory of 0x1ffff codepoints | 20:30 |
| ← mlimaloureiro left | 20:31 |
|
jim
| at one time I had ian infallable memory... I forgot when... | 20:31 |
| ← EminenceHC left | 20:32 |
|
jim
| if you set up a compose key, it works systemwide? | 20:32 |
| ← cjwilburn left | 20:32 |
|
Sample
| I have an interesting workflow predicament | 20:33 |
|
| jim enters predicament mode | 20:33 |
|
Sample
| Our designers use git but as a complex tool have inherently less understanding | 20:33 |
|
| jim: lol, ty! =P | 20:33 |
| → pnkbst joined | 20:33 |
|
jim
| It'll take about 5 years to load all predicaments tho... | 20:34 |
|
Sample
| some odd things happen where they have a file open (essentially a cache) and re-save it obliterating changes from pulls | 20:34 |
|
| as an example | 20:34 |
|
| jim: doh XD | 20:34 |
| Annak → Diemuzi | 20:34 |
|
Sample
| so I'm wondering if there are ways to be selective about a merge. To force a merge patch perhaps? I haven't really fleshed it out yet | 20:34 |
|
| but in thise case for example, I can be straight forward and merge the design branch, and then reapply my changes from 4 commits ago, and then push again | 20:35 |
|
jim
| they are holding open remote files? | 20:35 |
|
Sample
| I'm just wondering if someone here more saavy would have a more elegant approach | 20:35 |
| → delight joined | 20:35 |
| → lbigum joined | 20:35 |
|
Sample
| jim: they will open foo.html locally. they will git pull (updating foo). they will then save foo.html (obliterating the pull changes), and commit | 20:36 |
|
| as a specific example of this case | 20:36 |
|
| other cases include, leaving merge markup in files | 20:36 |
|
| I'm just wondering if there is a more elegant approach than merging their branch and re-applying my work and pushing again | 20:36 |
|
| I should say merge conflict markup | 20:37 |
|
pnkbst
| I unstashed a change and it created a merge conflict. I removed the merge markers but did not commit and would like to stash again but git still says I need to merge. how do I get out of this state and stash without losing changes? | 20:37 |
|
jim
| when you guys n gals use git, do you do decentralized+one central main repo that gets pull requests? | 20:37 |
| → hoschi joined | 20:38 |
|
Sample
| pull requests? | 20:38 |
| → facundor joined | 20:39 |
|
jim
| Sample, it seems to me what you can do is throw time and education at the problem in general | 20:39 |
| → lithiumjake joined | 20:39 |
|
Sample
| jim: what about selective merging | 20:39 |
|
| since we can't force selective committing | 20:39 |
|
| the developer only has the opportunity to fix/help once it hits the bare origin | 20:40 |
|
| central remote server | 20:40 |
| → dacechavez joined | 20:40 |
|
jim
| so all devs can commit to the central repo? | 20:40 |
| → akim_ joined | 20:40 |
|
Sample
| to their respective branches, yes | 20:40 |
|
| when dev pushes a change though, design needs to update | 20:40 |
|
| and visa versa | 20:40 |
| ← lbigum left | 20:41 |
| ← tyrannosaurus_be left | 20:42 |
|
jim
| I dunno what to suggest... these issues are harder in that they are communication- and social- based | 20:42 |
|
Sample
| but yeah. if develop pushes "Fix to ticket #123" and design undoes that... and pushes it to origin/design.. haha | 20:42 |
| → tyrannosaurus_be joined | 20:42 |
|
jim
| the structure you have sounds like an unhosted party | 20:42 |
| → lbigum joined | 20:42 |
| ← lbigum left | 20:43 |
|
jim
| well I guess, that is..... do I have that right or close? | 20:43 |
| ← Ankhers left | 20:43 |
|
Sample
| Atlassian Stash | 20:43 |
|
| internally | 20:44 |
| → dangerou_ joined | 20:44 |
| ← dangerousdave left | 20:44 |
| → hwrdprkns joined | 20:44 |
|
Sample
| I guess in this particular instance it was my fault | 20:45 |
|
| i updated review and design servers but design had it mounted | 20:45 |
|
jim
| if you're at their level (equal, not boss of or emp of), you would need to tread kinda carefully | 20:45 |
|
Sample
| updating the filesystem, but leaving the file open in the editor as a stale cache kinda thing | 20:45 |
|
| but yeah there are just perpetual little problems like this | 20:45 |
| ← alvaro_o left | 20:45 |
|
Sample
| some changes to a template that are bad. since I cant stop the commit I have to merge, undo them, and re-commit | 20:46 |
|
| and hope that I catch it all | 20:46 |
|
| or leaving merge conflict markup in a file as I mentioned above | 20:46 |
|
jim
| I'm pretty basic at git, I clone, alter, run diff a LOT, test, commit, push | 20:47 |
| → psoo joined | 20:47 |
| ← tyrannosaurus_be left | 20:47 |
|
jim
| point being, I have no idea if there is a specific solution within git; I would probably think the solution is about talking to people, and mostly asking them questions about how they work | 20:48 |
|
Sample
| I guess the options are 1) commit on behalf of design, not ideal 2) re-apply all lost or breaking changes after merging design, push, and update design | 20:48 |
|
| being able to selectively merge changes (patch) wouldn't be much help I think | 20:48 |
|
jim
| there may very well be a git solution, I'm not aware of something that specific | 20:48 |
|
Sample
| yeah. I'm somewhat new to git as well | 20:49 |
| ← kermit left | 20:49 |
|
Sample
| fairly solid understanding of the basics but far from having neat guru workflows | 20:49 |
|
jim
| but I do see the challenge | 20:49 |
|
Sample
| also worth putting these kinds of challenges out there to see how/if someone else has tackled them | 20:49 |
|
| some of our team makes everything _extremely_ black and white. i like to look at things more as gray, open to options =P | 20:50 |
| → kermit joined | 20:50 |
| ← oojacoboo left | 20:50 |
| ← lethjakman left | 20:51 |
| → lethjakman joined | 20:51 |
|
jim
| I think I tried to collaborate with this one guy, we couldn't get the source control thing going... we went thru cvs, tla, one or two others, and it never worked, and turned out the guy had problems with the use of source control | 20:52 |
| ← dsabanin left | 20:52 |
| ← yepyep left | 20:52 |
|
jim
| I tried solving the technical issues, but never quite tackled that last thing | 20:52 |
| → diegoviola joined | 20:53 |
| → ericeatsbrains joined | 20:53 |
| ← tgkokk left | 20:55 |
|
Sample
| yes, down with version control. good mantra for the resume =P | 20:56 |
| → dregad joined | 20:56 |
| → TCubed joined | 20:56 |
| → pbrobst joined | 20:57 |
| → lbigum joined | 20:57 |
| → cllamas joined | 20:58 |
| → lamont joined | 20:58 |
| ← lbigum left | 20:59 |
| ← dacechavez left | 21:00 |
| ← cllamas left | 21:03 |
| ← MarionDaly left | 21:03 |
|
Sample
| Unrelated question... | 21:03 |
| ← jhulten left | 21:03 |
| → kishanio joined | 21:03 |
| → lyzidiamond joined | 21:03 |
| → MarionDaly joined | 21:03 |
| → pnascimento joined | 21:04 |
|
Sample
| Is the danger of forcing a rebase simply that work may have been branched off one of the commits which has been turned into a patch and reapplied on top of the branch you rebased onto | 21:04 |
|
| a-b-c-d-e turns into a-b-c-f-g-d'-e' yet work may have branched off "d" or "e" ? | 21:05 |
| ← King_Hual` left | 21:05 |
|
Sample
| who are now in a detached head state and will be garbage collected? | 21:05 |
| ← lithiumjake left | 21:05 |
| → PR_Deltoid joined | 21:06 |
|
Sample
| I mean, HEAD wouldn't be pointing at e anymore, but no branch would either | 21:06 |
| → King_Hual joined | 21:06 |
| ← King_Hual left | 21:06 |
| ← kishanio left | 21:06 |
| → CKyle joined | 21:07 |
| ← debajit left | 21:08 |
|
jim
| yeah, rebases and other things can do what's more generally called rewriting history, and that usually requires people to abandon their working dirs and cloning others from their upstream | 21:09 |
| ← JerryT left | 21:09 |
|
jim
| the simplest and most destructive case is called "erasing the repo and completely starting over", and of course even more damage can be caused after that by "not telling" | 21:10 |
| → model joined | 21:10 |
| → pantsman- joined | 21:11 |
| ← dobalina left | 21:11 |
| ← Kicer86 left | 21:11 |
|
jim
| the more you can avoid rewriting history, bhe better, and the less you would have to demonstrate "the central repo sometimes cannot be trusted" which is only partially true, and only (well hopefully_ sometimes | 21:12 |
| ← pnascimento left | 21:12 |
| → shingshang joined | 21:12 |
| ← nfk left | 21:13 |
| → ErKa joined | 21:13 |
| ← kcj left | 21:13 |
|
Sample
| interesting take | 21:13 |
| ← Kayra left | 21:14 |
|
Sample
| philosophical | 21:14 |
|
jim
| it's a little like a specific accounting practice, which says "always assume the company is going to keep going" | 21:15 |
| ← hwrdprkns left | 21:15 |
|
Sample
| hah | 21:15 |
|
| also interesting | 21:15 |
| → nfk joined | 21:17 |
|
jim
| and hope for less things like Enron | 21:17 |
|
| hmm. if Enron had git and a smart git admin, maybe their shredding would have had no effect | 21:18 |
| → chris___ joined | 21:18 |
| → jhulten joined | 21:19 |
| ← matheus23 left | 21:20 |
| → Dottimolly joined | 21:21 |
| ← eliasr left | 21:21 |
| ← batok left | 21:22 |
| → astrofog joined | 21:23 |
| → foist_ joined | 21:24 |
| ← NimeshNeema left | 21:24 |
| → lbigum joined | 21:25 |
| → ilmgb joined | 21:25 |
| ← dik_dak left | 21:26 |
| → pwnz0r joined | 21:27 |
| → kishanio joined | 21:27 |
| ← lbigum left | 21:28 |
| ← ilmgb left | 21:29 |
| ← mmitchell left | 21:30 |
| ← fenerlitk left | 21:30 |
| → mmitchell joined | 21:30 |
| → sinkensabe joined | 21:30 |
| ← chris___ left | 21:31 |
| → jellaby joined | 21:31 |
| ← mmitchell left | 21:31 |
| ← kishanio left | 21:31 |
| → mmitchell joined | 21:31 |
| ← Zoddo left | 21:34 |
| ← richwestcoast left | 21:34 |
| ← MattMaker left | 21:34 |
| → lbigum joined | 21:35 |
| → richwestcoast joined | 21:35 |
| → MattMaker joined | 21:35 |
| → shruggar joined | 21:35 |
| ← lbigum left | 21:36 |
| ← PR_Deltoid left | 21:36 |
| → debajit joined | 21:36 |
| → Cristi joined | 21:36 |
| ← hoschi left | 21:36 |
| ← jnavila left | 21:37 |
| Cristi → Guest63534 | 21:37 |
| ← sq-one left | 21:37 |
| → shlant joined | 21:37 |
|
shlant
| anyone know why I would get a permission denied when ls-remote a public git repo? | 21:37 |
| → fenerlitk joined | 21:38 |
| ← debajit left | 21:38 |
| → ghostlines joined | 21:38 |
| ← tonythomas left | 21:38 |
| ← ghostlines left | 21:38 |
| ← akushner left | 21:38 |
| → _Vi joined | 21:38 |
| → debajit joined | 21:38 |
| ← OffTheRails left | 21:38 |
| → ghostlines joined | 21:39 |
|
osse
| shlant: I think it's possible to deny your request server side | 21:39 |
|
| however, why anyone would want that I don't know | 21:39 |
| ← ghostlines left | 21:39 |
| → ghostlines joined | 21:39 |
| ← debajit left | 21:40 |
|
shlant
| osse: it works on my local machine, just not from an EC2 instance | 21:40 |
| ← sinkensabe left | 21:40 |
| → akushner joined | 21:42 |
| ← edux left | 21:43 |
| ← thevishy left | 21:44 |
| → Entomo joined | 21:44 |
| ← godgodgodgo left | 21:44 |
| → Kayra joined | 21:45 |
| ← jftf left | 21:45 |
| → kukks joined | 21:45 |
| ← kukks left | 21:45 |
| → kukks joined | 21:45 |
| → ojacobson_ joined | 21:46 |
| ← Guest63534 left | 21:46 |
| ← mjsmith2 left | 21:46 |
| ← Kayra left | 21:46 |
| ← CKyle left | 21:47 |
| → Kayra joined | 21:47 |
| ← ojacobson left | 21:47 |
| → ojbacons joined | 21:47 |
| ← nicoulaj left | 21:47 |
| ← AaronMT left | 21:47 |
| → Sleepy63 joined | 21:48 |
| ← ojacobson_ left | 21:48 |
| → Stalkr_ joined | 21:48 |
| ← Stalkr_ left | 21:48 |
| → Stalkr_ joined | 21:48 |
| ← ojbacons left | 21:48 |
| → ojacobson joined | 21:48 |
| ← doitjay left | 21:49 |
| → pnascimento joined | 21:49 |
| ← m7w left | 21:50 |
| ← mizu_no_oto left | 21:50 |
| ← rnsanchez_ left | 21:51 |
| ← Kayra left | 21:51 |
| → CoderBug joined | 21:51 |
| → lbigum joined | 21:55 |
| ← lbigum left | 21:56 |
| → trewe joined | 21:56 |
|
osse
| shlant: does fetching work? | 21:56 |
| ← nodiscc1 left | 21:56 |
| → nnyk_ joined | 21:58 |
| ← tranzfuse left | 21:58 |
| → doge_wow joined | 21:58 |
| → Internetl joined | 21:59 |
| ← Internetl left | 22:00 |
| → Internetl joined | 22:01 |
| → lbigum joined | 22:01 |
| ← adac left | 22:01 |
| ← Internetl left | 22:02 |
| → astaves joined | 22:02 |
| → russt joined | 22:02 |
| ← lbigum left | 22:02 |
| → GrafikFan4Ever joined | 22:03 |
| ← Dougie187 left | 22:03 |
| ← FortySix2 left | 22:04 |
| ← russt left | 22:06 |
| → lbigum joined | 22:06 |
| → russt joined | 22:06 |
| → axl_ joined | 22:06 |
|
shlant
| osse: not sure aobut fetch but I can't clone either | 22:07 |
|
osse
| then it sounds like a generic authentication issue | 22:08 |
| ← mmitchell left | 22:08 |
| → frobrob joined | 22:09 |
| ← ojacobson left | 22:10 |
| → zilly joined | 22:10 |
| ← treehug88 left | 22:10 |
|
zilly
| Is there a way to create a commit that's literally the opposite of a commit? So the deletions become additions and vice versa? | 22:11 |
|
osse
| zilly: git revert | 22:11 |
|
| that's exactly what it does | 22:11 |
|
zilly
| osse, ah! I was under the impression revert went back to a commit. Thanks. | 22:11 |
|
osse
| maybe you're confusing it with reset | 22:12 |
|
| which can be used to do that, but also so much more (be careful) | 22:12 |
| ← qwyeth left | 22:13 |
| → jftf joined | 22:13 |
| ← beastd left | 22:14 |
| ← m8 left | 22:14 |
| ← mribeirodantas left | 22:16 |
| ← lyzidiamond left | 22:17 |
| ← lbigum left | 22:17 |
| ← jftf left | 22:17 |
|
pnascimento
| hello | 22:18 |
|
gitinfo
| pnascimento: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 22:18 |
| → Maple__ joined | 22:18 |
| ← irqq left | 22:19 |
| → noyb joined | 22:19 |
|
pnascimento
| I’m trying to apply a patch: git am —signoff < fix001.patch | 22:21 |
|
| but this appears: “Patch failed at 0002 …” | 22:21 |
| → lbigum joined | 22:22 |
| ← lbigum left | 22:23 |
| → shlant1 joined | 22:24 |
| ← akushner left | 22:24 |
| → kishanio joined | 22:25 |
| ← ngladitz left | 22:25 |
| ← shlant left | 22:25 |
| ← pwnz0r left | 22:26 |
|
pnascimento
| anyone knows why this happens? | 22:26 |
| ← jellaby left | 22:27 |
| ← kishanio left | 22:27 |
|
kadoban
| You'd have to look at the patch failure and see why. Either the format is wrong, or it's a patch from a different starting place or...I dunno. | 22:28 |
|
pnascimento
| kadoban: this also appeared on terminal as output to “git am" | 22:29 |
|
| kadoban: “error: patch failed: setup.cfg:492” | 22:30 |
| ← Diemuzi left | 22:30 |
| ← mennea left | 22:31 |
|
kadoban
| pnascimento: Yes. A patch is just a list of changes to make, if the changes can't be made (probably because the files aren't in the expected starting state), then you have to either fix that or get a better patch. | 22:31 |
|
pnascimento
| kadoban: what is “expected starting state” ? | 22:31 |
| → CKyle joined | 22:32 |
|
kadoban
| pnascimento: Whatever starting state the patch was created from. | 22:32 |
| ← dkpi left | 22:32 |
| → ckyle_ joined | 22:32 |
| ← pbrobst left | 22:32 |
| → t-mart joined | 22:33 |
|
kadoban
| pnascimento: If you don't have some way to match up the starting state, or to just fix whatever inconsistencies arise on your end, then the workflow you're using isn't very good... | 22:33 |
| ← revyd left | 22:33 |
|
pnascimento
| kadoban: hm, I think I found with commit is messing this patch, deleting/removing it from the branch/patch it’s adviced? | 22:34 |
|
| kadoban: s/with/which/ | 22:35 |
| ← bitkiller left | 22:35 |
|
kadoban
| pnascimento: Sorry I wouldn't really be able to tell if that makes sense, it depends on exactly what you're doing. | 22:35 |
| → irqq joined | 22:36 |
| → EminenceHC joined | 22:36 |
| ← _pr0t0type_ left | 22:36 |
| → oojacoboo joined | 22:36 |
|
pnascimento
| kadoban: for this patch, I have created a new branch, then, edited every file that I needed, one file was changed by mistake, that file is the one where the “git am” fails, so for that matter: | 22:37 |
|
| kadoban: … I have some commits, theres is “special” one, where I make the changes to this file, I would like to remove that commit, should I do htat? | 22:38 |
| → revyd joined | 22:40 |
| ← CoderBug left | 22:40 |
|
kadoban
| pnascimento: I wouldn't really know. I'd need to know way more about what you're doing than I care to learn. If you make a backup and give it a try it sounds like it might be a good idea though. | 22:40 |
| ← russt left | 22:40 |
| → kushal3 joined | 22:41 |
|
pnascimento
| kadoban: hm, starting from the beginning? | 22:41 |
| ← diegoviola left | 22:41 |
| kushal3 → kus | 22:41 |
| → starkhalo joined | 22:41 |
| kus → kkus | 22:41 |
| → linuxmint joined | 22:42 |
| ← EminenceHC left | 22:42 |
|
jim
| well, to "remove" without rewriting history, you'd have to apply a diff in reverse (well, this is one way) and then commit the result | 22:42 |
|
| more generally stated, you would remove the "special" things and then commit | 22:43 |
| → Kayra joined | 22:43 |
|
jim
| given that the presence of your code has been part of the project history, it will remain in some form, just not after the one commit | 22:44 |
| ← pantsman- left | 22:44 |
| ← Kayra left | 22:45 |
| → Kayra joined | 22:45 |
| → lithiumjake joined | 22:46 |
| → cllamas joined | 22:46 |
|
linuxmint
| Hello, I'm wondering how to pull remote repository data to an existing local git folder which hasn't been used for a while. I understand git clone is for an empty local git folder. I understand git init is for an existing local folder to push up data. | 22:46 |
| ← oojacoboo left | 22:46 |
| ← beyondcreed left | 22:46 |
|
kadoban
| linuxmint: You're probably looking for 'git fetch' and then either 'git merge' or 'git rebase'. 'git pull' is another possibility, which is 'git fetch' + 'git merge', basically, but doesn't give you a chance to manually decide what to do. | 22:48 |
|
pnascimento
| kadoban: thanks for your help, mate :) | 22:48 |
|
kadoban
| pnascimento: 'welcome, hope you got it :) | 22:49 |
|
linuxmint
| kadoban: thank you, yes, I thought it was git pull, but something went wrong yesterday. I'll try again. | 22:49 |
| ← pnascimento left | 22:49 |
|
kadoban
| linuxmint: If git pull isn't working right, try 'git fetch' and then 'gitk --all' and you can see kinda visually what the different branches look like, how they're related, that may help. | 22:49 |
|
linuxmint
| kadoban: sounds helpful, will try. | 22:50 |
| ← Kayra left | 22:50 |
| → beyondcreed joined | 22:50 |
| ← sarkis left | 22:50 |
| → teran joined | 22:50 |
| ← cllamas left | 22:50 |
| ← maslowbeer left | 22:51 |
| → lbigum joined | 22:52 |
| ← lbigum left | 22:52 |
| ← t-mart left | 22:53 |
| → doitjay joined | 22:53 |
| → Rastus_Vernon joined | 22:53 |
|
BlaDe^
| hi all | 22:54 |
|
| I've just done a few days work on a branch | 22:54 |
|
| I tried to rebase it against devel and there was a HUGE amount of conflicts.. so I was running git checkout --ours <path> | 22:54 |
|
| git add <path> git rebase --continue | 22:54 |
|
| if that failed I did git rebase --skip as per its recommendation | 22:54 |
| ← mishok13 left | 22:54 |
|
BlaDe^
| however.. the result I have after the rebase is pretty far from my branch, what have i messed up / can I avoid losing 3 days of work? | 22:55 |
|
kadoban
| BlaDe^: You can almost certainly avoid losing work, git makes it pretty hard to actually lose work thankfully. Unfortunately it's hard to say exactly what you've messed up. Would it be good enough to get back your branch as it was in the recent past? | 22:56 |
|
BlaDe^
| yeah, I can do that via the reflog right? | 22:56 |
| ← Sample left | 22:56 |
|
kadoban
| BlaDe^: Yeah, exactly. That'd probably be the easiest way to go, and then try the rebase again and see if you can do better. | 22:56 |
|
BlaDe^
| 00a3f3d HEAD@{45}: rebase: checkout devel | 22:57 |
|
| 5c97e01 HEAD@{46}: checkout: moving from devel to homepageDesign | 22:57 |
|
| should I take the 45 or the 46? | 22:57 |
|
kadoban
| BlaDe^: I'd look for the log of the actual branch, that's what I usually do. I think 'git reflog blahbranch' will show it to you? | 22:58 |
| ← foist_ left | 22:58 |
| ← pnkbst left | 22:58 |
|
BlaDe^
| 594b105 homepageDesign@{0}: rebase finished: refs/heads/homepageDesign onto 00a3f3d4cd904c9e1bd592e6fe605e8f06c18a20 | 22:58 |
|
| 5c97e01 homepageDesign@{1}: commit: move videos to repo | 22:58 |
|
| kadoban: yeah looks like it should just be @{1} then ? | 22:58 |
| ← fenerlitk left | 22:58 |
|
kadoban
| BlaDe^: Looks like it to me, yeah. | 22:58 |
| → northfurr joined | 22:59 |
| ← GrafikFan4Ever left | 22:59 |
| ← axl_ left | 22:59 |
|
linuxmint
| Ok, I think I'm understanding the problem of git pull a bit more. I navigated to my local git folder and typed git pull. I received yet another error saying I should use, git pull <remote> <branch>. I typed git branch -a, which said I'm in the branch1. I just need a command to git pull everything down...kind of like a quick and easy git clone. | 23:01 |
| → axl_ joined | 23:01 |
|
kadoban
| linuxmint: Hmm. Well, if your repo doesn't have changes you want to save, easiest way is just to make a new clone and move/delete the old one. | 23:02 |
|
linuxmint
| Maybe it's easier for me to start fresh on my local computer and delete the local folder and run git clone every time. How do I delete the local git folder though as deleting doesn't seem to work. Maybe because the branch that is open on the local git folder deletes, and not other folders? | 23:02 |
|
BlaDe^
| kadoban: yeah that has brought me back | 23:02 |
|
| kadoban: can I force it to use my branch in the rebase and not conflict? | 23:02 |
|
| kadoban: it's mostly my branch patches conflicting against itself, nothing has changed relating to these files in the devel branch | 23:02 |
|
kadoban
| BlaDe^: Well...you probably can, but I'm not sure that's a thing that makes sense. Conflicts only happen if the thing you're rebasing on has conflicting changes, so usually you have to manually go in and fix them yourself, however makes sense. | 23:03 |
| ← dangerou_ left | 23:03 |
| ← axl_ left | 23:04 |
|
kadoban
| BlaDe^: git really can't help you there. The problem is that if you just say "okay, take my changes all the time", then it's unclear exactly why you're rebasing, since that would basically just mean wiping out everything in devel, no? In which case you probably just want a reset --hard or something, but that's also probably not what you want. | 23:04 |
| → breiti joined | 23:04 |
| → axl_ joined | 23:04 |
|
kadoban
| (since that would lose all work in devel) | 23:04 |
|
linuxmint
| kadoban: when you say repo, I understand you mean the remote repository. I don't know if the remote repository has changes or not after a few days...I would like to check by pulling down to my local git folder to check before I start development. | 23:04 |
|
BlaDe^
| it's actually my branch that is conflicting against itself | 23:04 |
| → FreezingCold joined | 23:04 |
|
BlaDe^
| kadoban: when I rebase applying the patches from my current branch against each other conflicts, not really sure why | 23:04 |
| → dsdeiz joined | 23:04 |
|
kadoban
| BlaDe^: Well, the thing is, that doesn't really make sense. As far as I understand, a branch /can't/ conflict against itself. If git can just replay the changes, it never screws up, only if the starting state is different are there conflicts | 23:05 |
|
BlaDe^
| isn't there like a --with=ours or similar? | 23:05 |
|
kadoban
| BlaDe^: I would look a bit more in depth at the conflicts that are happening and see if you can figure it out. | 23:06 |
|
linuxmint
| kadoban: I found it's not a matter of 'just' making a new clone. When I delete my local git folder, I think only the local git folder with the last branch used is deleted. When I make a new folder with the same folder name and git clone, I receive funny errors. | 23:06 |
|
kadoban
| BlaDe^: (there probably is something like you're asking for, but honestly I doubt it's what you want...and I don't know the exact flag) | 23:06 |
|
| linuxmint: One sec, lemme read over your last few lines) | 23:06 |
| → neunon joined | 23:07 |
|
kadoban
| linuxmint: When I say repo I mean repo in general, I think I was referring to your local one in particular. A repository is just a git directory, whatever you want to call it. | 23:07 |
| → fenerlitk joined | 23:07 |
|
kadoban
| linuxmint: You really shouldn't have to re-clone, it should be possible to just 'git pull' or the other alternatives. Maybe you just need to set up the branch you're on as a tracking branch of a remote one? | 23:08 |
| ← Anders_J left | 23:08 |
|
kadoban
| linuxmint: Hmm, I'm not sure why you'd be getting errors re your last message. Git is pretty simple with its repositories, if you delete the repository, git no longer knows anything about it. | 23:09 |
|
linuxmint
| kadoban: yes, maybe that's the problem. I will have to research how to setup every branch as it's made and document it so it's easy to know and use. | 23:09 |
|
| kadoban: might be because when I delete the folder 'my git folder' and make a new folder in the same local path 'my git folder', I think something might be cached which confused git commands. | 23:10 |
|
kadoban
| linuxmint: If you haven't (or just as a refresher) it may save you a bunch of time if you run through a simple git tutorial or two, one that covers like basic workflow stuff, how to clone and manage some tracking branches | 23:10 |
|
| linuxmint: git itself doesn't cache anything like that though, although maybe if you're using extra tools on top of git they do? | 23:10 |
| → mikey85 joined | 23:11 |
|
linuxmint
| kadoban: I'm not advanced enough to use extra tools, just trying to get git basics to work first. | 23:11 |
|
mikey85
| I just wanted to apologize for early this morning | 23:11 |
|
kadoban
| Git's repos are designed to be really about as simple as possible. They're just a directory with a .git directory inside that has the git-specific junk | 23:11 |
|
mikey85
| my grandpa slipped and fell today. It was pretty bad. | 23:11 |
| → jftf joined | 23:13 |
|
mikey85
| so, what's this drinking party? | 23:14 |
|
| a bot? | 23:14 |
|
| or do you release parties? Just wondering. | 23:14 |
| ← nnyk_ left | 23:14 |
| ← mikey85 left | 23:15 |
| ← m0ltar left | 23:15 |
| → breiti- joined | 23:15 |
| ← acharlieh left | 23:17 |
| ← irqq left | 23:17 |
| ← breiti- left | 23:18 |
| ← jftf left | 23:18 |
| ← breiti left | 23:18 |
| → minterior joined | 23:19 |
| → breiti joined | 23:19 |
| ← thedodd left | 23:20 |
| → Artpicre joined | 23:21 |
| ← FreezingCold left | 23:21 |
| ← [gmi] left | 23:21 |
| ← psoo left | 23:22 |
| ← Artpicre left | 23:22 |
| → Artpicre joined | 23:22 |
| → hkon_ joined | 23:23 |
| → FreezingCold joined | 23:23 |
| ← SonikBoom left | 23:23 |
| → oojacoboo joined | 23:24 |
| ← mishunika left | 23:26 |
| ← ckyle_ left | 23:26 |
| → mizu_no_oto joined | 23:27 |
| → CoderBug joined | 23:27 |
| ← hkon_ left | 23:27 |
| → shlant joined | 23:30 |
| ← davividal left | 23:31 |
| → ckyle_ joined | 23:31 |
| ← dsdeiz left | 23:31 |
| ← shlant1 left | 23:31 |
| ← breiti left | 23:34 |
| → breiti joined | 23:35 |
| ← sgen left | 23:37 |
| ← shruggar left | 23:38 |
| → moritzs joined | 23:38 |
| → diegoviola joined | 23:38 |
| → jimi_ joined | 23:39 |
|
jimi_
| Can someone recommend a method for keeping track of database schema changes? (This might be a bit off topic) | 23:39 |
| ← ckyle_ left | 23:39 |
| → EminenceHC joined | 23:40 |
| → glebd joined | 23:41 |
| ← FreezingCold left | 23:42 |
| → ferreum joined | 23:42 |
| → pierre1_ joined | 23:43 |
| → wakd joined | 23:43 |
| ← EminenceHC left | 23:45 |
| ← ferreum768 left | 23:45 |
| → Kayra joined | 23:45 |
| ← ghostlines left | 23:46 |
| → mishunika joined | 23:47 |
| ← richwestcoast left | 23:47 |
| → richwestcoast joined | 23:48 |
|
linuxmint
| kadoban: ok, I tried deleting the local git folder again, and it's caused a mess again. I then typed git clone which pulls the remote repository down to my local empty git folder. I typed git branch -a and here's the mess git shows http://pastebin.com/dWfREwAq | 23:48 |
| → akushner joined | 23:49 |
|
mark_t
| linuxmint, why is that a "mess"? | 23:49 |
| ← CKyle left | 23:49 |
| ← wald0 left | 23:49 |
| → CKyle joined | 23:50 |
| ← Kayra left | 23:50 |
|
jimi_
| !mysql | 23:50 |
| → lbigum joined | 23:52 |
| → Sample joined | 23:52 |
| ← akushner left | 23:53 |
| ← jovy88 left | 23:54 |
| ← astrofog left | 23:54 |
| → jovy88 joined | 23:54 |
| ← lbigum left | 23:55 |
|
linuxmint
| mark_t: usually the output shows master or user1_branch. I can then switch branch, but when I try to switch branch now, it doesn't work. I just tried git checkout user1_branch and this worked. I was trying git checkout remotes/origin/user1_branch | 23:55 |
| → zivester joined | 23:56 |
| → sarkis joined | 23:56 |
| ← roymiloh left | 23:57 |
| ← Neozonz|Disc left | 23:57 |
| → FreezingCold joined | 23:57 |
| → m0ltar joined | 23:58 |
| → lbigum joined | 23:58 |
| ← LeMike left | 23:58 |
| ← lithiumjake left | 23:59 |
| ← lbigum left | 23:59 |
| → WaReZ joined | 23:59 |