| 2017-01-24 |
| ← roelmonnens left | 00:00 |
| ← denete_ left | 00:01 |
| → hahuang65 joined | 00:06 |
| → dreiss joined | 00:08 |
| ← hahuang61 left | 00:08 |
| ← bgerber left | 00:10 |
| ← finalbeta left | 00:10 |
| → Nilesh_ joined | 00:12 |
| ← thiago left | 00:12 |
| ← shinnya left | 00:13 |
| ← Guest55 left | 00:14 |
| ← martin290 left | 00:14 |
| → ianmethyst joined | 00:14 |
| ← ikelso left | 00:14 |
| ← Rodya_ left | 00:14 |
| ← jimi_ left | 00:15 |
| → Darren_ joined | 00:15 |
| → ikelso joined | 00:15 |
| ← rominronin left | 00:15 |
| → jimi_ joined | 00:16 |
| ← cbreak left | 00:17 |
| ← BackEndCoder left | 00:18 |
| → BackEndCoder joined | 00:18 |
| ← ikelso left | 00:19 |
| ← Darcidride left | 00:20 |
| ← jimi_ left | 00:20 |
| → Guest55 joined | 00:21 |
| ← onmeac left | 00:21 |
| ← ianmethyst left | 00:21 |
| ← FeyFre left | 00:23 |
| ← mizu_no_oto left | 00:24 |
| → GodGinrai joined | 00:24 |
| → Rodya_ joined | 00:25 |
| → jimi_ joined | 00:26 |
| ← Rodya_ left | 00:27 |
| ← timvisher left | 00:27 |
| ← Darren_ left | 00:27 |
| ← Murii left | 00:27 |
| ← m0viefreak left | 00:27 |
| ← spacelord_ left | 00:28 |
| ← jimi_ left | 00:28 |
| ← GodGinrai left | 00:29 |
| → timvisher joined | 00:29 |
| → eizua joined | 00:30 |
| → cbreak joined | 00:33 |
| ← ocbtec left | 00:33 |
| → Darren_ joined | 00:33 |
| → MrJoshua joined | 00:34 |
| → Rodya_ joined | 00:34 |
| → GavinMagnus joined | 00:35 |
| ← msonntag left | 00:35 |
| → pity joined | 00:36 |
| → msonntag joined | 00:37 |
| → frostythesnowman joined | 00:38 |
| → spacelord_ joined | 00:38 |
| ← dreiss left | 00:39 |
|
frostythesnowman
| hi, i'm a bit confused with how pull requests work. i've created a new PR that compares my dev branch with master. however, when i look at the diff, it seems to be comparing my dev branch with an OLD version of master | 00:39 |
|
| i did some research and PR's are supposed compare your branch with the 'base branch'. is there some reason why it wouldn't be comparing against the 'latest' version of my base branch? | 00:39 |
| → dirtyroshi joined | 00:40 |
| ← pity left | 00:40 |
| ← Rodya_ left | 00:41 |
| ← eizua left | 00:41 |
| ← tyreld left | 00:43 |
| → Rodya_ joined | 00:43 |
| ← gugah left | 00:45 |
| ← Darren_ left | 00:45 |
| → mohabaks joined | 00:46 |
| → snits joined | 00:46 |
| ← Rodya_ left | 00:46 |
| ← spacelord_ left | 00:47 |
| ← jmpp left | 00:47 |
| → DolphinDream joined | 00:48 |
| → Rodya_ joined | 00:50 |
| → roelmonnens joined | 00:50 |
| → dreiss joined | 00:52 |
| → madewokherd joined | 00:52 |
| → fandi joined | 00:52 |
| → martin290 joined | 00:52 |
|
martin290
| can i get some help with git? i feel totally lost :( | 00:52 |
| → Lyqyd joined | 00:53 |
| ← dreiss left | 00:53 |
| ← leeN left | 00:54 |
| ← Rodya_ left | 00:54 |
| ← roelmonnens left | 00:55 |
| → Rodya_ joined | 00:55 |
| ← mohabaks left | 00:56 |
| → voldz1tic3n joined | 00:56 |
| ← WifiBrain left | 00:56 |
|
BlessJah
| !ask | 00:57 |
|
gitinfo
| Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon. | 00:57 |
| ← chardan left | 00:57 |
|
BlessJah
| martin290: !man git-checkout | 01:00 |
|
gitinfo
| martin290: The git man pages are available online at http://jk.gs/git.html. Or were you looking for the "man git-foo" syntax(without the !) ? | 01:00 |
|
| martin290: the git-checkout manpage is available at http://jk.gs/git-checkout.html | 01:00 |
| → rominronin joined | 01:00 |
| ← imachuchu left | 01:00 |
| ← Rodya_ left | 01:01 |
| ← MrWoohoo left | 01:01 |
| ← GavinMagnus left | 01:01 |
| → Rodya_ joined | 01:02 |
| → pandeiro joined | 01:03 |
| ← Starky left | 01:03 |
|
BlessJah
| martin290: to undo commited use revert, staged use reset, unstaged use checkout | 01:03 |
|
| staged == 'changes to be commited' | 01:03 |
| ← pandeiro left | 01:05 |
|
BlessJah
| I have to go to bed, I hope you'll manage with manpages and three "undo" commands | 01:05 |
|
| BlessJah computer went to sleep | 01:05 |
| → gugah joined | 01:05 |
| ← rominronin left | 01:05 |
|
martin290
| BlessJah: what is staged and unstaged? | 01:06 |
| → Atrumx joined | 01:06 |
| → Kaisyu joined | 01:07 |
| → oaao joined | 01:07 |
| → thiago joined | 01:07 |
| ← Rodya_ left | 01:08 |
| ← druonysus_ left | 01:08 |
| → syg__ joined | 01:08 |
| → MrWoohoo joined | 01:08 |
| ← redhedded1 left | 01:10 |
| → jmpp joined | 01:11 |
| ← SwiftMatt left | 01:12 |
| ← King_Hual left | 01:12 |
| → King_Hual joined | 01:12 |
| ← King_Hual left | 01:12 |
| → King_Hual joined | 01:12 |
| → Rodya_ joined | 01:12 |
| → dreiss joined | 01:13 |
| → spacelord_ joined | 01:13 |
| → UnnamedPlayer joined | 01:13 |
|
martin290
| i have a vendor folder that i don't want to commit so i ignored it, but every time i commit a change, my vendor folder changes (things get deleted in it), any ideas what i can do??? | 01:13 |
| → nckpz joined | 01:14 |
| ← timvisher left | 01:15 |
| → jtri joined | 01:16 |
|
jtri
| i have gotten very mixed up trying to rebase develop (akin to master) into my branch and the force pushing | 01:18 |
| → druonysus_ joined | 01:19 |
| ← martin290 left | 01:19 |
| → BSaboia joined | 01:19 |
| → Darren_ joined | 01:19 |
| ← Darren_ left | 01:19 |
|
jtri
| here are two looks at the graph using git log, the second is with --all http://dpaste.com/2BX8C0B http://dpaste.com/1WEZP83 | 01:20 |
|
| i'm afraid to do anything for fear of loosing my work, or overwriting something on the server | 01:21 |
| → timvisher joined | 01:21 |
|
jtri
| we've been having issues with git merge and so adopted a new strategy of rebasing the develop branch into our working branch, then merging back into develop, but it didn't go as i expected | 01:22 |
| ← Guest55 left | 01:23 |
| → Darren_ joined | 01:23 |
| ← BSAlb left | 01:23 |
| → dp joined | 01:24 |
| ← m4sk1n left | 01:25 |
|
jtri
| somehow, the pointer to "jared" branch is at a commit from 12 months ago? | 01:26 |
| ← astrofog left | 01:26 |
|
jtri
| and when i look on the website for bitbucket it's the same, my code in jared branch is not there, and the jared branch is way way way behind, by 12 months | 01:27 |
| → fahadash joined | 01:27 |
| ← jccn left | 01:28 |
| → Guest55 joined | 01:28 |
| ← Darren_ left | 01:29 |
| ← dp left | 01:29 |
| → dp joined | 01:29 |
|
jtri
| i think waht i'd like to do is move the "jared" pointer to "origin/jared" and then force push, but i really want to make sure at this point | 01:29 |
| ← dreiss left | 01:30 |
| ← dp left | 01:30 |
| → dp joined | 01:31 |
| ← dp left | 01:32 |
| ← strugee left | 01:32 |
| ← mischat left | 01:33 |
| ← King_Hual left | 01:33 |
| → dreiss joined | 01:35 |
| → Ryanar joined | 01:35 |
| → Darren_ joined | 01:37 |
| → jimi_ joined | 01:37 |
| ← jimi_ left | 01:38 |
| → mizu_no_oto joined | 01:39 |
| ← dreiss left | 01:39 |
| ← sargas left | 01:39 |
| → dreiss joined | 01:39 |
| ← Lyqyd left | 01:41 |
| → jimi_ joined | 01:41 |
| ← brent__ left | 01:41 |
| → strugee joined | 01:42 |
| → d0pamine joined | 01:42 |
| ← jimi_ left | 01:43 |
| → jimi_ joined | 01:44 |
| ← d0pamine left | 01:45 |
| → roelmonnens joined | 01:45 |
| → jameser joined | 01:46 |
| → umpc joined | 01:48 |
| → prawnzy joined | 01:48 |
| ← roelmonnens left | 01:50 |
| ← jimi_ left | 01:50 |
| → eizua joined | 01:50 |
| → dp joined | 01:52 |
| ← dp left | 01:53 |
| ← MrWoohoo left | 01:56 |
| ← overlord_tm left | 01:57 |
| ← Rodya_ left | 02:02 |
| → rominronin joined | 02:03 |
| ← Tobbi left | 02:06 |
| → denete_ joined | 02:07 |
| ← timvisher left | 02:08 |
| ← Sasazuka left | 02:09 |
| → timvisher joined | 02:10 |
| → ryouma joined | 02:11 |
| ← govg left | 02:12 |
| ← denete_ left | 02:13 |
| ← prawnzy left | 02:13 |
| → tmcmahon joined | 02:13 |
| ← jaggz left | 02:14 |
| ← matsaman left | 02:14 |
| → amikiri joined | 02:15 |
| → matsaman joined | 02:16 |
| → MrWoohoo joined | 02:19 |
| ← matsaman left | 02:20 |
| → prawnzy joined | 02:21 |
| ← tmcmahon left | 02:22 |
| ← tvw left | 02:23 |
| → GodGinrai joined | 02:25 |
| ← pks left | 02:26 |
| → pks joined | 02:28 |
| ← GodGinrai left | 02:29 |
| → pity joined | 02:30 |
| → mischat joined | 02:34 |
| → finalbeta joined | 02:34 |
| ← mizu_no_oto left | 02:35 |
| → brent__ joined | 02:35 |
| → mizu_no_oto joined | 02:38 |
| ← rominronin left | 02:38 |
| ← mischat left | 02:39 |
| ← texinwien left | 02:40 |
| ← brent__ left | 02:40 |
| → ppppp5 joined | 02:40 |
| → roelmonnens joined | 02:40 |
| ← jtri left | 02:41 |
| → aavrug joined | 02:41 |
| ← roelmonnens left | 02:45 |
| ← ilbot3 left | 02:45 |
| ← Guest55 left | 02:46 |
| ← timvisher left | 02:46 |
| → timvisher joined | 02:47 |
| → redhedded1 joined | 02:48 |
| → ilbot3 joined | 02:48 |
| → albel727 joined | 02:49 |
| ← str left | 02:49 |
| ← forrestv left | 02:50 |
| → bluepixel joined | 02:51 |
| → Vampire0_ joined | 02:53 |
| → dermoth_ joined | 02:53 |
| → forrestv joined | 02:53 |
| ← dermoth left | 02:54 |
| dermoth_ → dermoth | 02:54 |
| ← pity left | 02:54 |
| ← voldz1tic3n left | 02:56 |
| ← kulelu88 left | 02:56 |
| ← d^sh left | 02:57 |
| ← Vampire0 left | 02:57 |
| ← svm_invictvs left | 02:57 |
| → d^sh joined | 02:57 |
| → Guest55 joined | 02:57 |
| → Rodya_ joined | 03:02 |
| ← druonysus_ left | 03:05 |
| ← Vortex34 left | 03:05 |
| → druonysus_ joined | 03:05 |
| ← bruce_lee left | 03:06 |
| → bruce_lee joined | 03:06 |
| ← duderonomy left | 03:06 |
| ← sunri5e left | 03:06 |
| → MTecknology joined | 03:08 |
| → pity joined | 03:08 |
| ← Rodya_ left | 03:09 |
| → voldz1tic3n joined | 03:09 |
| ← ispn left | 03:11 |
| → sunri5e joined | 03:11 |
| ← jmpp left | 03:11 |
| → govg joined | 03:13 |
| → tmcmahon joined | 03:14 |
| → xall_ joined | 03:15 |
| ← fandi left | 03:17 |
| ← zeroshft left | 03:18 |
| → Vortex34 joined | 03:18 |
| → Nokurn joined | 03:18 |
| ← tobiasBora left | 03:18 |
| ← tmcmahon left | 03:22 |
| → matsaman joined | 03:22 |
| → digidog joined | 03:23 |
| ← Ryanar left | 03:23 |
| → jbitdrop joined | 03:25 |
| → arescorpio joined | 03:27 |
| ← digidog left | 03:27 |
| → fstd_ joined | 03:28 |
| → raspado joined | 03:28 |
| → tmcmahon joined | 03:29 |
| → SwiftMatt joined | 03:30 |
| → sklvch joined | 03:30 |
| → mehola joined | 03:31 |
|
sklvch
| I have two projects in apache using two different repos, I am able to clone/push to github with one, but not another, using the same SSH keys. Any ideas what may be causing this? | 03:31 |
| ← fstd left | 03:32 |
| fstd_ → fstd | 03:32 |
| → cdown joined | 03:34 |
| → mischat joined | 03:35 |
| ← mischat left | 03:35 |
| → rominronin joined | 03:35 |
| ← fahadash left | 03:35 |
| → roelmonnens joined | 03:35 |
| → Ryanar joined | 03:36 |
| ← tmcmahon left | 03:40 |
| ← roelmonnens left | 03:40 |
| ← chachasmooth left | 03:40 |
| ← sklvch left | 03:40 |
| ← govg left | 03:41 |
| → shamowfski joined | 03:42 |
| ← Ryanar left | 03:43 |
| → chachasmooth joined | 03:43 |
| ← timvisher left | 03:46 |
| ← mizu_no_oto left | 03:47 |
|
thiago
| people need to wait for the answer... | 03:47 |
| ← Noldorin left | 03:47 |
| ← disconnect_me_ left | 03:48 |
| → govg joined | 03:48 |
| → timvisher joined | 03:49 |
| ← jbitdrop left | 03:50 |
| → z3t0 joined | 03:51 |
| → Oatmeal joined | 03:52 |
| ← raspado left | 03:53 |
| ← ryouma left | 03:53 |
| → sargas joined | 03:57 |
| ← Nokurn left | 03:58 |
| ← amikiri left | 03:58 |
| ← z3t0 left | 03:59 |
| → Nokurn joined | 04:00 |
| → lcb joined | 04:00 |
| ← hexagoxel left | 04:01 |
| ← lcb left | 04:02 |
| → tobiasBora joined | 04:05 |
| ← pity left | 04:06 |
| → Goplat joined | 04:06 |
| ← sargas left | 04:07 |
| → hexagoxel joined | 04:07 |
| → duderonomy joined | 04:09 |
| ← rominronin left | 04:09 |
| → beatdown joined | 04:10 |
| gitinfo set mode: +v | 04:10 |
| → mohabaks joined | 04:10 |
| ← Guest55 left | 04:11 |
| ← kyan left | 04:12 |
| → pity joined | 04:13 |
| → sargas joined | 04:14 |
| → Hudu joined | 04:15 |
| ← publio left | 04:15 |
| ← Hudu left | 04:15 |
| → Rodya_ joined | 04:17 |
| → mizu_no_oto joined | 04:17 |
| ← pity left | 04:17 |
| ← msonntag left | 04:20 |
| → msonntag joined | 04:20 |
| → snowkidind joined | 04:21 |
| ← Rodya_ left | 04:21 |
| → pity joined | 04:23 |
| → cagedwisdom joined | 04:25 |
| → GodGinrai joined | 04:26 |
| ← druonysus_ left | 04:26 |
| → druonysus_ joined | 04:27 |
| → ayogi joined | 04:29 |
| → zivester joined | 04:29 |
| → nazri joined | 04:30 |
| ← GodGinrai left | 04:30 |
| → roelmonnens joined | 04:30 |
| → pietv joined | 04:33 |
| ← roelmonnens left | 04:35 |
| → mischat joined | 04:36 |
| ← aidalgol left | 04:36 |
| → danimal2 joined | 04:37 |
| → subhojit777 joined | 04:37 |
| ← mischat left | 04:41 |
| ← snowkidind left | 04:41 |
| ← CheckDavid left | 04:43 |
| ← timvisher left | 04:46 |
| → [0xAA] joined | 04:46 |
| → disconnect_me joined | 04:46 |
| ← lindenle left | 04:48 |
| → timvisher joined | 04:48 |
| ← mikecmpbll left | 04:48 |
| ← Guest91504 left | 04:49 |
| → Cabanoss- joined | 04:49 |
| ← mohabaks left | 04:50 |
| → atrigent joined | 04:50 |
| → Guest55 joined | 04:51 |
| ← atrigent_ left | 04:51 |
| → sbulage joined | 04:52 |
| ← Cabanossi left | 04:53 |
| Cabanoss- → Cabanossi | 04:53 |
| → tirej joined | 04:55 |
| ← douglascorrea left | 04:56 |
| → mohabaks joined | 04:57 |
| ← dendazen left | 04:58 |
| ← druonysus_ left | 04:58 |
| → druonysus_ joined | 04:59 |
| → ws2k3_ joined | 04:59 |
| → cdown_ joined | 04:59 |
| ← druonysus_ left | 04:59 |
| ← dermoth left | 05:00 |
| → dermoth joined | 05:00 |
| → svm_invictvs joined | 05:01 |
| ← cdown left | 05:02 |
| cdown_ → cdown | 05:02 |
| ← dirtyroshi left | 05:02 |
| ← svm_invictvs left | 05:02 |
| ← govg left | 05:02 |
| → atrigent_ joined | 05:04 |
| ← atrigent left | 05:05 |
| → rominronin joined | 05:06 |
| ← mohabaks left | 05:09 |
| → canuk_ joined | 05:11 |
| ← nazri left | 05:11 |
| → jrm2 joined | 05:11 |
| jrm2 → jrm | 05:13 |
| ← canuk left | 05:13 |
| ← arescorpio left | 05:13 |
| ← Cthalupa left | 05:16 |
| ← voldz1tic3n left | 05:18 |
| → bgerber joined | 05:19 |
| → Limes__ joined | 05:23 |
| → cluelessperson joined | 05:24 |
|
cluelessperson
| hey guys, is there a way to have Git automatically sync with a remote repo immediately when I submit something? | 05:24 |
| ← rivarun left | 05:24 |
| → rivarun joined | 05:25 |
| → roelmonnens joined | 05:26 |
| ← DolphinDream left | 05:27 |
| ← roelmonnens left | 05:30 |
| ← mizu_no_oto left | 05:33 |
| → svm_invictvs joined | 05:34 |
| ← Limes__ left | 05:35 |
| → mischat joined | 05:36 |
| ← Samual left | 05:37 |
| → TomTomTo1 joined | 05:38 |
|
kadoban
| cluelessperson: What is "submit" ? | 05:38 |
| ← TomTomTosch left | 05:41 |
| → ckruczek joined | 05:41 |
| ← mischat left | 05:41 |
| ← rominronin left | 05:42 |
|
cluelessperson
| kadoban, commit? | 05:43 |
| → ShekharReddy joined | 05:43 |
| ← prawnzy left | 05:43 |
| → Samual joined | 05:44 |
| ← ShekharReddy left | 05:44 |
| → snowkidind joined | 05:45 |
| → miczac joined | 05:45 |
| gitinfo set mode: +v | 05:45 |
|
kadoban
| cluelessperson: Sounds like a bad idea, but there is a post-commit hook. Sounds like a *really* bad idea really. Part of the nice part of git is that commits are quick and thus you're able to do them without it being disruptive to work. | 05:45 |
| → AlgorithmWizard joined | 05:47 |
| → lindenle joined | 05:48 |
| ← timvisher left | 05:49 |
| ← matsaman left | 05:49 |
|
_ikke_
| and being able to review / rewrite them before pushing | 05:49 |
| → Cthalupa joined | 05:49 |
|
_ikke_
| and without needing to pull everytime because someone else had just pushed | 05:50 |
| → sarri joined | 05:51 |
| ← sarri left | 05:51 |
| → sarri joined | 05:51 |
|
kadoban
| Right, that too | 05:51 |
| → rajat joined | 05:52 |
| ← lindenle left | 05:53 |
| → Peng_ joined | 05:53 |
| → timvisher joined | 05:53 |
| ← pietv left | 05:55 |
| → ShekharReddy joined | 05:57 |
| ← sbulage left | 05:57 |
| ← [0xAA] left | 05:58 |
| → ljc joined | 06:00 |
| → pabs3 joined | 06:02 |
| → [0xAA] joined | 06:05 |
| ← pks left | 06:06 |
| → pks joined | 06:07 |
| ← mns left | 06:08 |
| → dec0n joined | 06:09 |
|
pabs3
| anyone have any tips on how to get my gitk patch accepted? http://public-inbox.org/git/20161225140611.30536-1-pabs3@bonedaddy.net/ | 06:09 |
|
grawity
| was it rejected, or just ignored? | 06:10 |
| → sargas_ joined | 06:10 |
|
pabs3
| I think the latter. I CCed the gitk maintainer | 06:11 |
| → leprechau joined | 06:12 |
| → govg joined | 06:12 |
|
_ikke_
| I believe someone else is maintaining it | 06:13 |
| → Levex joined | 06:13 |
| ← sargas left | 06:13 |
|
_ikke_
| Might be wrong | 06:13 |
| ← snowkidind left | 06:13 |
|
pabs3
| hmm, ok. any idea who? | 06:14 |
| ← cdown left | 06:15 |
|
pabs3
| all the commits Junio merged recently were from the person I CCed (Paul Mackerras [email@hidden.address] | 06:16 |
|
_ikke_
| Right\ | 06:16 |
| ← xall_ left | 06:16 |
|
_ikke_
| It is probable him then | 06:16 |
| → xall_ joined | 06:18 |
| → Rodya_ joined | 06:18 |
| → drbean joined | 06:19 |
| ← peepsalot left | 06:19 |
|
osse
| pabs3: No shame in resending after a week or so. Has happened to me before, and I think Junio has even said so | 06:20 |
|
pabs3
| has been a month, so will do. guess I'll CC again | 06:20 |
| → sbulage joined | 06:20 |
| ← Darren_ left | 06:21 |
| ← nckpz left | 06:22 |
| ← Rodya_ left | 06:23 |
| → nckpz joined | 06:23 |
| ← Boniche left | 06:24 |
| ← bgerber left | 06:24 |
| → mns joined | 06:24 |
| → Boniche joined | 06:25 |
| → jay-m joined | 06:26 |
| → GodGinrai joined | 06:27 |
| ← kadoban left | 06:27 |
| ← madewokherd left | 06:29 |
| ← Zamyatin left | 06:31 |
| → safe joined | 06:31 |
| ← GodGinrai left | 06:31 |
| → tarkus joined | 06:34 |
| ← timvisher left | 06:34 |
| ← mehola left | 06:35 |
| → mischat joined | 06:37 |
| ← tarkus left | 06:38 |
| → rominronin joined | 06:39 |
| → jnavila joined | 06:41 |
| → tubaman joined | 06:41 |
| → mathematic-alpha joined | 06:41 |
| ← ParticleGolem left | 06:41 |
| ← mathematic-alpha left | 06:42 |
| ← mischat left | 06:42 |
| → brent__ joined | 06:42 |
| ← nckpz left | 06:43 |
| ← spacelord_ left | 06:44 |
| ← jnavila left | 06:47 |
| ← brent__ left | 06:47 |
| → Raging_Hog joined | 06:48 |
| → Hudu joined | 06:49 |
| ← Hudu left | 06:49 |
| ← safe left | 06:50 |
| → peepsalot joined | 06:50 |
| → ParticleGolem joined | 06:50 |
| → ThomasLocke joined | 06:50 |
| → zeroed joined | 06:52 |
| ← jaafar left | 06:54 |
| ← miczac left | 06:54 |
|
osse
| I've added the Git for Windows repos in MSYS2 but have problems getting updates. Can anyone confirm? | 06:55 |
| ← jay-m left | 06:56 |
| → ThomasLocke_ joined | 06:57 |
| ← ThomasLocke_ left | 06:57 |
| → ThomasLocke_ joined | 06:57 |
| → jay-m joined | 06:58 |
| → navidr joined | 06:59 |
| ← mns left | 06:59 |
| ← zeroed left | 07:00 |
| → Rodya_ joined | 07:00 |
| → spacelord_ joined | 07:01 |
| → jagob joined | 07:01 |
| → mohabaks joined | 07:01 |
| ← jameser left | 07:02 |
| ← [0xAA] left | 07:02 |
| ← Nokurn left | 07:03 |
| ← eizua left | 07:04 |
| ← drbean left | 07:05 |
| ← pabs3 left | 07:05 |
| ← Rodya_ left | 07:05 |
| → zeroed joined | 07:05 |
| ← zeroed left | 07:05 |
| → zeroed joined | 07:05 |
| → freimatz joined | 07:05 |
| → MrMojito joined | 07:06 |
| ← mohabaks left | 07:06 |
| → mehola joined | 07:07 |
| ← zeroed left | 07:07 |
| → Mo joined | 07:09 |
| → t0by joined | 07:09 |
| → Alienpruts joined | 07:09 |
| → mns joined | 07:11 |
| → jameser joined | 07:11 |
| → lb1c joined | 07:11 |
| ← rominronin left | 07:13 |
| → sQVe joined | 07:14 |
| ← albel727 left | 07:14 |
| ← Singmyr left | 07:16 |
| → albel727 joined | 07:16 |
| ← pity left | 07:17 |
| → ngm joined | 07:18 |
| → chele joined | 07:19 |
| → [0xAA] joined | 07:20 |
| → xcesariox joined | 07:21 |
| → roelmonnens joined | 07:22 |
| → cyan__ joined | 07:22 |
| → zeroed joined | 07:23 |
| → rominronin joined | 07:26 |
| ← albel727 left | 07:27 |
| → texinwien joined | 07:27 |
| ← djb-irc left | 07:27 |
| ← UnnamedPlayer left | 07:28 |
| ← shamowfski left | 07:28 |
| → eduardas_m joined | 07:29 |
| → UnnamedPlayer joined | 07:32 |
| → markzen joined | 07:33 |
|
markzen
| hi | 07:33 |
|
gitinfo
| markzen: 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. | 07:33 |
|
osse
| my name is | 07:34 |
| → jnavila joined | 07:34 |
|
markzen
| how do you make an initial commit, after git init, to a branch different than master? | 07:34 |
|
| eg. to some 'dev' branch | 07:35 |
|
grawity
| a) commit, then rename master to whatever | 07:35 |
|
| or b) git symbolic-ref HEAD refs/heads/dev, then commit | 07:35 |
|
| or actually, doesn't `git checkout -b dev` work? | 07:35 |
|
Knirch
| checkout -b dev works just fine :) | 07:35 |
|
markzen
| can i checkout sth just after a git init? | 07:35 |
|
Knirch
| yes | 07:35 |
|
osse
| you can checkout any time you like, but you can never leave | 07:36 |
|
grawity
| -b doesn't actually check out anything, it creates a new branch for the current workdir, so it should work | 07:36 |
|
markzen
| nice, tyvm | 07:36 |
| → ihradek joined | 07:38 |
|
markzen
| in the same vein, how do you definitively erase all commits but the last one? | 07:38 |
|
grawity
| whyyyyyyyyy | 07:38 |
|
markzen
| if you've been fooling around in master, and you want to make your repo public | 07:38 |
|
grawity
| but I suppose you could `git checkout --orphan` then re-commit | 07:38 |
| → mischat joined | 07:38 |
|
grawity
| or publish it as is, who cares | 07:38 |
|
osse
| markzen: git checkout --orphan newbranch; git commit -m 'Init'; git branch -M master | 07:39 |
|
grawity
| there are other ways, could use `git replace` to edit out the parent from the commit | 07:39 |
|
| (`git replace --edit` that is, then bake it in) | 07:39 |
| ← nowhere_man left | 07:39 |
| ← b100s left | 07:39 |
|
jast
| my personal favourite for that: 1) git reset --soft <ID of first commit>; git commit --amend -C HEAD@{1} | 07:40 |
|
| because more cryptic ;) | 07:40 |
| ← rivarun left | 07:40 |
| → albel727 joined | 07:40 |
|
markzen
| thx, didn't know about git replace | 07:40 |
| → rivarun joined | 07:40 |
|
grawity
| if you want cryptic, git reset --soft $(git cat-file @ | sed /^parent/d | git hash-object -t commit --stdin) | 07:41 |
| ← spacelord_ left | 07:41 |
| ← sargas_ left | 07:41 |
| → JeroenT joined | 07:41 |
| ← ngm left | 07:42 |
| → ferr1 joined | 07:42 |
| ← t0by left | 07:42 |
|
osse
| even more cryptic; rm -rf .git; git init; git commit -m Init | 07:42 |
|
| with a git add . somewhere | 07:43 |
| ← mischat left | 07:43 |
|
grawity
| hah | 07:43 |
|
markzen
| ok thanks all | 07:43 |
| ← rivarun left | 07:44 |
| ← Atm0spher1c left | 07:44 |
| ← mehola left | 07:45 |
| ← ThomasLocke_ left | 07:45 |
|
jast
| grawity: yeah, yours is more cryptic, but it will potentially mess up the commit message | 07:46 |
| ← rajat left | 07:46 |
|
jast
| also, you forgot the type arg for cat-file :} | 07:46 |
|
| and the -w for hash-object | 07:47 |
| → rivarun joined | 07:48 |
| ← subhojit777 left | 07:49 |
| ← boombatower left | 07:50 |
| ← gugah left | 07:50 |
| ← Gloomy left | 07:51 |
| → ac3takwas joined | 07:54 |
| ← cyan__ left | 07:55 |
| ← dreiss left | 07:55 |
| ← chipotle left | 07:56 |
| ← markzen left | 07:56 |
| ← sQVe left | 07:57 |
| → landstrider joined | 07:58 |
| → zefferno joined | 07:59 |
| → Atm0spher1c joined | 07:59 |
| ← Guest55 left | 07:59 |
| → Singmyr joined | 07:59 |
| ← landstrider left | 07:59 |
| ← ash_workz left | 08:00 |
| ← Atm0spher1c left | 08:00 |
| → Disgeae joined | 08:02 |
| ← rominronin left | 08:03 |
| → hhee joined | 08:05 |
| → overlord_tm joined | 08:05 |
| → chipotle joined | 08:06 |
| ← eduardas_m left | 08:07 |
| ← msonntag left | 08:10 |
| → msonntag joined | 08:10 |
| → lordjancso joined | 08:11 |
| → roelmonn_ joined | 08:11 |
| ← roelmonnens left | 08:15 |
| ← govg left | 08:16 |
| → zerotresBR joined | 08:17 |
| → rominronin joined | 08:18 |
| → djb-irc joined | 08:19 |
| ← danimal2 left | 08:19 |
| ← gigq left | 08:20 |
| → leeN joined | 08:23 |
| ← djb-irc left | 08:24 |
| → guampa joined | 08:24 |
| → TomyLobo joined | 08:24 |
| ← mns left | 08:25 |
| → treehug88 joined | 08:27 |
| → GodGinrai joined | 08:27 |
| → runlevl4 joined | 08:28 |
| ← dhollinger left | 08:29 |
| → jknetl joined | 08:30 |
| → nowhere_man joined | 08:31 |
| → dhollinger joined | 08:31 |
| → mns joined | 08:32 |
| ← GodGinrai left | 08:32 |
| ← roelmonn_ left | 08:35 |
| → roelmonnens joined | 08:35 |
| → mathematic-alpha joined | 08:36 |
| ← mathematic-alpha left | 08:36 |
| → mathematic-alpha joined | 08:36 |
| ← mathematic-alpha left | 08:37 |
| → djb-irc joined | 08:37 |
| → elect__ joined | 08:38 |
| → govg joined | 08:38 |
| → Tobbi joined | 08:38 |
| → pietv joined | 08:38 |
| ← pietv left | 08:39 |
| → Balliad joined | 08:42 |
| → eduardas_m joined | 08:44 |
| → roelmonn_ joined | 08:45 |
| → Hudu joined | 08:45 |
| → smithbone joined | 08:45 |
| ← roelmonn_ left | 08:46 |
| ← roelmonnens left | 08:46 |
| → mehola joined | 08:46 |
| → roelmonnens joined | 08:46 |
| → theoceaniscool joined | 08:49 |
| ← mehola left | 08:50 |
| → tvw joined | 08:52 |
| → lindenle joined | 08:52 |
| ← zacts left | 08:54 |
| → mikecmpbll joined | 08:56 |
| → pietv joined | 08:57 |
| ← lindenle left | 08:57 |
| → amikiri joined | 08:58 |
| → King_Hual joined | 08:58 |
| → Xatenev joined | 09:02 |
|
Xatenev
| Hi | 09:02 |
| → Rodya_ joined | 09:02 |
| → sparetire joined | 09:02 |
| ← amikiri left | 09:02 |
| → durham joined | 09:02 |
|
osse
| my name is | 09:04 |
| gitinfo set mode: +v | 09:04 |
|
ckruczek
| hahah | 09:04 |
| → vuoto joined | 09:05 |
| → rajat joined | 09:06 |
| ← Rodya_ left | 09:06 |
| → bongjovi joined | 09:07 |
| → Murii joined | 09:08 |
| → miczac joined | 09:09 |
| gitinfo set mode: +v | 09:09 |
| → kurkale6ka joined | 09:09 |
| ← sbulage left | 09:09 |
| ← todd_dsm left | 09:09 |
|
Xatenev
| Hi | 09:10 |
| → mohabaks joined | 09:10 |
|
Xatenev
| I used git log -S 'string' --source --all to find all commits that changed/introduced a specific string | 09:10 |
|
| That gives me a bunch of weird messages like: | 09:11 |
|
| C:/Users/myUser/AppData/Local/Temp/file1.dot is not a Word Document. | 09:11 |
|
| Error: PDF file is damaged - attemping to reconstruct xref table... | 09:11 |
|
| Wtf is that? | 09:11 |
|
osse
| I have no idea. Have you installed some custom diff viewer thing? | 09:12 |
|
Xatenev
| Not that I know of. | 09:12 |
|
| I am using PHPStorm's diff viewer to do that | 09:12 |
| → cqi joined | 09:12 |
|
Xatenev
| It shows me the correct commits for that change though. | 09:13 |
| → marcogmonteiro joined | 09:13 |
|
Xatenev
| Just that weirdb unch of messages after | 09:13 |
|
osse
| does it go away if you remove -S string ? | 09:13 |
|
Xatenev
| You mean only git log --source --all? | 09:13 |
| → pity joined | 09:13 |
|
osse
| oui | 09:13 |
|
Xatenev
| Seems like. | 09:13 |
|
| Tho I can't scroll through all commits now | 09:14 |
|
osse
| Xatenev: cat .gitattributes | 09:14 |
|
Xatenev
| Maybe they get shot at the end and I just dont see it. | 09:14 |
| ← JeroenT left | 09:14 |
| → rkazak joined | 09:14 |
|
Xatenev
| I dont have that file | 09:14 |
| → JeroenT joined | 09:14 |
| → GodGinrai joined | 09:14 |
|
osse
| cat .git/info/attributes | 09:14 |
|
Xatenev
| I dont have attributes there | 09:15 |
|
| only exclude | 09:15 |
|
| I am on windows btw | 09:15 |
|
osse
| git config --get-regexp '.*diff.*' | 09:15 |
| ← perlpilot left | 09:15 |
|
osse
| noob me. git config --get-regexp diff | 09:15 |
|
Xatenev
| That worked though | 09:15 |
|
| Obv i have weird diff tools | 09:15 |
|
| for some reason. | 09:15 |
|
osse
| \o/ | 09:16 |
|
Xatenev
| KDiff3 and meld | 09:16 |
| ← zeroed left | 09:16 |
|
Xatenev
| I go uninstall them | 09:16 |
|
osse
| oh, no that's fine. git log shouldn't launch a diff tool | 09:16 |
| → JeroenT_ joined | 09:16 |
|
Xatenev
| How can I remove them as git diff viewer thing? | 09:17 |
|
| I uninstalled the programs but they are still listed | 09:17 |
| ← JeroenT left | 09:17 |
|
osse
| edit the config | 09:17 |
|
| that's probably not the problem though | 09:17 |
|
Xatenev
| I dont need them tho | 09:18 |
| → zeroed joined | 09:18 |
| ← zeroed left | 09:18 |
| → zeroed joined | 09:18 |
|
Xatenev
| Nope its not the problem. | 09:18 |
|
osse
| Xatenev: do GIT_TRACE=/tmp/lol.txt git log -S ... etc. and show me /tmp/lol.txt | 09:18 |
| → bernardio joined | 09:19 |
| ← GodGinrai left | 09:19 |
| ← Naan left | 09:19 |
| → ChiLL_SurF joined | 09:19 |
| ← bernardio left | 09:20 |
| → zacts joined | 09:20 |
|
Xatenev
| No output? | 09:21 |
|
| can this be possible? :P | 09:21 |
|
osse
| you used the actual git log command right? | 09:21 |
|
Xatenev
| ye | 09:21 |
|
osse
| not literally what I wrote | 09:21 |
| ← pity left | 09:21 |
|
Xatenev
| maybe he cannot write to /tmp/ | 09:21 |
| ← xall_ left | 09:22 |
|
Xatenev
| can I set GIT_TRACE=./tmp ? | 09:22 |
|
osse
| no | 09:22 |
|
| do GIT_TRACE=1 git log ... 2>lol.txt | 09:22 |
| → pity joined | 09:22 |
|
Xatenev
| That outputs the correct thing | 09:22 |
|
| All the commits foun din the lol.txt | 09:22 |
|
| And only that. | 09:23 |
|
osse
| can you show me the complete lol.txt | 09:23 |
| → xall_ joined | 09:23 |
|
Xatenev
| https://bpaste.net/show/c3e8a70408dc | 09:23 |
|
osse
| fuck me | 09:23 |
|
Xatenev
| I only x'ed out names and stuff | 09:23 |
|
osse
| you cannot possible have run what i said | 09:23 |
|
| notice the 2 in front of the > | 09:24 |
| → nettoweb joined | 09:24 |
|
Xatenev
| Oh I didnt write the 2 | 09:24 |
|
| My bad | 09:24 |
|
| Oh | 09:24 |
|
| Now all the bad lines are in the lol.txt | 09:24 |
|
| And the correct things are output in the git bash | 09:24 |
|
| and only them | 09:24 |
|
osse
| show me | 09:25 |
|
Xatenev
| https://bpaste.net/show/e02a395f0643 | 09:25 |
|
| are there docs on 2>? :P | 09:25 |
|
| What does that mena | 09:25 |
|
osse
| that's regular shell redirection | 09:25 |
|
Xatenev
| What does that mean | 09:25 |
|
osse
| it makes standard error go to the given file | 09:25 |
|
| man bash | 09:25 |
|
Xatenev
| ah | 09:26 |
|
| thanks :) | 09:26 |
|
osse
| do you remember whether you have installed any sort of diff thing for viewing documents? | 09:26 |
| → clmsy joined | 09:26 |
| → t0by joined | 09:26 |
| ← t0by left | 09:26 |
| → t0by joined | 09:26 |
|
osse
| and you remembered GIT_TRACE=1 too right?? | 09:26 |
|
Xatenev
| ye i did that | 09:26 |
|
| Umm | 09:26 |
|
| not rly | 09:27 |
|
| Don't think I got any other diff tools, I can search through my programs quick tho | 09:27 |
|
| Maybe I find something weird | 09:27 |
|
osse
| GIT_TRACE=1 git... not GIT_TRACE=1; git | 09:27 |
|
| because that file is not what I expect | 09:27 |
|
Xatenev
| Well | 09:27 |
|
| im not listening to you sorry, sec :( | 09:28 |
|
| I though tthose are two commands. | 09:28 |
|
osse
| they are not | 09:28 |
|
Xatenev
| osse: https://bpaste.net/show/57b48d45e07b | 09:28 |
| ← syg__ left | 09:29 |
|
osse
| that's better | 09:29 |
|
| now tell me, what the hell is astextplain ? | 09:29 |
| ← mindfart left | 09:29 |
| ← mohabaks left | 09:29 |
| → interrobangd joined | 09:30 |
|
Xatenev
| I dont know | 09:30 |
|
| I never heard of that | 09:30 |
|
| And i definetly never installed that. | 09:30 |
|
| (Manually) | 09:30 |
|
osse
| it's causing the problem | 09:30 |
|
| do git ls-files | grep .giattributes | xargs cat | 09:30 |
|
| oops | 09:30 |
|
| do git ls-files | grep .gitattributes | xargs cat | 09:30 |
| → quackgyver joined | 09:30 |
|
Xatenev
| https://github.com/msysgit/msysgit | 09:30 |
|
| I think when I started working here, my git has been installed with this | 09:30 |
|
| From some sysadmin | 09:31 |
|
| on my pc. | 09:31 |
|
| "diff=astextplain (msysGit only): converts those files (under the condition that their extension be *.doc, *.pdf, *.rtf, etc.) to a text format before generating their diff." | 09:31 |
|
osse
| yes, there we go | 09:31 |
|
| you have at least one .gitattributes file | 09:31 |
|
Xatenev
| Wheres that | 09:31 |
|
osse
| remove the | xargs git part | 09:31 |
|
| that file is telling git to use astextplain to produce the diff output | 09:31 |
|
Xatenev
| So only git ls-files | grep .gitattributes ? | 09:32 |
| ← pity left | 09:32 |
|
osse
| yes, trust yuorself | 09:32 |
|
Xatenev
| That outputs nothing | 09:32 |
| ← t-mart left | 09:32 |
| ← clmsy left | 09:33 |
|
osse
| i don't believe you | 09:33 |
|
Xatenev
| I can post you an image | 09:33 |
|
| xD | 09:33 |
|
| wait | 09:33 |
|
osse
| sure | 09:33 |
| ← svm_invictvs left | 09:34 |
|
Xatenev
| osse: http://i.imgur.com/UjKaTBP.png | 09:34 |
| → reto_ joined | 09:35 |
| ← freimatz left | 09:35 |
|
osse
| now why did the one with | xargs cat print something? | 09:35 |
|
Xatenev
| It didnt | 09:35 |
|
osse
| fuck | 09:35 |
| gitinfo set mode: +v | 09:35 |
|
osse
| where did that diff=astextplain come from then | 09:35 |
|
Xatenev
| I dunno | 09:36 |
| → pity joined | 09:36 |
|
osse
| you don't know!?!?! | 09:36 |
|
| you pasted it here, where did you copy it from?!? | 09:36 |
|
reto_
| I can't find a way to set 'rename-threshold' in the .gitconfig file | 09:37 |
|
Xatenev
| osse: What? | 09:37 |
|
reto_
| is this possible? | 09:37 |
|
Xatenev
| osse: I copied it from the output? | 09:37 |
| ← tirej left | 09:37 |
|
Xatenev
| osse: Lol you mean that what I quoted. | 09:37 |
|
| osse: That was from a stackoverflow page that mentioned astextplain | 09:38 |
| ← robattila256 left | 09:38 |
|
Xatenev
| "http://stackoverflow.com/questions/28146244/what-is-the-difference-between-diff-and-diff-astextplain" | 09:38 |
|
| And it says: "The string value astextplain is not part of Git core: in fact, runninggit grep "astextplain" in the Git project repository returns nothing. As far as I can tell, it's a shell script that ships with msysGit and allows you to convert files such as" | 09:38 |
| ← jay-m left | 09:38 |
|
osse
| Xatenev: is it mentioned in git config --get-regexp diff ? | 09:38 |
|
Xatenev
| yep | 09:38 |
|
| Its not in my .gitconfig though | 09:38 |
|
barteks2x
| I somehow ended up in state "HEAD detached from <something>", how to fix it? | 09:39 |
|
osse
| ok, next time jsut show me everything my commands print | 09:39 |
| ← rajat left | 09:39 |
|
Xatenev
| sorry | 09:39 |
|
| diff.astextplain.textconv astextplain | 09:39 |
|
osse
| firstly, your git is really old. | 09:39 |
| → mischat joined | 09:39 |
|
Xatenev
| yeap | 09:39 |
|
osse
| secondly, you msut go to C:\Program\ Files\wherever and edit the config file | 09:39 |
|
Xatenev
| The config file of what | 09:39 |
|
| Of astextplain? | 09:39 |
|
osse
| Git | 09:39 |
|
Xatenev
| Where is that in that folder | 09:40 |
|
| You mean etc/gitconfig ? | 09:40 |
|
osse
| wherever git is installed | 09:40 |
|
Xatenev
| Yea here it is | 09:40 |
|
osse
| do git config -l | grep astextplain | 09:40 |
|
Xatenev
| Git/etc/gitconfig [diff "astextplain"] | 09:40 |
|
barteks2x
| and reflog is a bit unhelpful. All I see is clone, then checkout, and then commit | 09:40 |
| → b100s joined | 09:40 |
|
Xatenev
| osse: It worked now the weird lines are gone | 09:41 |
|
| osse: thank you :) | 09:41 |
| ← govg left | 09:41 |
| ← donught left | 09:41 |
| → robattila256 joined | 09:42 |
| ← mischat left | 09:42 |
| → govg joined | 09:42 |
| → mischat joined | 09:42 |
|
reto_
| is ist possible configure git merge -X rename-threshold with .gitconfig? | 09:43 |
|
osse
| Xatenev: ooor maybe it's your files that are broken since astextplain stopped working. I see that astextplain is still a part of the newest git for windows | 09:43 |
|
jast
| barteks2x: does this explanation help to understand what might have happened? !detached | 09:43 |
|
gitinfo
| barteks2x: A detached HEAD (aka "no branch") occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach | 09:43 |
| ← King_Hual left | 09:43 |
| ← pity left | 09:43 |
|
barteks2x
| I'm in a submodule | 09:43 |
|
| but still not idea how it happened | 09:44 |
| → chll_ joined | 09:44 |
|
barteks2x
| I simply added a submodule and added one commit | 09:44 |
|
jast
| in submodules the detached state is normal, because submodules normally tie themselves to a specific commit instead of following a branch | 09:46 |
|
barteks2x
| so I should just leave it that way? | 09:46 |
|
jast
| it's not exactly straightforward to work directly inside a submodule, and submodules are not at all designed for keeping your own changes in the submodule without putting them in the upstream repo (if that's what you're trying to do, you might want to look into alternatives) | 09:47 |
| → Serpent7776 joined | 09:47 |
| → mehola joined | 09:47 |
|
barteks2x
| I want to push the changes | 09:48 |
| ← mischat left | 09:48 |
|
jast
| well, you *can* leave it as it is, but the commit you made on top of the detached HEAD is likely to get lost at some point, so... maybe not :) | 09:48 |
| ← Xatenev left | 09:48 |
| → mischat joined | 09:48 |
|
jast
| are the main repo and the repo for the submodule both maintained by you? | 09:48 |
|
barteks2x
| yes | 09:49 |
|
jast
| okay. do you want your change to end up in the submodule's upstream repo, too? | 09:49 |
|
| I guess you do, if you're trying to push | 09:50 |
|
barteks2x
| where "submodule's upstream repo" is? I'm confused as to what it would be | 09:50 |
|
jast
| the source for your submodule, whatever URL you used for adding it | 09:50 |
| → cr34ton joined | 09:50 |
|
barteks2x
| yes, I have it on github and I want to push my changes. It seemed to work before (the same submodule but in different project) | 09:51 |
|
jast
| right, probably because HEAD was not detached there | 09:51 |
|
| okay, you can work this way, you just have to remember to check whether the submodule's HEAD got detached | 09:51 |
| ← finalbeta left | 09:51 |
|
jast
| this time we're going to copy the commit back onto the branch, and in the future you just have to remember to checkout the branch before committing | 09:52 |
| → finalbeta joined | 09:52 |
|
barteks2x
| I use submodule for a simple library that is usually changed together with the project I use it in | 09:52 |
| ← mehola left | 09:52 |
|
jast
| to copy the commit, do the following: 1) git checkout thebranch (e.g. master), 2) git cherry-pick HEAD@{1} (this copies over the commit that was at HEAD immediately before switching back to the branch) | 09:53 |
| ← energizer left | 09:53 |
|
jast
| then you can do a quick 'git log' to make sure the result looks sensible | 09:53 |
|
barteks2x
| how does it end up with detached head in the first place? | 09:54 |
|
osse
| git submodule update | 09:54 |
|
| for example | 09:54 |
|
jast
| it's something git's submodule feature always does when updating the submodule | 09:54 |
|
| anyway, after that you should be able to push. one more thing: as I said before, submodules are tied to a specific commit. this means that if you push your main repo and clone it somewhere else, the clone will still give you the older commit in the submodule. telling the main repo to point to another commit in the submodule is a separate step, it's pretty simple: | 09:54 |
|
| in the main repo, 'git add path/to/submodule' followed by 'git commit' | 09:54 |
|
barteks2x
| yes, I understand that. This is how I did it since the beginning but I've never seen it create detached head | 09:55 |
|
jast
| alternatively you can use submodules differently, so that they follow a branch instead of tracking a specific commit. that should make it more natural to work with for what you seem to want to do. I'm not very familiar with that mode of submodules, though, so I can't tell you much about it. | 09:55 |
| → rnsanchez joined | 09:56 |
|
barteks2x
| ideally I would like to completely stop using submodule but it will have to wait | 09:56 |
| ← djb-irc left | 09:58 |
| → SilverBe joined | 09:59 |
| ← dec0n left | 10:00 |
| Vampire0_ → Vampire0 | 10:01 |
| ← cqi left | 10:01 |
| → jay-m joined | 10:01 |
| → tirej joined | 10:02 |
| → dec0n joined | 10:02 |
| → Rodya_ joined | 10:02 |
|
barteks2x
| in all the mess I created, I lost my changes, without any clear idea how :( | 10:04 |
|
| wait, no, I was looking in the wrong repository | 10:05 |
| ← rasto left | 10:06 |
| ← SwiftMatt left | 10:06 |
| ← jfr left | 10:06 |
| → jsolano joined | 10:07 |
| ← Rodya_ left | 10:07 |
| → m4sk1n joined | 10:07 |
| → causasui joined | 10:08 |
| → achadwick joined | 10:10 |
| → DarsVaeda joined | 10:12 |
| ← marcogmonteiro left | 10:12 |
|
DarsVaeda
| hi, I'm on master and changed some files but did not commit, unfortunately these changes should have gone to a new branch, but I forgot to add that branch and change to it before changing the files | 10:14 |
| → cdown joined | 10:14 |
|
DarsVaeda
| I wonder: if I add the new branch now and change to it, would that work too? | 10:14 |
|
tobiasvl
| DarsVaeda: yes: !float | 10:16 |
|
gitinfo
| DarsVaeda: 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. | 10:16 |
| ← jameser left | 10:18 |
| → rasto joined | 10:19 |
| → ShapeShifter499 joined | 10:19 |
| → jfr joined | 10:20 |
| → mischat_ joined | 10:26 |
| ← miczac left | 10:28 |
| ← felher_ left | 10:28 |
| → Mir4g3 joined | 10:28 |
| → goTAN joined | 10:29 |
| → cdown_ joined | 10:29 |
| ← mischat left | 10:30 |
|
DarsVaeda
| ah thanks! | 10:31 |
| ← cdown left | 10:32 |
| cdown_ → cdown | 10:32 |
| → syg__ joined | 10:33 |
| → marcogmonteiro joined | 10:34 |
| → Gloomy joined | 10:36 |
| ← Tobbi left | 10:36 |
| ← Alienpruts left | 10:37 |
| → Alienpruts joined | 10:39 |
| ← dsdeiz left | 10:40 |
| → manuelschneid3r joined | 10:41 |
| ← chipotle left | 10:42 |
| → aw1 joined | 10:42 |
| → ngm joined | 10:42 |
|
mikecmpbll
| ack, this should be a simple question as i've done it before but my googling is failing me: how can i retrieve a commit message from a commit that i've reset? | 10:48 |
|
| (reset to before the commit) | 10:48 |
| ← Goplat left | 10:48 |
|
osse
| mikecmpbll: reflog | 10:49 |
|
tobiasvl
| mikecmpbll: if you have the SHA, just "git show SHA". if not, find the SHA in "git reflog" | 10:49 |
|
osse
| gti show branch@{1} for example | 10:49 |
| ← finalbeta left | 10:49 |
|
mikecmpbll
| ahh, `git show` :] | 10:49 |
|
| i could see it there in the reflog but just the one line | 10:49 |
| → YuGiOhJCJ joined | 10:49 |
|
mikecmpbll
| thanks osse , tobiasvl ! | 10:49 |
| → finalbeta joined | 10:49 |
|
osse
| mikecmpbll: you can commit the message directly if you create a new commit: git commit -C abc1234 | 10:50 |
|
mikecmpbll
| osse : ahh yeh, that's the command i'd done before that i couldn't recall. super, thanks :) | 10:50 |
| ← theoceaniscool left | 10:52 |
| → theoceaniscool joined | 10:54 |
| ← zeroed left | 10:55 |
| ← DarsVaeda left | 10:58 |
| ← xall_ left | 11:00 |
| ← rkazak left | 11:00 |
| ← jay-m left | 11:02 |
| → LBV_User joined | 11:02 |
| → masuberu joined | 11:02 |
| → jay-m joined | 11:03 |
| → Snugglebash joined | 11:03 |
| → Rodya_ joined | 11:03 |
| → aswen joined | 11:04 |
| → ShalokShalom_ joined | 11:05 |
| ← finalbeta left | 11:06 |
| → finalbeta joined | 11:06 |
| ← Rodya_ left | 11:08 |
| ← ShalokShalom left | 11:09 |
| → svm_invictvs joined | 11:10 |
| ← hhee left | 11:10 |
| → gigq joined | 11:10 |
| → t-mart joined | 11:11 |
| → afuentes joined | 11:11 |
| ← navidr left | 11:11 |
| → megamnrld joined | 11:12 |
| → dersand joined | 11:12 |
| ← goTAN left | 11:12 |
| ← msonntag left | 11:12 |
| → goTAN joined | 11:13 |
| ← JeroenT_ left | 11:13 |
| → msonntag joined | 11:14 |
| → mohabaks joined | 11:14 |
| ← Nilesh_ left | 11:14 |
| ← svm_invictvs left | 11:14 |
| ← jsolano left | 11:15 |
| → zeroed joined | 11:16 |
| → xall_ joined | 11:17 |
| → irco joined | 11:17 |
| ← msonntag left | 11:18 |
| ← mohabaks left | 11:19 |
| → msonntag joined | 11:19 |
| → sbulage joined | 11:20 |
| ← BackEndCoder left | 11:22 |
| ← vuoto left | 11:22 |
| → BackEndCoder joined | 11:22 |
| → IndigoTiger joined | 11:22 |
| → chipotle joined | 11:26 |
| ShalokShalom_ → ShalokShalom | 11:26 |
| ← megamnrld left | 11:28 |
| ← pietv left | 11:29 |
| → vuoto joined | 11:29 |
| → nahra joined | 11:30 |
| → freimatz joined | 11:32 |
| ← Alienpruts left | 11:33 |
| → Alienpruts joined | 11:34 |
| → gajus joined | 11:35 |
| → pietv joined | 11:35 |
| ← Hudu left | 11:36 |
| ← xall_ left | 11:38 |
| → dsdeiz joined | 11:41 |
| ← dsdeiz left | 11:41 |
| → dsdeiz joined | 11:41 |
| → JeroenT joined | 11:41 |
| ← pietv left | 11:44 |
| ← govg left | 11:46 |
| ← cdown left | 11:47 |
| ← theoceaniscool left | 11:49 |
| → miczac joined | 11:52 |
| gitinfo set mode: +v | 11:52 |
| → ertesx joined | 11:53 |
| ← ljc left | 11:54 |
| → lindenle joined | 11:55 |
| ← msonntag left | 11:55 |
| → ismithers joined | 11:55 |
| ← ertes left | 11:56 |
| ertesx → ertes | 11:56 |
| gitinfo set mode: +v | 11:56 |
| ← aswen left | 11:56 |
| ← Snugglebash left | 11:57 |
| → Hudu joined | 11:57 |
| ← zeroed left | 11:58 |
| → msonntag joined | 11:59 |
| → zeroed joined | 11:59 |
| ← zeroed left | 11:59 |
| → zeroed joined | 11:59 |
| ← miczac left | 11:59 |
| ← mischat_ left | 11:59 |
| ← lindenle left | 11:59 |
| → mentazoom joined | 12:00 |
| → mischat joined | 12:01 |
| ← eduardas_m left | 12:03 |
| ← JeroenT left | 12:04 |
| → mischat_ joined | 12:04 |
| ← mischat left | 12:04 |
| → JeroenT joined | 12:05 |
| ← canuk_ left | 12:08 |
| ← irco left | 12:08 |
| → theoceaniscool joined | 12:08 |
| ← cr34ton left | 12:09 |
| → eduardas_m joined | 12:09 |
| ← jay-m left | 12:10 |
| → jay-m joined | 12:10 |
| ← mischat_ left | 12:10 |
| → mischat joined | 12:11 |
| → hhee joined | 12:11 |
| → Droolio joined | 12:13 |
| → Lea2 joined | 12:13 |
| → Snugglebash joined | 12:13 |
| ← Learath2 left | 12:16 |
| ← mentazoom left | 12:19 |
| ← zeroed left | 12:21 |
| ← mischat left | 12:21 |
| → mentazoom joined | 12:22 |
| ← [0xAA] left | 12:22 |
| ← DaveTaboola left | 12:25 |
|
Vampire0
| Hey guys, is there a way to *not* detect renamed / copied files when doing a diff? | 12:25 |
|
osse
| --no-find-renames | 12:26 |
| ← finalbeta left | 12:27 |
|
Vampire0
| Ah, almost. --no-renames it is, thanks osse | 12:28 |
| → finalbeta joined | 12:28 |
| ← DrSlony left | 12:28 |
| ← cagedwisdom left | 12:30 |
| ← aavrug left | 12:30 |
| ← SilverBe left | 12:32 |
| → aard_ joined | 12:33 |
| ← Snugglebash left | 12:33 |
| → rafalcpp joined | 12:33 |
|
Vampire0
| osse, and is there an easy way to list all files that were not change between two commits? I now use diff with --name-only and --no-renames to write the list of changed files to a file and then ls-tree -r and a grep -vf to filter out the changed files from the list | 12:34 |
| → [0xAA] joined | 12:36 |
| → douglascorrea joined | 12:36 |
| → Ediz joined | 12:36 |
| → ColdKeyboard joined | 12:37 |
|
osse
| Vampire0: that sounds like exactly the solution I recommended to someone else a couple of weeks ago | 12:37 |
| ← mentazoom left | 12:37 |
|
osse
| git ls-tree --name-only -r branch1 | grep -vFf <(git diff --name-only branch1 branch2) | 12:37 |
|
| I can't think of anything better | 12:37 |
| → aard__ joined | 12:38 |
| → Snugglebash joined | 12:38 |
| ← nowhere_man left | 12:39 |
| ← aard_ left | 12:39 |
|
Vampire0
| ok, thx osse | 12:40 |
|
osse
| Vampire0: btw no-renames is not necessary with name-only | 12:40 |
| → mentazoom joined | 12:41 |
|
osse
| also my solution is more sexy than a temp file etc, but requires bash or zsh | 12:41 |
| ← msonntag left | 12:42 |
|
Vampire0
| osse, yes, the subshell redirect is nice, I like it, didn't think of it | 12:42 |
| ← ngm left | 12:42 |
|
Vampire0
| But no-renames is necessary, otherwise you only get the new file, not both | 12:42 |
|
osse
| i get both | 12:42 |
| → msonntag joined | 12:42 |
|
Vampire0
| I don't | 12:42 |
|
| Just tried it | 12:42 |
| ← JeroenT left | 12:42 |
|
osse
| never mind, my git is old | 12:43 |
|
| boo git | 12:43 |
|
Vampire0
| 2.9.3 here | 12:43 |
| → jameser joined | 12:43 |
| → JeroenT joined | 12:43 |
| → mischat joined | 12:44 |
|
osse
| I like to compile things myself, install to /usr/local and then forget to update | 12:44 |
| ← mvdan left | 12:45 |
|
Vampire0
| Ah, and -x should be given to grep too, otherwise a change of 'foo' will match a change of 'fooBar' | 12:45 |
| ← Xenophon1 left | 12:45 |
|
osse
| the -F takes care of that | 12:45 |
| → zeroed joined | 12:45 |
| ← mischat left | 12:45 |
| → XenophonF joined | 12:46 |
|
osse
| ehh, nope | 12:46 |
| → mischat joined | 12:46 |
|
osse
| stupid grep | 12:46 |
| → canuk joined | 12:46 |
| ← theoceaniscool left | 12:47 |
|
Vampire0
| yes it is | 12:47 |
|
| do echo -e 'foo\nfooBar' | grep -vFf <(echo foo) | 12:47 |
|
osse
| i agree | 12:47 |
|
Vampire0
| and do echo -e 'foo\nfooBar' | grep -vxFf <(echo foo) | 12:47 |
|
osse
| the nope was a nope to "-F takes care of that" | 12:47 |
|
Vampire0
| -F just says that it is plain text, not a regex | 12:47 |
|
| Ah, ok | 12:47 |
| → str joined | 12:48 |
| → tlaxkit joined | 12:48 |
| → anand[m] joined | 12:49 |
|
osse
| for some reason I interpret the docs as saying it msut match the whole line | 12:49 |
|
| since the fixed strings are separated by newlines | 12:49 |
|
| ohw ell | 12:49 |
|
Vampire0
| And actually diff is also not good, depending on the use-case. If you want to match all files that were touched and you changed a file and changed it back, it would not match | 12:49 |
|
| What I have now is | 12:49 |
| ← [0xAA] left | 12:49 |
|
Vampire0
| git ls-tree -r --name-only 9aae~ | grep -vFxf <(git log 9aae~..9aae -c --name-only --no-renames --pretty=format: | sort -u) | 12:49 |
|
osse
| A few weeks ago, and now, I wonder how on earth the list of *unchanged* files is interesting | 12:50 |
| → DolphinDream joined | 12:52 |
| ← ojdo left | 12:52 |
| ← jameser left | 12:53 |
| → WayToDoor joined | 12:56 |
|
Vampire0
| osse me neither, it is for a SO question where I try to help. :-) | 12:57 |
| ← mentazoom left | 12:58 |
| ← jay-m left | 12:59 |
| → ojdo joined | 12:59 |
| → irqq joined | 12:59 |
| → HardlySeen joined | 13:00 |
| ← goTAN left | 13:00 |
| ← HardlySeen left | 13:00 |
| → HardlySeen joined | 13:00 |
| ← dsdeiz left | 13:01 |
| → roelmonn_ joined | 13:01 |
|
MapMan
| Hi! I have a file which is tracked in my repo, I added it a few commits back. Now I want the file to be untracked but still be there. Also when my friend pulls the repo, the file will be there as well but untracked. Is it enough to add the file to gitignore and remove tracking by using git rm --cache file? | 13:02 |
|
osse
| MapMan: not possible. you can use rm --cached but your friend needs to take care | 13:03 |
|
| MapMan: it is easy enough to resurrect it after the pull | 13:03 |
|
| and if he has local changes the pull will fail | 13:03 |
| ← sbulage left | 13:04 |
| ← zeroed left | 13:04 |
| → jameser joined | 13:04 |
| → zeroed joined | 13:04 |
| ← zeroed left | 13:04 |
| → zeroed joined | 13:04 |
| ← roelmonnens left | 13:05 |
| → Rodya_ joined | 13:05 |
| → mentazoom joined | 13:05 |
|
MapMan
| osse: Ok, so option B for me is to simply untrack and ignore the files, so everyone can create his own. Since the file is already tracked, what should I do? Simply remove the file, add to gitignore and push? | 13:05 |
| ← Singmyr left | 13:06 |
|
osse
| it's the only thing you can do | 13:06 |
| → cdown joined | 13:06 |
| → nowhere_man joined | 13:07 |
| → JuliusN joined | 13:07 |
| ← ShalokShalom left | 13:07 |
| → ShalokShalom_ joined | 13:07 |
|
JuliusN
| git status says head detached, but i've checked out a branch. i thought detached heads only occur when checking out commits. | 13:08 |
|
osse
| JuliusN: what branch did you check out | 13:09 |
|
_ikke_
| correct, so apparently you have not checked out a branch | 13:09 |
|
| (remote tracking branches do not count as branches) | 13:09 |
|
JuliusN
| oh | 13:09 |
| ← Hudu left | 13:09 |
|
JuliusN
| that's new to me | 13:09 |
| ← Rodya_ left | 13:09 |
|
Vampire0
| osse, http://stackoverflow.com/questions/41827809/git-get-unchaged-files-between-commits if you are interested in the use-case | 13:09 |
| → Hudu joined | 13:09 |
|
osse
| the use case makes sense | 13:10 |
|
| i approve | 13:10 |
| → Singmyr joined | 13:10 |
|
osse
| unless the person removes those files without vetting them first | 13:10 |
|
| also now I know what you look like. does that make you uneasy? | 13:10 |
| → synthroid joined | 13:10 |
|
Vampire0
| osse, if it would, I wouldn't post my pic all over the web :-) | 13:11 |
|
JuliusN
| after checking out a remote branch can i make it an actual branch? | 13:12 |
| → dcpc007 joined | 13:12 |
|
_ikke_
| git checkout -b <branchname> | 13:12 |
|
Vampire0
| osse, hm, and you look like Guybrush | 13:12 |
|
osse
| correct! | 13:12 |
|
JuliusN
| i don't remember having to re-checkout from remote branches before | 13:13 |
| ← Ediz left | 13:13 |
| → Ediz joined | 13:13 |
|
MapMan
| osse: thanks, this is what I did. Out of curiosity, what about git update-index --assume-unchanged file? Wouldn't it do what I wanted in the first place? | 13:14 |
|
Vampire0
| JuliusN, afair when you do "git checkout foo" with foo not being a tag or local branch, but remote tracking branch, Git should automatically create a local branch from the remote branch and check out the local branch | 13:14 |
|
osse
| JuliusN: maybe cause you made use of Git's ESP before. if you type 'git checkout bleh' and bleh doesn't exist but origin/bleh does, Git will create that braanch for you | 13:14 |
|
| Vampire0: sometimes I look like a different guybrush | 13:14 |
| → mizu_no_oto joined | 13:14 |
|
osse
| mabye that's only on Steam | 13:15 |
|
JuliusN
| is it because i typed origin/branchname? | 13:15 |
|
_ikke_
| JuliusN: correct | 13:15 |
|
JuliusN
| gotcha | 13:15 |
|
_ikke_
| JuliusN: Note that when you type branchname, and it does not exist yet, and there is only one remote with that name, then git automatically creates the branch | 13:15 |
| → carandraug joined | 13:15 |
|
JuliusN
| yeah i think i got it | 13:16 |
|
osse
| third time's the charm! | 13:16 |
| → jay-m joined | 13:16 |
| ← jeffreylevesque left | 13:17 |
| → Tobbi joined | 13:17 |
| ← Gloomy left | 13:17 |
| → cdown_ joined | 13:18 |
| ← DolphinDream left | 13:18 |
| → Ice_Strike joined | 13:18 |
| → DolphinDream joined | 13:19 |
|
Ice_Strike
| I did git stash before and I want it back | 13:19 |
|
| how do I do that? | 13:19 |
| ← cdown left | 13:19 |
| ← DolphinDream left | 13:19 |
| → daisy_ joined | 13:19 |
| → clmsy joined | 13:20 |
|
_ikke_
| git stash pop | 13:20 |
|
Vampire0
| osse, are you then one from Data Respons? | 13:21 |
| ← askb left | 13:22 |
| → oskarkv joined | 13:22 |
|
tobiasvl
| we don't need to doxx people in here, do we | 13:22 |
|
grawity
| git doxx drop | 13:23 |
| ← cdown_ left | 13:23 |
| ← mizu_no_oto left | 13:24 |
|
osse
| Vampire0: can I answer with a youtube link? | 13:24 |
|
Vampire0
| I don't know, try :-D | 13:24 |
| ← Hudu left | 13:24 |
| → Gloomy joined | 13:24 |
|
Ice_Strike
| _ikke_ I just done git stash pop, files missing | 13:25 |
|
| Can I get a list of stash? | 13:25 |
|
tobiasvl
| git stash list | 13:25 |
|
osse
| Vampire0: https://www.youtube.com/watch?v=gM4DkF2rQ4U | 13:25 |
|
| osse removes linkedin profile | 13:26 |
|
Ice_Strike
| Ah | 13:26 |
|
| git stash show -p stash@{1} | 13:26 |
|
| I need that back | 13:26 |
| → Hudu joined | 13:26 |
|
Ice_Strike
| How do I get stash pop stash@{1} ? | 13:26 |
|
osse
| Vampire0: that was a joke | 13:26 |
| ← ayogi left | 13:26 |
| ← eycsigfy left | 13:27 |
|
tobiasvl
| Ice_Strike: did you try git stash pop stash@{1} ? or did you already pop that off the stash | 13:27 |
|
Vampire0
| osse, I'm not that flexible anyway and interpret it as yes :-D So now we are square *g* | 13:27 |
| → mohabaks joined | 13:27 |
| → Starky joined | 13:27 |
|
osse
| lol | 13:28 |
|
_ikke_
| git stash apply stash@{1} | 13:28 |
| ← Derperperd left | 13:28 |
| ← ws2k3_ left | 13:29 |
|
Ice_Strike
| Will tru | 13:29 |
|
| try | 13:29 |
|
| *.js.map is a pain with working with developers | 13:29 |
|
| they all use gulp command | 13:29 |
| ← jozwior left | 13:30 |
|
jast
| generated files should not be checked in at all | 13:30 |
|
Ice_Strike
| so .gitignore ? | 13:30 |
|
^7heo
| what language? | 13:30 |
|
Ice_Strike
| php laravel | 13:30 |
|
^7heo
| ok | 13:30 |
|
| in Go, generated files *have* to be checked in. | 13:31 |
|
| but in PHP, I don't know. | 13:31 |
|
_ikke_
| PHP as a language does not require anything | 13:31 |
| ← ShekharReddy left | 13:31 |
|
_ikke_
| different frameworks have different requirements | 13:31 |
|
^7heo
| yeah | 13:32 |
|
| I guess. | 13:32 |
|
| I'm not too good with PHP. | 13:32 |
|
Ice_Strike
| I need to google how to deal with *.js.map and *.css.map file | 13:33 |
|
osse
| Ice_Strike: what are those? | 13:34 |
|
_ikke_
| Files that tell the browser how to deal with minimized files | 13:34 |
| → theoceaniscool joined | 13:34 |
|
Ice_Strike
| It is source maps | 13:34 |
|
_ikke_
| (for developer tools) | 13:34 |
| Lea2 → Learath2 | 13:35 |
| → [0xAA] joined | 13:35 |
| → jozwior joined | 13:36 |
|
^7heo
| _ikke_: ah, so sorta like a symbol table | 13:37 |
| ← carandraug left | 13:37 |
| ← daisy_ left | 13:37 |
| → skunkz joined | 13:39 |
| ← aard__ left | 13:39 |
|
Ice_Strike
| *.js.map and *.css.map get generated via gulp command | 13:39 |
|
| so each developer will use gulp command | 13:39 |
| ← bongjovi left | 13:40 |
| ← JuliusN left | 13:40 |
| → marijnfs joined | 13:40 |
|
Ice_Strike
| and when I pull, it can cause conflict | 13:40 |
|
| so I guess put that in gitignore file | 13:40 |
|
| and then run gulp for myself | 13:40 |
|
osse
| so it's a generated file | 13:40 |
|
| remove them from the repo | 13:40 |
|
Ice_Strike
| osse what about app.js ? when mulitple files are merged into app.js | 13:41 |
|
| I came issue with that as well | 13:41 |
| ← vuoto left | 13:41 |
|
Ice_Strike
| conflict | 13:41 |
|
osse
| that you just have to deal with | 13:41 |
|
qqx
| Generally app.js would also be a generated file, and so shouldn't be in the repo. | 13:41 |
| ← nettoweb left | 13:42 |
|
Ice_Strike
| So when its ready for production - I will push to git master, on the production server I will do git pull and then gulp. | 13:42 |
| → pepe123 joined | 13:42 |
|
Ice_Strike
| or setup auto deployment. Git pull, gulp. | 13:42 |
| → cdown joined | 13:43 |
| ← pepe123 left | 13:43 |
| → brent__ joined | 13:43 |
|
qqx
| Right. Besides causing conflicts, including generated files also causes clutter in diffs making it harder to do code reviews. | 13:43 |
| → bongjovi joined | 13:43 |
|
Ice_Strike
| qqx Actually. | 13:45 |
| → nettoweb joined | 13:45 |
| ← Snugglebash left | 13:46 |
| → ShekharReddy joined | 13:47 |
| → Snugglebash joined | 13:47 |
| → aard_ joined | 13:47 |
| ← brent__ left | 13:47 |
| ← WayToDoor left | 13:49 |
| → mehola joined | 13:49 |
| → Derperperd joined | 13:50 |
| → kadoban joined | 13:52 |
| ← Impaloo left | 13:52 |
| ← mehola left | 13:53 |
| ← mohabaks left | 13:53 |
| ← Derperperd left | 13:55 |
| ← masuberu left | 13:55 |
| → nickabbey joined | 13:55 |
| ← nettoweb left | 13:55 |
| → jeffreylevesque joined | 13:56 |
| ← frobnic left | 13:57 |
| → denete_ joined | 13:57 |
| → nettoweb joined | 13:58 |
| → WayToDoor joined | 13:58 |
| ← nickabbey left | 14:00 |
| → Impaloo joined | 14:02 |
| ← WayToDoor left | 14:05 |
| → minikN joined | 14:05 |
| → Rodya_ joined | 14:05 |
| → frobnic joined | 14:09 |
| ← tirej left | 14:09 |
| ← Guest36461 left | 14:10 |
| ← Rodya_ left | 14:10 |
| → mda1 joined | 14:11 |
| → eroussel joined | 14:11 |
| → nickabbey joined | 14:12 |
| ← roelmonn_ left | 14:16 |
| → roelmonnens joined | 14:17 |
| → pietv joined | 14:17 |
| → jimi_ joined | 14:17 |
| → Nilesh_ joined | 14:18 |
| ← ckruczek left | 14:19 |
| → aard__ joined | 14:22 |
| → snowkidind joined | 14:23 |
| ← aard_ left | 14:23 |
| ← Snugglebash left | 14:24 |
| → Ryanar joined | 14:24 |
| ← Starky left | 14:27 |
| ← pietv left | 14:27 |
| → Starky joined | 14:27 |
| ← Gloomy left | 14:29 |
| ← ferr1 left | 14:29 |
| ← aard__ left | 14:29 |
| → ikelso joined | 14:31 |
| → tirej joined | 14:31 |
| → todd_dsm joined | 14:32 |
| ← Orphis left | 14:33 |
| ← mostlybadfly left | 14:34 |
| ← tirej left | 14:35 |
| → tirej joined | 14:35 |
| ← tirej left | 14:35 |
| → tirej joined | 14:35 |
| ← lordjancso left | 14:35 |
| ← ShekharReddy left | 14:36 |
| ← ChiLL_SurF left | 14:36 |
| ← jameser left | 14:37 |
| → kpease joined | 14:38 |
| ← snowkidind left | 14:38 |
| → Snugglebash joined | 14:39 |
| → snowkidind joined | 14:40 |
| → snowkidi_ joined | 14:40 |
| ← aw1 left | 14:40 |
| → jameser joined | 14:42 |
| → AlexP11223 joined | 14:43 |
| → Dougie187 joined | 14:44 |
| → kpease_ joined | 14:44 |
| ← kpease left | 14:46 |
| → dendazen joined | 14:47 |
| ← Murii left | 14:48 |
| → mohabaks joined | 14:48 |
| ← MrWoohoo left | 14:48 |
| → Murii joined | 14:48 |
| → Orphis joined | 14:48 |
|
AlexP11223
| If I change date of my commits using git filter-branch (before push) is it possible to detect it later? | 14:49 |
|
| I don't want to do it, but I encountered one person asking about it, probably with intents like cheating his employee/client | 14:49 |
|
| So I wonder if it is possible to detect such things | 14:49 |
|
| employer* | 14:50 |
| → ankit01ojha joined | 14:51 |
| → Darcidride joined | 14:51 |
| ← snowkidi_ left | 14:51 |
|
rewt
| it isn't | 14:52 |
|
kadoban
| AlexP11223: There's no inherent way to verify the commit metadata like that, unless someone else has an original version. | 14:52 |
| ← Murii left | 14:52 |
| → masuberu joined | 14:52 |
| ← snowkidind left | 14:52 |
| ← Ryanar left | 14:53 |
|
kadoban
| It'd be impossible to enforce, if you control a computer, how is the software supposed to stop you? git is distributed, meaning that unless you tell it to, everything stays on your machine alone. There is no central verifier of truth. | 14:53 |
| → snowkidind joined | 14:53 |
| → aw1 joined | 14:54 |
| → Rodya_ joined | 14:54 |
| → snowkidi_ joined | 14:55 |
| → Guest36461 joined | 14:57 |
| ← mda1 left | 14:58 |
| → lindenle joined | 14:58 |
| → Emperor_Earth joined | 14:59 |
| → cyan__ joined | 15:00 |
| ← ismithers left | 15:00 |
| ← sdothum left | 15:01 |
| ← jagob left | 15:01 |
| → chipotle_ joined | 15:01 |
| ← minikN left | 15:01 |
| → sdothum joined | 15:02 |
| ← dec0n left | 15:02 |
| ← jknetl left | 15:03 |
| ← mikecmpbll left | 15:04 |
| ← masuberu left | 15:04 |
| ← lindenle left | 15:04 |
| ← chipotle left | 15:05 |
| → setuid joined | 15:05 |
| → mikecmpbll joined | 15:05 |
| ← douglascorrea left | 15:05 |
| → robotroll joined | 15:06 |
| ← snowkidi_ left | 15:06 |
| → voldz1tic3n joined | 15:07 |
| ← ShalokShalom_ left | 15:10 |
| → multi_io_ joined | 15:10 |
| → ShalokShalom joined | 15:12 |
| → LeBlaaanc joined | 15:12 |
| ← sammyo left | 15:12 |
| ← Orphis left | 15:13 |
| → hs366 joined | 15:13 |
| → titankiller joined | 15:13 |
| → sammyo joined | 15:13 |
| → Orphis joined | 15:13 |
| ← multi_io left | 15:13 |
| → AaronMT joined | 15:13 |
| ← Muzer left | 15:13 |
| ← Orphis left | 15:16 |
| → Noldorin joined | 15:18 |
| ← JeroenT left | 15:18 |
| ← causasui left | 15:19 |
| → sveinse joined | 15:20 |
| ← tvw left | 15:20 |
| → causasui joined | 15:20 |
| → cdg joined | 15:21 |
| → Ryanar joined | 15:21 |
|
sveinse
| How do I properly fetch/pull a repo into a bare mirror repo? All the examples I find is using git push --mirror, but I don't have access to the upstream side. | 15:21 |
| → Orphis joined | 15:22 |
| ← jay-m left | 15:22 |
|
sveinse
| If use 'git remote update --prune'. Will that cover it? | 15:23 |
| ← hs366 left | 15:24 |
| ← tirej left | 15:24 |
| → le_melomane joined | 15:26 |
| → chipotle joined | 15:26 |
| ← Ryanar left | 15:26 |
| → snowkidi_ joined | 15:27 |
| → JeroenT joined | 15:27 |
| → texinwien_ joined | 15:27 |
| ← theoceaniscool left | 15:27 |
| ← ac3takwas left | 15:28 |
| ← chipotle_ left | 15:29 |
| ← eroussel left | 15:29 |
| → Junior joined | 15:30 |
| → eroussel joined | 15:30 |
| ← Orphis left | 15:30 |
| ← canuk left | 15:30 |
| ← texinwien left | 15:31 |
| ← cdg left | 15:33 |
| → Orphis joined | 15:33 |
| → cdg joined | 15:33 |
| → mikecmpb_ joined | 15:34 |
| ← jameser left | 15:35 |
| → ResidentBiscuit joined | 15:35 |
| ← mikecmpbll left | 15:36 |
| ← snowkidi_ left | 15:36 |
| ← xissburg left | 15:36 |
| → jameser joined | 15:36 |
| → King_Hual joined | 15:37 |
| ← overlord_tm left | 15:40 |
| ← bl0w3d_0ut left | 15:40 |
| ← Disgeae left | 15:40 |
| → raspado joined | 15:44 |
| ← [0xAA] left | 15:45 |
| → mischat_ joined | 15:45 |
| → Darren_ joined | 15:46 |
| ← mischat left | 15:47 |
| → bgerber joined | 15:48 |
| → mehola joined | 15:50 |
| ← mohabaks left | 15:53 |
| → bl0w3d_0ut joined | 15:53 |
| → e14 joined | 15:53 |
| → snowkidi_ joined | 15:53 |
| → douglascorrea joined | 15:54 |
| ← rivarun left | 15:55 |
| ← mehola left | 15:55 |
| → rivarun joined | 15:55 |
| ← snowkidi_ left | 15:55 |
| ← snowkidind left | 15:56 |
| → snowkidind joined | 15:57 |
| → kyan joined | 15:57 |
| ← snowkidind left | 15:57 |
| → snowkidind joined | 15:58 |
| → Particle1olem joined | 15:58 |
| ← thiago left | 15:59 |
| → snowkidi_ joined | 15:59 |
| ← snowkidind left | 16:00 |
| ← snowkidi_ left | 16:00 |
| ← ParticleGolem left | 16:01 |
| → snowkidind joined | 16:01 |
| → dksvvljsdvs joined | 16:01 |
| → Emperor_Earth_ joined | 16:01 |
| ← snowkidind left | 16:02 |
| ← Emperor_Earth left | 16:02 |
| ← robattila256 left | 16:02 |
| → snowkidind joined | 16:02 |
| ← bgerber left | 16:02 |
| ← snowkidind left | 16:03 |
| ← kyan left | 16:03 |
| → geoid_ joined | 16:03 |
| → roelmonn_ joined | 16:03 |
| ← roelmonn_ left | 16:04 |
| ← titankiller left | 16:04 |
| → tinti joined | 16:04 |
| gitinfo set mode: +v | 16:05 |
|
dksvvljsdvs
| need a one-liner that will return latest commit user only - no luck with git show for me - any help? | 16:05 |
|
grawity
| something along the lines of: git log --format=%A -1 | 16:05 |
| → isysd joined | 16:06 |
| → celebre joined | 16:06 |
| ← celebre left | 16:06 |
| ← clmsy left | 16:06 |
| → xissburg joined | 16:07 |
| ← roelmonnens left | 16:07 |
| → jagob joined | 16:08 |
| ← rominronin left | 16:09 |
| ← WhiskerBiscuit left | 16:09 |
| → rominronin joined | 16:10 |
| → jsolano joined | 16:10 |
| ← Rodya_ left | 16:10 |
| ← ThomasLocke left | 16:11 |
| ← Darren_ left | 16:12 |
|
sveinse
| grawity: git log -n1? | 16:13 |
| → jknetl joined | 16:13 |
|
grawity
| whichever | 16:13 |
|
| the %format is definitely missing a letter though | 16:13 |
| → kettlewell joined | 16:13 |
| ← zefferno left | 16:13 |
| → zefferno joined | 16:14 |
| ← chele left | 16:14 |
|
sveinse
| grawity: git log -n1 --format="%ae" ? | 16:14 |
| ← rominronin left | 16:14 |
| → ash_workz joined | 16:14 |
| → dreiss joined | 16:15 |
|
sveinse
| or %an if it's the name you're after | 16:15 |
| → chardan joined | 16:16 |
| ← Snugglebash left | 16:17 |
| → brent__ joined | 16:17 |
| → thierryp joined | 16:18 |
| ← King_Hual left | 16:18 |
| → z1haze_work joined | 16:19 |
|
z1haze_work
| i just did a git add -A but i forogt to add a directory to my gitignore.. how can i undo that add -A | 16:19 |
|
RichiH
| z1haze_work: git status will show you the options from what's staged | 16:20 |
| → King_Hual joined | 16:20 |
| ← King_Hual left | 16:20 |
| → King_Hual joined | 16:20 |
|
RichiH
| in this case, not giving you the direct answer is probably better, long-term :) | 16:20 |
|
z1haze_work
| yea its got my whole .idea folder in there | 16:20 |
|
RichiH
| run git status and see for yourself | 16:20 |
|
z1haze_work
| i know what ive added | 16:21 |
|
| im asking how to do i add it | 16:21 |
| → pity joined | 16:21 |
|
z1haze_work
| UNadd | 16:21 |
|
RichiH
| yes, and i am telling you that git status will tell you | 16:21 |
|
_ikke_
| z1haze_work: what he means is that git status also gives hints on how to unstage and other things | 16:21 |
| → treia joined | 16:21 |
|
z1haze_work
| "git checkout -- <file>..." this? | 16:22 |
|
| then i have to do this for every single file? | 16:22 |
| → roelmonnens joined | 16:22 |
| ← zefferno left | 16:22 |
| → macivy joined | 16:22 |
|
RichiH
| z1haze_work: as always, <file> refers to a path | 16:23 |
| → canuk joined | 16:23 |
|
RichiH
| so git checkout -- . | 16:23 |
|
jast
| except that's not going to unadd anything | 16:23 |
|
| because you've been looking in the wrong section of 'git status' :) | 16:24 |
| → LionsMane joined | 16:24 |
| ← Kaisyu left | 16:24 |
|
z1haze_work
| look | 16:24 |
|
| a lot of the files i added i want in there | 16:24 |
|
jast
| the 'git checkout -- <file>...' is for unstaged changes, whereas you've got *staged* changes | 16:24 |
|
z1haze_work
| only one directory i accidentally added | 16:24 |
|
jast
| that's one section further up. you find that command, pass it the name of that directory and you're done | 16:25 |
| ← pity left | 16:25 |
|
z1haze_work
| i got it now thanks | 16:25 |
| → svm_invictvs joined | 16:26 |
| ← roelmonnens left | 16:26 |
| ← JeroenT left | 16:27 |
| ← raspado left | 16:27 |
|
dksvvljsdvs
| git log -n1 --format="%an" is getting me a full username it's close but looking for actual git username | 16:27 |
|
jast
| there's no such thing as a "git username" tracked in history | 16:28 |
|
| commit metadata contains only the name/e-mail you set up in (for example) ~/.gitconfig | 16:28 |
| ← durham left | 16:29 |
| ← macivy left | 16:29 |
| → raspado joined | 16:30 |
| → Snugglebash joined | 16:30 |
|
sveinse
| grawity: heh, sorry, I mistook you for the one asking the question of git log. :P | 16:30 |
| ← jameser left | 16:30 |
| ← mikecmpb_ left | 16:31 |
| ← chipotle left | 16:31 |
| → Peetz0r joined | 16:31 |
| → hobodave joined | 16:31 |
| → jameser joined | 16:32 |
| ← rivarun left | 16:33 |
| → jccn joined | 16:33 |
| ← Peetz0r left | 16:33 |
|
sonOfRa
| dksvvljsdvs: are you looking for the github username mapped to that name/email? | 16:33 |
| → mikecmpbll joined | 16:34 |
| → rivarun joined | 16:34 |
| → Peetz0r joined | 16:34 |
| → thethorongil joined | 16:34 |
|
sonOfRa
| If yes, I don't think you can perform that "reverse lookup" | 16:34 |
| → InfoTest joined | 16:34 |
|
dksvvljsdvs
| sonOfRa - correct | 16:34 |
|
sonOfRa
| Github shows the username based on the committer email | 16:34 |
|
hiroki
| Small question: Am I correct to assume that a push to a Gitolite master that has slaves configured (replicating everything) will propogate changes to the slaves right away without a delay ? | 16:34 |
| → mindfart joined | 16:34 |
|
sonOfRa
| You can look up the emails a user has if you know their email, but not the other way around | 16:34 |
| → Rodya_ joined | 16:35 |
| → stamina joined | 16:35 |
|
hiroki
| Wrong channel.... | 16:35 |
| ← Rodya_ left | 16:36 |
| → x0h_eax joined | 16:36 |
| ← Peetz0r left | 16:36 |
|
sonOfRa
| dksvvljsdvs: you MIGHT be able to use the github API for this. But git itself does not record this information | 16:37 |
| → Darren_ joined | 16:37 |
| → gugah joined | 16:37 |
| ← voldz1tic3n left | 16:37 |
| → Peetz0r joined | 16:37 |
| ← zeroed left | 16:38 |
| → zeroed joined | 16:38 |
| ← zeroed left | 16:38 |
| → zeroed joined | 16:38 |
| → madewokherd joined | 16:39 |
| → durham joined | 16:39 |
| ← jameser left | 16:39 |
| ← eduardas_m left | 16:39 |
| → howitdo joined | 16:40 |
| ← howitdo left | 16:40 |
| → howitdo joined | 16:40 |
| ← e14 left | 16:41 |
| ← Balliad left | 16:41 |
| ← jknetl left | 16:41 |
| → jameser joined | 16:42 |
| → voldz1tic3n joined | 16:42 |
| → g_zen joined | 16:43 |
| ← voldz1tic3n left | 16:43 |
|
dksvvljsdvs
| sonOfRa ty ty | 16:44 |
| ← sonOfRa left | 16:44 |
| → jaafar joined | 16:45 |
| ← gugah left | 16:48 |
| ← nostrora left | 16:48 |
| → thiago joined | 16:49 |
| ← hahuang65 left | 16:49 |
| → sonOfRa joined | 16:49 |
| ← pdgwien left | 16:50 |
| ← nowhere_man left | 16:50 |
| x0h_eax → xoh_eax_ | 16:51 |
| ← multi_io_ left | 16:51 |
| ← svm_invictvs left | 16:51 |
| → pdgwien joined | 16:52 |
| ← Alienpruts left | 16:52 |
| → multi_io joined | 16:52 |
| ← eroussel left | 16:53 |
| → eZanmoto joined | 16:53 |
| → CheckDavid joined | 16:53 |
| xoh_eax_ → x0h_eax | 16:53 |
| → mischat joined | 16:54 |
| ← raspado left | 16:54 |
| ← ihradek left | 16:54 |
| ← ikelso left | 16:56 |
| → ikelso joined | 16:57 |
| ← mischat_ left | 16:57 |
| → tyreld joined | 16:57 |
| → matsaman joined | 16:59 |
| ← jnavila left | 17:00 |
| → ikelso_ joined | 17:00 |
| ← ikelso left | 17:00 |
| → e14 joined | 17:00 |
|
eZanmoto
| Can you get access to the changes being pushed on the server side when you're using the `update` hook? | 17:01 |
|
sveinse
| | 17:01 |
| → paladinn joined | 17:01 |
| ← paladinn left | 17:01 |
| → paladinn joined | 17:01 |
| → mischat_ joined | 17:02 |
|
eZanmoto
| i.e. if I'm pushing changes, can I test those changes before they're committed to the remote repo using the `update` hook? | 17:02 |
| → tang^ joined | 17:03 |
| → m0viefreak joined | 17:03 |
|
LiENUS
| is there a way to set up a branch (that gets pushed to remote as well) that follows another branch without needing to be pulled, committed and pushed on a regular basis? | 17:04 |
|
| sort of a branch alias | 17:04 |
| ← mischat left | 17:04 |
| ← dksvvljsdvs left | 17:04 |
| ← cdown left | 17:05 |
| ← Serpent7776 left | 17:05 |
| → cdown joined | 17:06 |
| ← mischat_ left | 17:08 |
| ← Hudu left | 17:09 |
| → Ryanar joined | 17:09 |
| → theoceaniscool joined | 17:10 |
| → rominron_ joined | 17:11 |
| ← jameser left | 17:11 |
| ← Snugglebash left | 17:12 |
| → jameser joined | 17:12 |
| ← matsaman left | 17:13 |
| ← skunkz left | 17:16 |
| ← Mo left | 17:17 |
| ← Zoxc left | 17:18 |
| → Hudu joined | 17:19 |
| → matsaman joined | 17:19 |
| → Snugglebash joined | 17:20 |
| → Murii joined | 17:20 |
| ← rivarun left | 17:20 |
| → rivarun joined | 17:20 |
| ← Snugglebash left | 17:20 |
|
grawity
| nope | 17:21 |
|
| well, if you want them to be *identical*, you could ssh to the remote and set up a symbolic ref | 17:22 |
|
| assuming you can ssh to the remote | 17:22 |
|
| but otherwise no, not without some client-side hook scripting | 17:22 |
| → ac3takwas joined | 17:22 |
| ← jameser left | 17:22 |
| → perlpilot joined | 17:23 |
| ← Starky left | 17:23 |
| → Starky joined | 17:24 |
|
LiENUS
| im doing it on github | 17:24 |
| ← geoid_ left | 17:25 |
|
LiENUS
| the jist is im using docker hub's dynamic tag name stuff, it generates new tags on docker based on branch and tag names | 17:25 |
| → chipotle joined | 17:25 |
| → geoid_ joined | 17:26 |
|
LiENUS
| i have a branch for 3.0 of some software but it also needs to be master | 17:26 |
| → [0xAA] joined | 17:27 |
| ← jaafar left | 17:27 |
| → jaafar joined | 17:29 |
| ← jsolano left | 17:29 |
| ← dreiss left | 17:29 |
| ← geoid_ left | 17:30 |
| → timvisher joined | 17:31 |
| → tvw joined | 17:31 |
| ← g_zen left | 17:33 |
| → svm_invictvs joined | 17:34 |
| ← mikecmpbll left | 17:34 |
| ← Raging_Hog left | 17:36 |
| → publio joined | 17:36 |
| → kyan joined | 17:36 |
| ← duderonomy left | 17:37 |
| → Raging_Hog joined | 17:37 |
| ← interrobangd left | 17:38 |
| → al-damiri joined | 17:39 |
| ← Raging_Hog left | 17:39 |
| ← ikelso_ left | 17:41 |
| → ikelso joined | 17:42 |
| ← zeroed left | 17:42 |
| → raspado joined | 17:43 |
| ← bongjovi left | 17:43 |
| → Raging_Hog joined | 17:44 |
| ← rominron_ left | 17:44 |
| → Rodya_ joined | 17:44 |
| → mda1 joined | 17:45 |
| ← tvw left | 17:45 |
| ← e14 left | 17:45 |
| → chipotle_ joined | 17:46 |
| ← Raging_Hog left | 17:46 |
| ← ikelso left | 17:46 |
| → e14 joined | 17:47 |
| ← Guest36461 left | 17:47 |
| → Rodya__ joined | 17:48 |
| ← freimatz left | 17:48 |
| → Guest36461 joined | 17:48 |
| ← chipotle left | 17:49 |
| ← Rodya_ left | 17:49 |
| ← tinti left | 17:49 |
|
mmattice
| are there cases where `git log -p $filename` won't show changes to that file? | 17:50 |
|
Vampire0
| LiENUS, so when you push to 3.0 you want to push the same state to master? | 17:50 |
| → geoid_ joined | 17:51 |
| ← mda1 left | 17:51 |
| ← Ryanar left | 17:51 |
|
LiENUS
| Vampire0, well probably push to master and it updates 3.0 but thats pretty much the same thing | 17:51 |
|
| well from what i understand it is the same thing as far as git is concerned | 17:51 |
|
Vampire0
| LiENUS, how about `git config alias.push3 push master master:3.0`? | 17:51 |
|
LiENUS
| docker is slightly different about it | 17:51 |
|
Vampire0
| LiENUS, this should push master to master and 3.0 if you do `git push3 | 17:52 |
|
LiENUS
| so i would remove my local 3.0 branch and just use master? | 17:52 |
| ← kurkale6ka left | 17:52 |
| → mohabaks joined | 17:53 |
| → BSAlb joined | 17:55 |
| ← BSAlb left | 17:56 |
| ← Hudu left | 17:56 |
| ← ac3takwas left | 17:57 |
| → Hudu joined | 17:57 |
| ← BSaboia left | 17:57 |
| → sargas_ joined | 17:57 |
| ← achadwick left | 17:57 |
| → hahuang65 joined | 17:58 |
| → TheCynicalPanda joined | 18:00 |
|
Vampire0
| LiENUS, if you don't need it, sure. You can always push any arbitrary commit to a remote branch by using a full refspec. That `git push master` automatically does `git push master:master` is just convention. You can also do `git push 3466df6:master` if you want (and have a commit with that SHA1) | 18:00 |
| ← causasui left | 18:01 |
| → causasui joined | 18:01 |
| → lindenle joined | 18:02 |
| → chipotle joined | 18:04 |
| ← m0viefreak left | 18:04 |
|
thiago
| mohabaks: it could happen for a merge commit | 18:04 |
| ← mentazoom left | 18:05 |
| ← lindenle left | 18:07 |
| ← thethorongil left | 18:07 |
| → hramrach joined | 18:08 |
| ← chipotle_ left | 18:08 |
| → codemann joined | 18:08 |
| ← b100s left | 18:10 |
| ← hramrach__ left | 18:10 |
| ← Ediz left | 18:10 |
| ← rewt left | 18:11 |
| → doener joined | 18:12 |
| ← hramrach left | 18:12 |
| ← LionsMane left | 18:13 |
| → spacelord_ joined | 18:14 |
| ← cdown left | 18:14 |
| → ikelso joined | 18:14 |
| ← TheCynicalPanda left | 18:15 |
| ← mohabaks left | 18:15 |
| ← tyreld left | 18:16 |
| → rewt joined | 18:17 |
| ← synthroid left | 18:18 |
| → cdown joined | 18:19 |
| → noecc joined | 18:20 |
| → ianmethyst joined | 18:21 |
| ← Tobbi left | 18:22 |
| ← chipotle left | 18:22 |
| → eroussel joined | 18:24 |
| → xall_ joined | 18:25 |
| → hramrach joined | 18:25 |
| → dreiss joined | 18:26 |
| ← thierryp left | 18:27 |
| → Nysar joined | 18:27 |
| ← umpc left | 18:28 |
| ← Rodya__ left | 18:28 |
| ← NeverDie left | 18:28 |
| ← douglascorrea left | 18:29 |
| → douglascorrea joined | 18:30 |
| → Rodya_ joined | 18:30 |
| ← xall_ left | 18:31 |
| → gugah joined | 18:31 |
| ← cdown left | 18:31 |
| → metachr01 joined | 18:31 |
| ← metachr0n left | 18:31 |
| → jstein_ joined | 18:32 |
| ← marcogmonteiro left | 18:32 |
| → metachr0n joined | 18:33 |
| → thierryp joined | 18:33 |
| → nowhere_man joined | 18:34 |
| jstein_ → jstein | 18:34 |
| ← douglascorrea left | 18:35 |
| → hasc joined | 18:36 |
| → douglascorrea joined | 18:36 |
| ← Kulrak left | 18:37 |
| → mda1 joined | 18:38 |
| → ihradek joined | 18:38 |
| ← dreiss left | 18:38 |
| ← ihradek left | 18:38 |
| ← tlaxkit left | 18:39 |
| ← thierryp left | 18:40 |
| ← Guest36461 left | 18:40 |
| ← Hudu left | 18:40 |
| ← qqx left | 18:41 |
| → qqx joined | 18:41 |
| → rominron_ joined | 18:41 |
| ← nowhere_man left | 18:42 |
| ← elect__ left | 18:43 |
| → btyne79 joined | 18:43 |
| → nowhere_man joined | 18:43 |
| → Hudu joined | 18:43 |
| ← texinwien_ left | 18:44 |
| → duderonomy joined | 18:44 |
| → Croves joined | 18:45 |
| ← Rodya_ left | 18:45 |
| → Rodya_ joined | 18:46 |
|
Croves
| Hi folks. I have reverted my branch to before a specific merge request using `git revert -m 1 <merge>`. Now, I'd like to go "foward" in each merge to see in what merge my feature stop working. Is that possible? | 18:46 |
| → synthroid joined | 18:46 |
| ← [0xAA] left | 18:46 |
|
grawity
| that's not how `git revert` works though | 18:46 |
|
| or rather, that's not what "revert" does in Git | 18:46 |
| ← ianmethyst left | 18:47 |
|
grawity
| you would use `git checkout` if you merely want to jump around between commits | 18:47 |
|
| and `git bisect` to automate bug searching | 18:47 |
| → XVar joined | 18:47 |
| ← aw1 left | 18:47 |
|
Croves
| grawity: is this work with remote branches? | 18:49 |
|
grawity
| it works with remote-tracking branches just as well as local ones | 18:49 |
| ← Nysar left | 18:50 |
|
grawity
| though before doing it, maybe remove that revert that you needlessly added | 18:50 |
|
Croves
| How should I revert that? | 18:50 |
| → jost joined | 18:51 |
|
Croves
| I just figured out that my server erases the remote branch after the testing & deployment | 18:51 |
| → dreiss joined | 18:51 |
| → mehola joined | 18:51 |
| → Kulrak joined | 18:51 |
| ← Kulrak left | 18:51 |
| → Kulrak joined | 18:51 |
| ← codemann left | 18:51 |
| → Nysar joined | 18:52 |
| ← jimi_ left | 18:53 |
| ← eZanmoto left | 18:53 |
| → boombatower joined | 18:53 |
| ← e14 left | 18:55 |
| → cdg_ joined | 18:55 |
| ← matsaman left | 18:56 |
| ← mehola left | 18:56 |
| ← ResidentBiscuit left | 18:57 |
| ← z1haze_work left | 18:57 |
| ← cdg left | 18:58 |
| → ResidentBiscuit joined | 18:59 |
| ← krillr left | 18:59 |
| ← BackEndCoder left | 19:00 |
| ← ankit01ojha left | 19:00 |
| → codemann joined | 19:00 |
| → aw1 joined | 19:01 |
| → BackEndCoder joined | 19:01 |
| → prawnzy joined | 19:02 |
| → fatalhalt joined | 19:02 |
| ← fatalhalt left | 19:02 |
| → e14 joined | 19:03 |
| ← prg3 left | 19:03 |
| → Ryanar joined | 19:04 |
| → srcerer joined | 19:06 |
| → b100s joined | 19:06 |
| ← prawnzy left | 19:07 |
| → prg3 joined | 19:07 |
| → regedit joined | 19:08 |
| → tyreld joined | 19:09 |
| ← Croves left | 19:09 |
| → prawnzy joined | 19:10 |
| ← moei left | 19:10 |
| → zeroed joined | 19:13 |
| ← zeroed left | 19:13 |
| → zeroed joined | 19:13 |
| → cdown joined | 19:13 |
| → cdg joined | 19:14 |
| → bill99 joined | 19:14 |
| ← isysd left | 19:16 |
| → MacWinner joined | 19:17 |
| ← rominron_ left | 19:17 |
| ← MacWinner left | 19:17 |
| ← Nysar left | 19:17 |
| ← cdg_ left | 19:17 |
| → cqi joined | 19:18 |
| → ecuanaso joined | 19:20 |
| ← ecuanaso left | 19:21 |
| → ecuanaso joined | 19:21 |
| ← zerotresBR left | 19:21 |
| → Nysar joined | 19:21 |
| → durham_ joined | 19:21 |
| ← cdg left | 19:21 |
| ← durham left | 19:21 |
| ← sargas_ left | 19:22 |
| → sargas joined | 19:22 |
| ← bocaneri left | 19:24 |
| ← Ryanar left | 19:24 |
| → MineCoins joined | 19:25 |
| → idlemind joined | 19:29 |
| → druonysus_ joined | 19:29 |
| → denete__ joined | 19:30 |
| ← synthroid left | 19:30 |
| ← durham_ left | 19:32 |
| ← jccn left | 19:32 |
| ← CheckDavid left | 19:33 |
| ← denete_ left | 19:34 |
| → satifant joined | 19:35 |
| ← idlemind left | 19:35 |
| ← chll_ left | 19:36 |
| → kent\n joined | 19:38 |
| → jccn joined | 19:39 |
| → beny joined | 19:41 |
| ← beny left | 19:41 |
| → beny joined | 19:41 |
| → Flaghacker joined | 19:42 |
| ← codemann left | 19:43 |
|
Flaghacker
| I had a problem that was caused by something going corrupt in .git (as we determined a couple of days ago on this channel) but the issue is solved when I clone my local project. I can't however figure out a way to do this while cloning all branches and keeping the old origin (Github). How can I do a full clone? | 19:44 |
| ← InfoTest left | 19:44 |
| ← beny left | 19:45 |
|
moritz
| Flaghacker: generally with git clone --mirror | 19:45 |
|
Flaghacker
| moritz, Thanks, I'll try that! | 19:45 |
| → peacememories joined | 19:47 |
|
peacememories
| hi everyone | 19:47 |
|
gitinfo
| peacememories: 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. | 19:47 |
| → NeverDie joined | 19:47 |
| ← Singmyr left | 19:47 |
| ← theoceaniscool left | 19:47 |
|
peacememories
| can't quite figure this out: if i have a git repo, and another git repo in a subdirectory, can i somehow merge the subdirectory with its history into the parent repo? | 19:47 |
| ← geoid_ left | 19:47 |
| → hasc_ joined | 19:47 |
| → t94j0 joined | 19:48 |
|
grawity
| yeah, search for 'subtree merge' | 19:48 |
|
| I think even `git subtree` is a thing nowadays | 19:48 |
| ← t94j0 left | 19:48 |
| → geoid_ joined | 19:48 |
|
peacememories
| grawity already did, but it sounds a bit like it's supposed to pull in the subdirs from remotes instead of just using the local ones? | 19:48 |
| ← hasc left | 19:49 |
| ← e14 left | 19:49 |
| → jsolano joined | 19:49 |
| → hasc joined | 19:50 |
| → idlemind joined | 19:50 |
|
peacememories
| oh, sorry for disappearing after asking a question, but i have to go. bye everyone | 19:51 |
| ← peacememories left | 19:51 |
| → durham joined | 19:52 |
| ← hasc_ left | 19:52 |
| ← spacelord_ left | 19:52 |
| ← cqi left | 19:52 |
| ← geoid_ left | 19:53 |
| ← jsolano left | 19:54 |
| → spacelord_ joined | 19:54 |
| ← paladinn left | 19:55 |
| → hobodave_ joined | 19:56 |
| → pity joined | 19:58 |
| ← hobodave left | 19:58 |
|
Flaghacker
| moritz, That only cloned the .git folder though. Should I just put those files in the result of a normal clone? | 19:58 |
|
osse
| --mirror implies --bare AFAIK | 19:59 |
|
moritz
| Flaghacker: it creates a bare repo; you can push from that | 19:59 |
|
| Flaghacker: if you want a copy to work with, do a normal clone | 19:59 |
|
| there are also tutorials out there on how to turn a bare repo in a non-bare one | 20:00 |
| → nowhereman joined | 20:00 |
|
Flaghacker
| moritz, The problem was that a normal clone doesn't copy all the the branches, would starting from a bare one and turning it into a non-bare one fix that? | 20:01 |
|
moritz
| Flaghacker: yes | 20:02 |
| → dedondesta joined | 20:02 |
|
Flaghacker
| And it doesn't simply copy the whole .git folder over, right? Because that wouldn't solve my proble. | 20:02 |
| → lindenle joined | 20:02 |
| ← pity left | 20:02 |
|
dedondesta
| how do i undo merge and already been pushed? | 20:02 |
| → jimi_ joined | 20:03 |
| ← nowhere_man left | 20:03 |
|
kadoban
| dedondesta: You can revert a merge. It has one big thing to remember though: when you want to merge in the future *first, revert the revert of the merge* | 20:04 |
| ← LBV_User left | 20:04 |
|
kadoban
| man git revert | 20:04 |
|
gitinfo
| the git-revert manpage is available at http://jk.gs/git-revert.html | 20:04 |
| → aidalgol joined | 20:04 |
| → LBV_User joined | 20:04 |
| ← cyan__ left | 20:07 |
| ← LBV_User left | 20:08 |
| → overlord_tm joined | 20:09 |
| → texinwien joined | 20:13 |
| → rominron_ joined | 20:14 |
| ← texinwien left | 20:14 |
| → texinwien joined | 20:14 |
| → askb joined | 20:15 |
| → Cabanoss- joined | 20:18 |
| ← gugah left | 20:19 |
| → e14 joined | 20:21 |
| ← jost left | 20:22 |
| ← Cabanossi left | 20:22 |
| Cabanoss- → Cabanossi | 20:22 |
| ← Rodya_ left | 20:22 |
| ← nickabbey left | 20:22 |
| ← noecc left | 20:23 |
| ← prawnzy left | 20:23 |
| → geoid_ joined | 20:24 |
| → rwb joined | 20:25 |
| ← ikelso left | 20:27 |
| → ikelso joined | 20:28 |
| → prawnzy joined | 20:28 |
| ← cdown left | 20:29 |
| → cdown joined | 20:29 |
| → m0viefreak joined | 20:29 |
| ← MineCoins left | 20:30 |
| → n-st joined | 20:30 |
| ← ikelso left | 20:32 |
| → mischat joined | 20:32 |
| ← mischat left | 20:32 |
| → mischat joined | 20:33 |
| ← Es0teric left | 20:34 |
| → jnavila joined | 20:35 |
| ← mischat left | 20:35 |
| → Es0teric joined | 20:36 |
| → ikelso joined | 20:37 |
| ← cdown left | 20:39 |
| → lucasem joined | 20:41 |
| → ji joined | 20:42 |
| ← ji left | 20:43 |
| → ji joined | 20:43 |
| → courrier joined | 20:44 |
| ← ji left | 20:44 |
| → HELPme joined | 20:45 |
| HELPme → Guest4206 | 20:45 |
| gitinfo set mode: +v | 20:46 |
|
Guest4206
| hello | 20:46 |
|
gitinfo
| Guest4206: 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. | 20:46 |
|
Guest4206
| i need help | 20:46 |
|
| anytime i try to clone a link from github i get 'fatal' unable to resolve host 'github.com' | 20:46 |
|
| is anyone here who can help? | 20:47 |
| ← rominron_ left | 20:48 |
| ← crayon left | 20:48 |
| ← e14 left | 20:48 |
|
Guest4206
| anyone at all? | 20:48 |
|
kadoban
| Guest4206: Sounds like a network problem more than anything. Are you behind any kind of proxy, or? | 20:49 |
|
| Can you visit github.com in your browser successfully? | 20:49 |
|
Guest4206
| I disable firewall. I don't believe i am behind a proxy | 20:49 |
|
| i can visit github.com successfully yes | 20:49 |
| → mischat joined | 20:50 |
| → LionsMane joined | 20:50 |
| → nickabbey joined | 20:51 |
| → e14 joined | 20:52 |
| ← HardlySeen left | 20:53 |
| → gugah joined | 20:54 |
| ← zeroed left | 20:54 |
|
Guest4206
| any suggestions? | 20:54 |
|
Dougie187
| How are you cloning? | 20:55 |
| → kulelu88 joined | 20:55 |
| ← ecuanaso left | 20:55 |
| → d5sx43 joined | 20:55 |
|
Guest4206
| git clone + link | 20:55 |
|
Dougie187
| But what kind of link? | 20:55 |
|
| [email@hidden.address] or https://github.com? | 20:55 |
|
Guest4206
| https://github.com | 20:56 |
| → Atm0spher1c joined | 20:56 |
|
Dougie187
| can you ping www.github.com? | 20:58 |
|
Guest4206
| yes | 20:58 |
| ← Flaghacker left | 20:58 |
| → zeroed joined | 20:58 |
| → Flaghacker joined | 20:58 |
| ← sarri left | 20:58 |
|
Dougie187
| No ideas from me then. I don't usually use the https links because I find them more annoying. | 20:58 |
|
| maybe someone else can give some ideas. | 20:59 |
| → j416 joined | 20:59 |
| → ecuanaso joined | 20:59 |
|
Guest4206
| up till last week whenever i cloned any link it all went smoothly | 20:59 |
| ← n-st left | 20:59 |
|
Guest4206
| this week for some strange reason it just is unable to resolve host github.com | 21:00 |
| → theoceaniscool joined | 21:00 |
| → sarri joined | 21:01 |
| ← sarri left | 21:01 |
| → sarri joined | 21:01 |
| ← Es0teric left | 21:03 |
| ← ShapeShifter499 left | 21:03 |
| → n-st joined | 21:05 |
| → cagedwisdom joined | 21:05 |
| ← n-st left | 21:05 |
| → Tobbi joined | 21:05 |
| ← dreiss left | 21:06 |
| ← canuk left | 21:06 |
| ← d5sx43 left | 21:06 |
| → n-st joined | 21:06 |
| ← eroussel left | 21:06 |
| ← Guest4206 left | 21:07 |
| → dsdeiz joined | 21:07 |
| ← jeffreylevesque left | 21:08 |
| ← j416 left | 21:08 |
| ← nowhereman left | 21:10 |
| → anuxivm joined | 21:10 |
| → j416 joined | 21:10 |
| ← Nysar left | 21:13 |
| ← NeverDie left | 21:14 |
| → Nysar joined | 21:14 |
| → Singmyr joined | 21:15 |
| ← MrMojito left | 21:17 |
| → Derperperd joined | 21:18 |
| → matsaman joined | 21:18 |
| → dreiss joined | 21:18 |
| ← Ice_Strike left | 21:19 |
| ← druonysus_ left | 21:23 |
| ← ecuanaso left | 21:24 |
| ← LeBlaaanc left | 21:26 |
| → ecuanaso joined | 21:27 |
| ← jccn left | 21:28 |
| ← rwb left | 21:28 |
| ← rivarun left | 21:29 |
| → jeffreylevesque joined | 21:29 |
| → rivarun joined | 21:29 |
| ← denete__ left | 21:30 |
| → denete_ joined | 21:31 |
| → jccn joined | 21:33 |
| ← YuGiOhJCJ left | 21:33 |
| ← tyreld left | 21:33 |
| → Rodya_ joined | 21:34 |
| ← b100s left | 21:35 |
| ← dreiss left | 21:36 |
| ← Flaghacker left | 21:36 |
| → eroussel joined | 21:40 |
| → Flaghacker joined | 21:40 |
| → Limes__ joined | 21:41 |
|
Flaghacker
| Hey guys! I cloned a local project using "git clone --mirror ...", then I converted the resulting bare project to a normal one using this guide (http://stackoverflow.com/a/10637882/5517612). When I now try to "git push origin master" i get the error "error: --mirror can't be combined with refspecs". I already tried changing origin to be github again, is there something else I need to do? | 21:43 |
|
moritz
| Flaghacker: does the .git/config mention "bare" or "mirror" or anything related? | 21:44 |
| → energizer joined | 21:44 |
|
energizer
| is it possible to git diff <(sort myfile) <(sort file2) | 21:44 |
| → rominronin joined | 21:44 |
|
moritz
| energizer: have you tried it? | 21:45 |
|
Flaghacker
| moritz, Under [core] it says "bare = false" and under [remote "origin"] it says "mirror = true", so yes. | 21:45 |
| ← Nysar left | 21:45 |
|
energizer
| moritz: yeah doesnt work exactly like that, maybe somehing a little different | 21:45 |
| ← nickabbey left | 21:46 |
| ← neunon left | 21:47 |
| → nickabbey joined | 21:47 |
|
moritz
| energizer: you could use ordinary diff -u | 21:47 |
|
energizer
| moritz: im looking for --color-words | 21:48 |
|
moritz
| Flaghacker: try removing the mirror = true | 21:48 |
| → tyreld joined | 21:49 |
| → Sasazuka joined | 21:49 |
|
Flaghacker
| moritz, Thanks, that worked! What did that mean? | 21:49 |
|
moritz
| Flaghacker: "hey look, this is not a mirror anymore" | 21:49 |
| → HcsOmot_ joined | 21:50 |
|
moritz
| energizer: you can use diff-hilight for that | 21:50 |
|
Flaghacker
| And what does it mean to be a mirror? Why was that specified within [remote "origin"]? | 21:50 |
|
moritz
| Flaghacker: it means that pulling and pushing works on all branches by default, not just on the current oen | 21:51 |
| ← IndigoTiger left | 21:52 |
| → mehola joined | 21:53 |
| → SwiftMatt joined | 21:53 |
| ← idlemind left | 21:53 |
| ← tyreld left | 21:54 |
| → dreiss joined | 21:54 |
| ← jccn left | 21:54 |
| ← thallada left | 21:55 |
| ← madewokherd left | 21:56 |
|
Flaghacker
| moritz, Okay thanks for helping me and thanks for the explanation. | 21:56 |
| ← metachr01 left | 21:58 |
| ← mehola left | 21:58 |
| → idlemind joined | 21:59 |
| → cdown joined | 22:00 |
| → tvw joined | 22:00 |
| → thallada joined | 22:02 |
| ← energizer left | 22:02 |
| ← thallada left | 22:02 |
| ← spacelord_ left | 22:02 |
| → thallada joined | 22:02 |
| ← jagob left | 22:02 |
| ← x0h_eax left | 22:03 |
|
HcsOmot_
| i'm trying to learn git by solving problems on learngitbranching.js.org and I'm wondering how accurate it is. this is what one of the problems looks like, and what I did. the app didn't accept my solution as valid. I'm wondering what exactly happens to commits when you do git reset HEAD^. could anyone help out please? | 22:03 |
| → Lea2 joined | 22:03 |
| ← Learath2 left | 22:03 |
|
HcsOmot_
| http://pasteboard.co/q4XQca77U.png | 22:03 |
| ← jimi_ left | 22:04 |
| Lea2 → Learath2 | 22:04 |
| → energizer joined | 22:04 |
| ← blackwind_123 left | 22:04 |
| → cdg joined | 22:04 |
| ← cdg left | 22:05 |
| → cdg joined | 22:05 |
| ← ash_workz left | 22:05 |
| → tyreld joined | 22:05 |
| → blackwind_123 joined | 22:06 |
| ← Emperor_Earth_ left | 22:06 |
| ← ikelso left | 22:07 |
| ← douglascorrea left | 22:08 |
| ← rivarun left | 22:08 |
| → ikelso joined | 22:08 |
| → rivarun joined | 22:08 |
| → douglascorrea joined | 22:08 |
| → jstimm joined | 22:09 |
| → chipotle joined | 22:09 |
| → Nysar joined | 22:10 |
| ← Rodya_ left | 22:10 |
| → sand-bird joined | 22:10 |
| → isysd joined | 22:10 |
|
HcsOmot_
| actually, take this link into considerations | 22:11 |
|
| http://pasteboard.co/q57NAF8Gj.png | 22:11 |
| → ikelso_ joined | 22:11 |
| ← ikelso left | 22:11 |
| → dunpeal joined | 22:12 |
| ← douglascorrea left | 22:13 |
| ← afuentes left | 22:13 |
| → systemovich joined | 22:13 |
|
dunpeal
| Hi. I have master, and a branch foo diverging from it. Since the divergence, foo had one unique commit A made into it, followed by a merge of master (1 commit B) followed by one more unique commit C on foo. I'd like to squash A and C together into a single commit D, but not include B. Is there a clean option? | 22:14 |
| ← systemovich left | 22:14 |
| ← energizer left | 22:14 |
| → energizer1 joined | 22:14 |
| → Rodya_ joined | 22:14 |
|
thiago
| dunpeal: no | 22:15 |
|
dunpeal
| If I do `git rebase -i A^`, I get the B commit in the list of commits to be merged. | 22:15 |
| ← ecuanaso left | 22:15 |
|
dunpeal
| thiago: really? I'm OK with rebasing foo. | 22:15 |
| → MattMaker joined | 22:15 |
| → irqq_ joined | 22:15 |
|
dunpeal
| It's a private branch, I'm the only user. | 22:15 |
| → Cabanoss- joined | 22:16 |
| ← jnavila left | 22:16 |
| → cdg_ joined | 22:16 |
| ← MattMaker left | 22:16 |
|
thiago
| the problem is B | 22:16 |
|
| you need to undo the merge | 22:16 |
| → MattMaker joined | 22:16 |
|
dunpeal
| Can't I just rebase C onto A? | 22:17 |
|
thiago
| easiest is to checkout A, then cherry-pick -n C, git commit --amend | 22:17 |
| ← cdg left | 22:17 |
|
dunpeal
| right, or just rebase C onto A, then squash them with rebase -i | 22:17 |
| ← lindenle left | 22:17 |
| ← hahuang65 left | 22:17 |
| ← Cabanossi left | 22:17 |
| Cabanoss- → Cabanossi | 22:17 |
| ← kpease_ left | 22:18 |
| ← irqq left | 22:18 |
|
thiago
| the problem with doing the rebase is that it might show the commits coming via B | 22:18 |
| ← rominronin left | 22:19 |
|
thiago
| so I cannot recommend it because I don't know how rebase -i will behave | 22:19 |
|
dunpeal
| Seems fine, actually. | 22:19 |
| → peacememories joined | 22:19 |
|
dunpeal
| I just did a rebase -i, and removed B manually. | 22:19 |
| → ghoti joined | 22:19 |
| → canuk joined | 22:20 |
|
dunpeal
| The reason I asked is because it seems like a common task that would be tedious. | 22:20 |
| ← le_melomane left | 22:20 |
| ← peacememories left | 22:21 |
| ← Virox left | 22:21 |
|
dunpeal
| I.E. this is obviously a minimal example, with just 3 commits, but often you will have have tons of merged ("B") commits sprinkled among foo commits. | 22:21 |
|
| So I thought there would be a shortcut. | 22:21 |
| → d5sx43 joined | 22:21 |
| → peacememories joined | 22:21 |
| ← jstimm left | 22:21 |
| ← ikelso_ left | 22:21 |
| ← Flaghacker left | 22:22 |
| → ikelso joined | 22:22 |
| ← mischat left | 22:22 |
| → mischat joined | 22:23 |
| ← TrentonDAdams_ left | 22:23 |
|
thiago
| it's unlikely to be common | 22:23 |
| → TrentonDAdams_ joined | 22:23 |
|
dunpeal
| I think another thing you can do here is to merge --squash back to master. | 22:24 |
| → jccn joined | 22:24 |
|
thiago
| if you're still working on your commits and you possibly want to edit them, you shouldn't be merging | 22:24 |
| ← dreiss left | 22:24 |
|
thiago
| you should be rebasing | 22:24 |
| ← TrentonDAdams_ left | 22:24 |
| → TrentonDAdams_ joined | 22:24 |
|
dunpeal
| thiago: thing is, rebasing so often is kinda messy. | 22:24 |
|
| you have to push -f every time you do. | 22:24 |
| ← Nysar left | 22:24 |
| ← TrentonDAdams_ left | 22:24 |
| → TrentonDAdams joined | 22:25 |
| → cdg joined | 22:25 |
|
dunpeal
| thiago: also, this question is relevant even if you're done working and just want to merge back via a PR or whatever. | 22:25 |
|
TrentonDAdams
| is there a way of forcing git log graph option to always show a branch with a branch? i.e. I have a branch I just rebased against master, but it's confusing for that branch to show in the same line as the master, cause it's a different branch | 22:25 |
| → ismaris joined | 22:25 |
|
dunpeal
| e.g. you want to have a PR be a single clean commit, instead of a jumble of many small ones. | 22:25 |
|
TrentonDAdams
| dunpeal, I'm toying with the squashing concept. It seems nice, because you don't get sprinkled commits | 22:26 |
|
| And, it's very clear if you have a project branch, what was changed | 22:26 |
| ← nickabbey left | 22:27 |
| ← ikelso left | 22:27 |
| ← d5sx43 left | 22:27 |
| → shamowfski joined | 22:27 |
| → Virox joined | 22:27 |
| ← mischat left | 22:27 |
|
thiago
| TrentonDAdams: if it's been rebased, there's no branching | 22:28 |
|
| dunpeal: you can do that, via rebase. | 22:28 |
| ← cdg_ left | 22:29 |
|
thiago
| you always rebase. Don't merge until it's finished. | 22:29 |
| ← zeroed left | 22:29 |
| ← dendazen left | 22:29 |
| → d5sx43 joined | 22:29 |
| ← Murii left | 22:29 |
| → rwb joined | 22:30 |
| ← kettlewell left | 22:30 |
| ← nettoweb left | 22:30 |
| → lindenle joined | 22:30 |
| ← d5sx43 left | 22:32 |
| → nettoweb joined | 22:32 |
| → dreiss joined | 22:34 |
| ← nettoweb left | 22:34 |
| ← denete_ left | 22:36 |
|
adymitruk
| is there a way to only show decorated commits, branch points and merge points in git log --graph and exclude all other commits? | 22:36 |
|
| or even simpler, only show decorated commits and any relevant branches and merges to them? | 22:37 |
| → crayon joined | 22:38 |
| → hahuang65 joined | 22:38 |
| ← eroussel left | 22:42 |
| ← cagedwisdom left | 22:44 |
| → Ryanar joined | 22:44 |
| ← t0by left | 22:45 |
| ← publio left | 22:45 |
| → ToBeCloud joined | 22:47 |
| gitinfo set mode: +v | 22:47 |
| ← satifant left | 22:48 |
| ← sargas left | 22:50 |
| → douglascorrea joined | 22:53 |
|
peacememories
| hmm, still can't figure this out. trying to integrate a repository into a parent repository (preserving commits etc) | 22:53 |
| ← ismaris left | 22:54 |
| → MrWoohoo joined | 22:55 |
| ← hobodave_ left | 22:56 |
| → Nokurn joined | 22:56 |
| ← e14 left | 22:57 |
| → cagedwisdom joined | 22:57 |
| ← perlpilot left | 22:57 |
| ← redhedded1 left | 22:58 |
| → redhedded1 joined | 22:58 |
|
Eugene
| peacememories - !subrepo | 22:58 |
|
gitinfo
| peacememories: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 22:58 |
|
Eugene
| If you want to merge the subrepo's history with the parent.... then you're in for a ride | 22:59 |
|
peacememories
| Eugene then i guess i'm in for a ride^^' | 22:59 |
|
Eugene
| The usual approach is to copy the files in and commit it with a message of "Copied from $OLD_REPO_URL at commit ABCDEF" | 22:59 |
|
| Here's a blog post(I haven't tried it) that gives the full rollercoaster procedure. https://passingcuriosity.com/2015/combining-git-repositories/ | 23:00 |
|
| You'll also want to read man git-filter-branch | 23:00 |
|
gitinfo
| the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html | 23:00 |
| ← fmeerkoetter left | 23:01 |
| → fmeerkoetter joined | 23:01 |
| ← stamina left | 23:01 |
|
Eugene
| Straightening out merges is left as an exercise | 23:01 |
|
| My honest advice is to re-examine why you care about history. In almost all scenarios the answer is "because I want to", and IMO it is far, far simpler to leave a note explaining why you didn't bother. | 23:02 |
|
| You may also want to reat up on https://git.wiki.kernel.org/index.php/GraftPoint | 23:02 |
|
peacememories
| yeah, i think i just won't bother^^' | 23:02 |
|
| i was hoping to find a somewhat elegant solution, but it's really not worth it breaking open the git internals^^ | 23:03 |
|
TrentonDAdams
| thiago, I rebased though, I didn't merge it to master. | 23:04 |
|
| Yes, the history is the same up until the branch I rebased, and then it's just my changes from that point on, but it's still weird visually to see it look like the changes are on master. | 23:04 |
| → cdg_ joined | 23:05 |
|
TrentonDAdams
| Oh, it does change the color of the graph characters. | 23:05 |
|
Eugene
| Indeed. | 23:05 |
| ← Limes__ left | 23:06 |
| ← dsdeiz left | 23:06 |
| ← Dougie187 left | 23:07 |
| → madewokherd joined | 23:07 |
| → ecuanaso joined | 23:07 |
| ← hahuang65 left | 23:08 |
| ← cdg left | 23:08 |
| → publio joined | 23:09 |
| → snowkidind joined | 23:09 |
| → Guest36461 joined | 23:10 |
| → WifiBrain joined | 23:10 |
| ← treia left | 23:10 |
| ← Cabanossi left | 23:11 |
| → Cabanossi joined | 23:11 |
| → dsdeiz joined | 23:12 |
| ← snowkidind left | 23:12 |
| ← mda1 left | 23:12 |
| ← ResidentBiscuit left | 23:13 |
| ← matsaman left | 23:14 |
| ← Rodya_ left | 23:14 |
| → NeverDie joined | 23:14 |
| ← swords left | 23:15 |
| → rominronin joined | 23:16 |
| ← lindenle left | 23:16 |
| ← dsdeiz left | 23:16 |
| → Nysar joined | 23:16 |
| ← ecuanaso left | 23:17 |
| ← Derperperd left | 23:17 |
| ← doener left | 23:17 |
| → cdg joined | 23:19 |
| ← King_Hual left | 23:21 |
| → lindenle joined | 23:21 |
| ← HcsOmot_ left | 23:22 |
| → snowkidind joined | 23:22 |
| → matsaman joined | 23:22 |
| ← cdg_ left | 23:22 |
| → ismaris joined | 23:24 |
| ← Nysar left | 23:24 |
| → Sasazuka__ joined | 23:24 |
| ← snowkidind left | 23:25 |
| ← Sasazuka left | 23:25 |
| → nettoweb joined | 23:25 |
| ← johnny56_ left | 23:26 |
| ← lindenle left | 23:26 |
| ← Samual left | 23:26 |
| → boz_v1 joined | 23:27 |
| ← energizer1 left | 23:27 |
| → snowkidind joined | 23:27 |
| ← nettoweb left | 23:28 |
| → ShapeShifter499 joined | 23:28 |
| → johnny56_ joined | 23:28 |
| → energizer joined | 23:29 |
| → dsdeiz joined | 23:29 |
| ← dersand left | 23:30 |
| ← peacememories left | 23:30 |
| ← courrier left | 23:30 |
| → CheckDavid joined | 23:30 |
| → Samual joined | 23:32 |
| → dendazen joined | 23:32 |
| → denete joined | 23:33 |
| → lindenle joined | 23:33 |
| → Nysar joined | 23:33 |
| ← m0viefreak left | 23:34 |
| → a_thakur joined | 23:35 |
| ← a_thakur left | 23:36 |
| ← energizer left | 23:36 |
| → a_thakur joined | 23:36 |
| ← msonntag left | 23:37 |
| → GavinMagnus joined | 23:37 |
| → bocaneri joined | 23:37 |
| ← denete left | 23:38 |
| → Kaisyu joined | 23:38 |
| ← cdg left | 23:39 |
| → trip joined | 23:39 |
| ← Samual left | 23:39 |
| trip → Guest81315 | 23:39 |
| → parasite_ joined | 23:39 |
| ← AaronMT left | 23:39 |
| → hasc_ joined | 23:41 |
| ← hasc left | 23:41 |
| ← MattMaker left | 23:42 |
| → cdg joined | 23:42 |
| ← snowkidind left | 23:43 |
| ← Hudu left | 23:43 |
| ← jccn left | 23:44 |
| → rkazak joined | 23:44 |
| → jameser joined | 23:44 |
| ← Hobbyboy left | 23:45 |
| → Samual joined | 23:46 |
| ← barteks2x left | 23:46 |
| → jccn joined | 23:48 |
| ← jameser left | 23:49 |
| ← rkazak left | 23:49 |
| ← tyreld left | 23:50 |
| ← rominronin left | 23:51 |
| → msonntag joined | 23:51 |
| → jameser joined | 23:51 |
| ← cdown left | 23:51 |
| ← hhee left | 23:52 |
| → swords joined | 23:52 |
| → sargas joined | 23:52 |
| → Zoxc joined | 23:53 |
| ← NeverDie left | 23:53 |
| ← raspado left | 23:53 |
| → NeverDie joined | 23:53 |
| ← jameser left | 23:53 |
| → moei joined | 23:54 |
| ← Zialus left | 23:55 |
| ← manuelschneid3r left | 23:55 |
| ← m4sk1n left | 23:55 |
| → raspado joined | 23:55 |
| ← msonntag left | 23:55 |
| → snowkidind joined | 23:55 |
| → snowkidi_ joined | 23:56 |
| → Zialus joined | 23:56 |
| → barteks2x joined | 23:58 |
|
BlessJah
| is there an actual algorith to determine graph color or is it just an random thing? (algorith as in "it's based on branching point hash" or "it will loop through red-yellow-magenta...") | 23:58 |
| ← NeverDie left | 23:59 |