| 2022-09-27 |
| → luke-jr joined | 00:02 |
| ← Sasazuka left | 00:04 |
| → Sasazuka joined | 00:05 |
| → Visne joined | 00:05 |
| → sudoforge joined | 00:05 |
| → nate3 joined | 00:08 |
| → arch_angel joined | 00:09 |
| ← nate3 left | 00:16 |
| ← luke-jr left | 00:18 |
| → luke-jr joined | 00:20 |
| ← zebrag left | 00:21 |
| → very_sneaky joined | 00:21 |
| ← Stooge left | 00:25 |
| → roadie joined | 00:26 |
| → lukedashjr joined | 00:28 |
| → hoochmonger joined | 00:30 |
| ← luke-jr left | 00:30 |
| lukedashjr → luke-jr | 00:31 |
| ← roadie left | 00:31 |
| ← Sasazuka left | 00:36 |
| ← crabbedhaloablut left | 00:38 |
| → loki_val joined | 00:38 |
| ← xx left | 00:42 |
| → Sasazuka joined | 00:42 |
| ← Sasazuka left | 00:44 |
| ← luke-jr left | 00:49 |
| → lukedashjr joined | 00:49 |
| lukedashjr → luke-jr | 00:50 |
| ← luke-jr left | 00:51 |
| → luke-jr joined | 00:57 |
| ← luke-jr left | 01:00 |
| → gsi_ joined | 01:03 |
| → luke-jr joined | 01:04 |
| → cation joined | 01:05 |
| ← luke-jr left | 01:05 |
| → luke-jr joined | 01:08 |
| ← Visne left | 01:08 |
| → Visne joined | 01:11 |
| ← dsrt^ left | 01:15 |
| ← Murr left | 01:16 |
| → Murr joined | 01:16 |
| → off^ joined | 01:19 |
| → lukedashjr joined | 01:19 |
| ← luke-jr left | 01:22 |
| lukedashjr → luke-jr | 01:22 |
| ← cdown left | 01:23 |
| ← junebug left | 01:30 |
| → roadie joined | 01:32 |
| ← pulse left | 01:39 |
| → jinsun__ joined | 01:39 |
| jinsun__ → jinsun | 01:39 |
| → Lunatrius` joined | 01:39 |
| → natechan joined | 01:39 |
| ← natechan left | 01:40 |
| ← thiago left | 01:41 |
| ← clime left | 01:41 |
| → natechan joined | 01:41 |
| ← hoochmonger left | 01:43 |
| Lunatrius` → Lunatrius | 01:43 |
| → neightchan joined | 01:43 |
| ← natechan left | 01:43 |
| → hoochmonger joined | 01:43 |
| → relight joined | 01:43 |
| ← sudoforge left | 01:44 |
| → Leonarbro joined | 01:45 |
| ← roadie left | 01:46 |
| ← Novi left | 01:46 |
| → Novi joined | 01:48 |
| ← umbramalison left | 01:49 |
| ← relight left | 01:49 |
| → umbramalison joined | 01:50 |
| → relight joined | 01:50 |
| → SleePy joined | 01:54 |
| ← SleePy left | 01:54 |
| → clime joined | 01:55 |
| → SleePy joined | 01:56 |
| → xkoncek joined | 01:56 |
| → lucasta joined | 02:02 |
| → sudoforge joined | 02:09 |
| → niterrors joined | 02:09 |
| → zmt00 joined | 02:10 |
| → roadie joined | 02:10 |
| ← n1ght3rr0r5 left | 02:12 |
| → Jenna16bit joined | 02:13 |
| ← Jenna16bit left | 02:13 |
| → Jenna16bit joined | 02:13 |
| ← luke-jr left | 02:13 |
| ← ferdna left | 02:15 |
| → TonyStone joined | 02:15 |
| ← roadie left | 02:15 |
| → luke-jr joined | 02:16 |
| ← niterrors left | 02:17 |
| ← off^ left | 02:20 |
| → niterrors joined | 02:21 |
| ← FinnElija left | 02:21 |
| → finn_elija joined | 02:21 |
| finn_elija → FinnElija | 02:21 |
| → off^ joined | 02:22 |
| ← Visne left | 02:26 |
| → nate3 joined | 02:27 |
| → Visne joined | 02:29 |
| → n1terr0rs joined | 02:32 |
| → roadie joined | 02:33 |
| ← niterrors left | 02:34 |
| ← luke-jr left | 02:44 |
| → lukedashjr joined | 02:44 |
| → thiago joined | 02:45 |
| lukedashjr → luke-jr | 02:46 |
| ← roadie left | 02:47 |
| ← chexum left | 02:47 |
| → chexum joined | 02:48 |
| → hbautista joined | 02:51 |
| ← clime left | 02:53 |
| ← bloody left | 02:59 |
| ← TonyStone left | 03:00 |
| → roadie joined | 03:00 |
| ← Novi left | 03:00 |
| → Novi joined | 03:03 |
| ← roadie left | 03:05 |
| → TonyStone joined | 03:10 |
| → roadie joined | 03:17 |
| ← roadie left | 03:22 |
| ← tyson2 left | 03:22 |
| ← sudoforge left | 03:31 |
| ← lucasta left | 03:36 |
| → srinidhi joined | 03:39 |
| → bket joined | 03:42 |
| ← nate3 left | 03:43 |
| → igemnace joined | 03:48 |
| → dimi1947 joined | 03:48 |
|
dimi1947
| I am tryint to use git fetch with the depth option:git fetch origin --depth=5 the response though is this remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 | 03:54 |
|
| does this mean that no commits were donwloaded? if that is the case how is that possible? | 03:54 |
| → n1t3rr0r5 joined | 03:56 |
| → ProperNoun joined | 03:58 |
| ← n1terr0rs left | 04:00 |
| → loulou joined | 04:07 |
| ← loulou left | 04:07 |
| → loulou joined | 04:07 |
| → Xenguy joined | 04:09 |
| ← Betal left | 04:13 |
| → lukedashjr joined | 04:17 |
| ← luke-jr left | 04:18 |
| lukedashjr → luke-jr | 04:18 |
| → roadie joined | 04:36 |
| ← srinidhi left | 04:39 |
| → srinidhi joined | 04:56 |
| → n1ghterr0rs joined | 05:01 |
| ← n1t3rr0r5 left | 05:04 |
| → madewokherd` joined | 05:07 |
| ← madewokherd left | 05:10 |
| → nate3 joined | 05:10 |
| ← n1ghterr0rs left | 05:11 |
| → n1ghterr0rs joined | 05:12 |
| ← nate3 left | 05:15 |
| ← Murr left | 05:15 |
| → Murr joined | 05:16 |
| ← thiago left | 05:20 |
| → RiFo joined | 05:20 |
| → coot joined | 05:22 |
| → maret joined | 05:29 |
| ← arch_angel left | 05:29 |
| ← maret left | 05:33 |
| ← agarr left | 05:34 |
| → agarr joined | 05:34 |
| ← Xaldafax left | 05:35 |
| ← epony left | 05:46 |
| ← nighterrors left | 05:47 |
| ← srinidhi left | 06:05 |
| ← jazzy left | 06:07 |
| → kyshoc joined | 06:07 |
| → srinidhi joined | 06:08 |
| ← loulou left | 06:08 |
| ← n1ghterr0rs left | 06:12 |
| → loulou joined | 06:13 |
| ← loulou left | 06:13 |
| → loulou joined | 06:13 |
| → Sazhen86 joined | 06:13 |
| ← loulou left | 06:19 |
| → zeenk joined | 06:19 |
| → csm3105 joined | 06:27 |
| → gas51627 joined | 06:29 |
| → otisolsen70 joined | 06:30 |
| ← otisolsen70 left | 06:31 |
| → otisolsen70 joined | 06:32 |
| → rfuentess joined | 06:44 |
| → m5zs7k joined | 06:44 |
| ← loki_val left | 06:50 |
| → crabbedhaloablut joined | 06:51 |
| ← dimi1947 left | 06:55 |
|
cbreak
| do you already have the history? | 07:05 |
| → shanmukh joined | 07:05 |
| ← shanmukh left | 07:06 |
| → theoceaniscool joined | 07:10 |
| → Ram-Z joined | 07:12 |
| → epony joined | 07:12 |
| → dionysus69 joined | 07:15 |
| → lagash joined | 07:22 |
| → jiffe joined | 07:23 |
| → nate3 joined | 07:29 |
| → Telmud joined | 07:32 |
| ← nate3 left | 07:34 |
| → dermoth joined | 07:36 |
| → zan joined | 07:36 |
| ← dionysus69 left | 07:37 |
| → Stooge joined | 07:37 |
| → dionysus69 joined | 07:38 |
| ← srinidhi left | 07:42 |
| → iomari891 joined | 07:54 |
| ← dionysus69 left | 07:56 |
| → khronosschoty joined | 07:57 |
| → TomyWork joined | 08:01 |
| ← skapata left | 08:02 |
| → dionysus69 joined | 08:03 |
| → Guest3 joined | 08:05 |
| → memoryleak joined | 08:07 |
| ← Masklin left | 08:07 |
| → feriman joined | 08:13 |
| → Ajax1469 joined | 08:19 |
| → tulpa_ joined | 08:19 |
| ← very_sneaky left | 08:20 |
| ← dionysus69 left | 08:20 |
| Ajax1469 → Ajax146 | 08:20 |
| → terminaldweller joined | 08:22 |
| → very_sneaky joined | 08:32 |
| → dionysus69 joined | 08:32 |
| ← dionysus69 left | 08:40 |
| → xx joined | 08:40 |
| → MajorBiscuit joined | 08:41 |
| → onizu joined | 08:43 |
| → Masklin joined | 08:45 |
| → Guest215 joined | 08:45 |
| ← Guest215 left | 08:46 |
| ← Sazhen86 left | 08:50 |
| ← opal left | 08:57 |
| ← YuGiOhJCJ left | 08:57 |
| ← Mikaela left | 08:57 |
| → DibbTubberOne joined | 08:57 |
| → YuGiOhJCJ joined | 08:57 |
| → Mikaela joined | 08:57 |
| → opal joined | 08:57 |
| → arch_angel joined | 09:02 |
| ← opal left | 09:09 |
| → opal joined | 09:10 |
| ← Guest3 left | 09:15 |
| → rsx joined | 09:18 |
| → hexadecagram joined | 09:19 |
| → tulpa__ joined | 09:22 |
| ← tulpa_ left | 09:23 |
| ← feriman left | 09:24 |
| → feriman joined | 09:25 |
| ← hexadecagram left | 09:28 |
| → theobjectivedad joined | 09:31 |
| → clime joined | 09:38 |
| ← hamburgler left | 09:41 |
| ← YuGiOhJCJ left | 09:44 |
| ← Telmud left | 09:45 |
| → Murr- joined | 09:49 |
| ← Murr left | 09:51 |
| Murr- → Murr | 09:51 |
| → DrowningElysium joined | 09:53 |
| vdamewood → vinleod | 09:54 |
| → rosco joined | 09:54 |
| vinleod → vdamewood | 09:58 |
| ← opal left | 10:04 |
| ← rosco left | 10:05 |
| → King_julian joined | 10:07 |
| → opal joined | 10:10 |
| ← DibbTubberOne left | 10:11 |
| → moldorcoder7 joined | 10:12 |
| → hexadecagram joined | 10:13 |
| → sa0 joined | 10:15 |
| ← vishal left | 10:20 |
| → vishal joined | 10:24 |
| → fling joined | 10:27 |
| ← sa0 left | 10:32 |
| → _sa0sin_ joined | 10:32 |
| → cdown joined | 10:41 |
| → pulse joined | 10:42 |
| ← kevr left | 10:54 |
| → kevr joined | 10:56 |
|
jdarnley
| Is there a config option that makes `git commit --amend` not open an editor by default? | 10:58 |
|
gsi_
| well there is -m to provide the message in the invocation, which eliminates the need for an editor | 11:00 |
| → tyson2 joined | 11:00 |
|
jdarnley
| There is also --no-edit but I usually forget that | 11:01 |
|
gsi_
| can't tell whether it combines well with --amend, you may experiment with -c and setting the editor spec | 11:01 |
|
| that's why somebody invented aliases :) | 11:01 |
| ← vicecea left | 11:01 |
|
jdarnley
| Which is why I ask. Can I make --no-edit the default for --amend? | 11:01 |
|
| Can I alias --amend to --amend --no-eidt? | 11:02 |
| → vicecea joined | 11:02 |
|
osse
| no | 11:02 |
|
gsi_
| probably not, but then is closing an editor so bad? guess it's worth to check | 11:02 |
|
osse
| but you can alias git amend to git commit --amend --no-edit | 11:02 |
|
| it's nice | 11:02 |
|
| git config --global alias.amend 'commit --amend --no-edit' | 11:03 |
|
gsi_
| chances are that the amending results in a commit that needs or benefits from a different message | 11:03 |
|
jdarnley
| What?! Not in my experience | 11:03 |
|
osse
| I use that alias so much that I use it even when I want to actually change the message, and then use my 'git reword' alias :P | 11:03 |
|
jdarnley
| osse: thanks and I guess I can append --edit when I need to and git which use whatever comes last? | 11:03 |
|
geirha
| git commit -m "Don't forget to squash me" | 11:03 |
|
osse
| jdarnley: not 100 % sure but I assume so | 11:04 |
|
jdarnley
| geirha: --squash for that or --fixup | 11:04 |
|
osse
| gri | 11:04 |
|
jdarnley
| Alias for ammend it is | 11:05 |
|
| wait... I don't need to worry about adding --edit because I'll probably use commit then. | 11:07 |
|
| Well lets see how well I remember to use the new command | 11:07 |
|
geirha
| the hard part is remembering if it was two Ms or one | 11:10 |
|
jdarnley
| oh whoops | 11:10 |
|
| I will spell my alias correctly | 11:10 |
|
| lol | 11:10 |
| ← littlebuddy left | 11:16 |
|
gsi_
| configure a 'ci' alias, make it resolve to 'commit -v' (I wish this would be the default anyway) | 11:16 |
|
| the only "problem" with aliases is that you won't find them on machines that you haven't configured yet, but such is life | 11:17 |
| ← Ram-Z left | 11:18 |
|
gsi_
| oh there is commit.verbose, reading and re-reading the builtin help is useful :) | 11:20 |
| → Ram-Z joined | 11:21 |
| → vitali64 joined | 11:22 |
| → manin891 joined | 11:22 |
| ← Jong left | 11:24 |
| ← coot left | 11:24 |
| → _vanessa_ joined | 11:28 |
| _vanessa_ → vaness | 11:28 |
| ← vitali64 left | 11:29 |
| → nate3 joined | 11:30 |
| vaness → vanessa | 11:34 |
| ← nate3 left | 11:35 |
|
osse
| it's nice because it also works when rewording commits in rebase -i | 11:42 |
| → Murr- joined | 11:43 |
| → coot joined | 11:45 |
| ← Murr left | 11:45 |
| Murr- → Murr | 11:45 |
|
gsi_
| nice one, I kept missing that, had to 'git diff --staged' or 'git diff --staged HEAD~1' from within the editor (abbreviated, of course) | 11:46 |
| → maret joined | 11:57 |
| → dimi1947 joined | 11:59 |
| ← coot left | 12:03 |
| ← jinsl left | 12:06 |
| → jinsl joined | 12:06 |
| → liefer joined | 12:08 |
| → dionysus69 joined | 12:13 |
| → dob1 joined | 12:15 |
| ← tulpa__ left | 12:16 |
| ← off^ left | 12:18 |
| ← FinnElija left | 12:19 |
| → FinnElija joined | 12:21 |
| ← King_julian left | 12:25 |
| ← fling left | 12:31 |
| ← FinnElija left | 12:31 |
| → FinnElija joined | 12:31 |
| → fling joined | 12:32 |
| → ac0 joined | 12:32 |
| → coot joined | 12:35 |
| → bambanxx joined | 12:36 |
| → lemonsni- joined | 12:37 |
| → rama joined | 12:39 |
| ← rama left | 12:40 |
| → mexen joined | 12:40 |
| → rama joined | 12:40 |
| → lucasta joined | 12:44 |
| → magic_ninja joined | 12:46 |
| ← crabbedhaloablut left | 12:57 |
| → crabbedhaloablut joined | 12:58 |
| → gryffus joined | 12:58 |
| ← feriman left | 13:00 |
| → menace joined | 13:04 |
| ← epony left | 13:04 |
| ← menace left | 13:04 |
| → menace joined | 13:04 |
| menace → Deknos | 13:04 |
| → epony joined | 13:06 |
| ← makara left | 13:08 |
| → makara joined | 13:08 |
| ← makara1 left | 13:08 |
| → gumnos joined | 13:08 |
| → makara1 joined | 13:09 |
| ← tyson2 left | 13:10 |
| ← Novi left | 13:12 |
| → Novi joined | 13:13 |
| ← dionysus69 left | 13:14 |
| → enoq joined | 13:15 |
| ← Murr left | 13:15 |
| ← maret left | 13:15 |
| → Murr joined | 13:16 |
| ← Xenguy left | 13:18 |
| → furrymcgee joined | 13:18 |
|
jdarnley
| WTF?! Why did that delete all my files? Have I misunderstood `git add --intent-to-add`? | 13:19 |
|
osse
| More info needed. | 13:19 |
|
jdarnley
| All I wanted was it to add the new file to the index | 13:19 |
|
leah2
| git add --intent-to-add adds an empty file. but yours should still be in the directory | 13:20 |
|
jdarnley
| `git apply --intent-to-add temp.diff` then `git status` shows "deleted: EVERYTHING" | 13:20 |
| ← Deknos left | 13:20 |
|
jdarnley
| I guess it isn't a shortcut for what I wanted to do | 13:21 |
|
leah2
| without additional flags that doesnt even do that...? | 13:21 |
|
| oh "--index is not specified" | 13:22 |
|
osse
| jdarnley: a plain 'git reset' fixes that. | 13:22 |
|
jdarnley
| Yeah I know | 13:23 |
|
osse
| but that's really bad UX | 13:23 |
|
leah2
| what even is that good for oO | 13:23 |
|
jdarnley
| let me see if adding --index does what I expected but also adds everything else in the patch | 13:23 |
|
leah2
| if you want to tweak a patch, it may be easier to git apply it and amend | 13:24 |
|
jdarnley
| "does not match index" you don't say! | 13:24 |
|
| No I just wanted my new files to get added to the index automatically | 13:24 |
| → mw_ joined | 13:25 |
| → dionysus69 joined | 13:25 |
| → dsrt^ joined | 13:30 |
| ← agarr left | 13:30 |
| ← chexum left | 13:32 |
| → chexum joined | 13:33 |
| ← rama left | 13:35 |
| → rama joined | 13:35 |
| ← hbautista left | 13:35 |
| → maret joined | 13:36 |
| → sa0 joined | 13:36 |
|
gsi_
| not sure what you see, but 'git add -N ...' works here as expected | 13:36 |
|
| have never used it with 'git apply', but the builtin --help discusses a few constraints (--index, explicit or implicit) | 13:37 |
| → davidsong joined | 13:38 |
| ← bambanxx left | 13:38 |
|
gsi_
| if that doesn't help, then try to show commands and their output which reproduces the issue, I cannot "get" the above rant | 13:39 |
| ← _sa0sin_ left | 13:39 |
| → Xaldafax joined | 13:40 |
| ← Visne left | 13:44 |
| ← rama left | 13:44 |
| → rama joined | 13:44 |
| → Visne joined | 13:47 |
| → gast0n joined | 13:48 |
| → nyah joined | 13:48 |
| ← chexum left | 13:50 |
| → chexum joined | 13:50 |
| → thiago joined | 13:56 |
| ← Piraty left | 14:00 |
| ← lucasta left | 14:09 |
| → kenanmarasli joined | 14:09 |
| → atrigent joined | 14:09 |
| → lucasta joined | 14:13 |
| → madewokherd joined | 14:14 |
| ← madewokherd` left | 14:17 |
| ← atrigent left | 14:20 |
| ← coot left | 14:21 |
| ← dimi1947 left | 14:23 |
| → atrigent joined | 14:27 |
| → k1773_ joined | 14:29 |
| ← k1773_ left | 14:29 |
| → k1773_ joined | 14:29 |
| ← Mikaela left | 14:30 |
| → Mikaela joined | 14:31 |
| → vitali64 joined | 14:36 |
| → fstd_ joined | 14:39 |
| ← fling left | 14:42 |
| → fling joined | 14:42 |
| → k1773__ joined | 14:44 |
| ← k1773__ left | 14:44 |
| → k1773__ joined | 14:44 |
| → lgc joined | 14:46 |
| ← lgc left | 14:46 |
| ← k1773_ left | 14:47 |
| → sudoforge joined | 14:54 |
| ← relight left | 14:54 |
| ← dionysus69 left | 15:00 |
| → jazzy joined | 15:00 |
| → zumba_addict joined | 15:05 |
| → dionysus69 joined | 15:05 |
| → Sulky joined | 15:06 |
| → feriman joined | 15:07 |
| → euouae joined | 15:08 |
|
euouae
| Hello, I'm using git to search for the first commit that a function appears in the repo | 15:08 |
|
| git log -S <function> --reverse | head -n1 | 15:09 |
| → Sulky_ joined | 15:09 |
|
euouae
| but I'm getting "warning: exhaustive rename detection was skipped due to too many files. | 15:09 |
|
| warning: you may want to set your diff.renameLimit variable to at least 4548 and retry the command." | 15:09 |
| → madewokherd` joined | 15:09 |
| → tyson2 joined | 15:09 |
| ← dsrt^ left | 15:10 |
| ← maret left | 15:12 |
|
selckin
| so do that | 15:12 |
| → squirrel joined | 15:12 |
| ← Sulky left | 15:12 |
| ← madewokherd left | 15:12 |
| → gh34 joined | 15:12 |
| → maret joined | 15:13 |
| ← maret left | 15:14 |
| ← scubanarc left | 15:16 |
| ← madewokherd` left | 15:17 |
|
euouae
| selckin: do you know what is happening? | 15:17 |
|
gsi_
| see git config --help and search for "renamelimit" there? | 15:18 |
|
euouae
| thank you, it's not clear why this happens but I will modify the setting as suggested. | 15:19 |
| ← lucasta left | 15:19 |
| → lucasta joined | 15:20 |
| ← crabbedhaloablut left | 15:23 |
| ← opal left | 15:23 |
| → opal joined | 15:24 |
| → crabbedhaloablut joined | 15:25 |
| ← rama left | 15:30 |
| → hans_ joined | 15:30 |
| → tulpa_ joined | 15:31 |
| ← opal left | 15:31 |
| → hxztnxt joined | 15:31 |
| → opal joined | 15:31 |
| → nate3 joined | 15:32 |
| → rama joined | 15:32 |
| ← rama left | 15:33 |
| → rama joined | 15:33 |
| → maret joined | 15:34 |
| ← gryffus left | 15:35 |
| ← mexen left | 15:36 |
| ← nate3 left | 15:37 |
| ← tyson2 left | 15:37 |
| ← dionysus69 left | 15:38 |
| → mexen joined | 15:39 |
|
drew
| is there a way to pull remote updates for one specific branch into a local branch without pulling all other tags? | 15:40 |
| ← csm3105 left | 15:42 |
|
euouae
| tags in other branches? | 15:42 |
| ← chexum left | 15:43 |
| → chexum joined | 15:43 |
|
drew
| http://0x0.st/o4sm.txt | 15:43 |
|
| yeah like if I do just `git pull` I'll pull a bunch of branches from gerrit, whereas I would just like to pull all updates for just one remote branch into just one local branch | 15:44 |
| → madewokherd joined | 15:44 |
| ← zumba_addict left | 15:44 |
|
gsi_
| well the remote's name would be "origin" would it not? | 15:44 |
|
mackerman
| git fetch <remote> <refspec> | 15:45 |
|
drew
| yeah, origin | 15:45 |
|
| i get mixed up with all the refs | 15:45 |
| → lukedashjr joined | 15:46 |
| ← luke-jr left | 15:47 |
| lukedashjr → luke-jr | 15:47 |
|
mackerman
| git fetch origin refs/heads/<branch>:refs/remotes/origin/<branch> | 15:48 |
|
drew
| ok, so `git fetch origin bs-8450` did it, and then I want to reset my local bs-8450 to origin/bs-8450 | 15:49 |
|
mackerman
| Getting one branch only, which for you is now under "remotes" as a ref. | 15:49 |
|
drew
| right? | 15:49 |
|
mackerman
| Did you want to merge, or did you want to reset ? | 15:50 |
|
drew
| ah, that would have been more straightforward mackerman | 15:50 |
| ← jetchisel left | 15:50 |
|
drew
| I think merge would just ff, so either is fine, but resetting would be more of what I want, as all my local changes is just cruft | 15:50 |
| → m0viefreak joined | 15:50 |
|
mackerman
| Probably did the same thing because of the default refspec, I was just more specific about it. | 15:50 |
| ← Mikaela left | 15:51 |
| → Mikaela joined | 15:52 |
| → jetchisel joined | 15:52 |
| ← manin891 left | 15:52 |
|
mackerman
| Did you care about working tree? If not, reset --hard may be acceptable | 15:54 |
| ← enoq left | 15:58 |
| ← jetchisel left | 15:58 |
| → gryffus joined | 15:59 |
| ← euouae left | 16:01 |
| → lukedashjr joined | 16:02 |
| ← luke-jr left | 16:03 |
| ← MajorBiscuit left | 16:04 |
| lukedashjr → luke-jr | 16:04 |
| ← Sulky_ left | 16:05 |
| ← lucasta left | 16:05 |
| → nighterrors joined | 16:16 |
| → gvg joined | 16:18 |
| → deego joined | 16:21 |
| ← umbramalison left | 16:21 |
|
deego
| I'm a git newbie. I have a humongous directory with 800GB that I sync to a self-managed server (git init --bare). git status shows they are all synced. Yet, the remote is only 10GB as reported by ncdu. Any suggestions on how to debug this? | 16:22 |
|
| (and there are no uncommited changes. I did run git prune) | 16:23 |
| ← rfuentess left | 16:24 |
| ← luke-jr left | 16:24 |
|
gsi_
| which part of your directory is 800GiB in size? the work tree (the checked out stuff), or the .git/ subdir (the meta data)? | 16:25 |
| → sgt_chuckles joined | 16:25 |
|
gsi_
| might well be that the 800GiB file content compresses to 10GiB repo on the server | 16:25 |
|
deego
| .git is only 7G | 16:26 |
| → coot joined | 16:26 |
|
deego
| oh, git compresses things? i didn't even know | 16:26 |
|
ikke
| git uses gzip and delta compression | 16:26 |
|
gsi_
| it does, after a while, or upon request | 16:26 |
|
deego
| nice! | 16:26 |
|
gsi_
| oh, right, I keep forgetting :) deflate immediately, and delta compression later when packing? | 16:27 |
|
| somehow remembered that un-packed content is uncompressed, but am mistaken there | 16:27 |
|
ikke
| loose objects are still gzip compressed | 16:28 |
| → scubanarc joined | 16:28 |
| ← chexum left | 16:29 |
| → chexum joined | 16:29 |
|
mackerman
| 80x compression of one tree is suspiciously good. | 16:31 |
|
| Count the number of files and comapre between say git ls-tree and a non-git find command. | 16:31 |
| → luke-jr joined | 16:32 |
|
mackerman
| Or there's just not a lot of unique information in the files. | 16:32 |
|
ikke
| Yeah, it would require a lot of redudant data to get that much compression | 16:33 |
| ← rama left | 16:33 |
| ← gryffus left | 16:34 |
|
mackerman
| Also review any gitignore | 16:34 |
| → rama joined | 16:34 |
| ← scubanarc left | 16:34 |
| → gryffus joined | 16:34 |
| ← luke-jr left | 16:35 |
| → luke-jr joined | 16:36 |
| → irrgit joined | 16:39 |
| → forgotmynick joined | 16:39 |
| → umbramalison joined | 16:39 |
| ← coot left | 16:40 |
| ← rama left | 16:40 |
| ← DrowningElysium left | 16:43 |
| → scubanarc joined | 16:43 |
| → user_ joined | 16:48 |
| ← scubanarc left | 16:52 |
| → terminalpusher joined | 16:54 |
| → rama joined | 16:56 |
| → Guest3 joined | 16:57 |
| → toralf joined | 17:00 |
| ← rama left | 17:01 |
| → lucasta joined | 17:02 |
| ← luke-jr left | 17:03 |
| ← vicecea left | 17:05 |
| → vicecea joined | 17:05 |
| → luke-jr joined | 17:06 |
| ← atrigent left | 17:08 |
| → jetchisel joined | 17:13 |
| ← vdamewood left | 17:15 |
| → Sasazuka joined | 17:16 |
| ← sgt_chuckles left | 17:16 |
| → rama joined | 17:17 |
| ← rama left | 17:19 |
| → rama joined | 17:19 |
| ← zeenk left | 17:20 |
| ← squirrel left | 17:22 |
| → nvmd joined | 17:23 |
| → atrigent joined | 17:24 |
| ← Mikaela left | 17:25 |
| → Mikaela joined | 17:25 |
| ← Visne left | 17:27 |
| ← atrigent left | 17:30 |
| → coot joined | 17:30 |
| → Visne joined | 17:30 |
|
deego
| mackerman: thanks | 17:33 |
| ← irrgit left | 17:34 |
| → skapata joined | 17:34 |
| → bambanxx joined | 17:35 |
| → LuxuryMode joined | 17:36 |
| ← hxztnxt left | 17:41 |
| → austin__ joined | 17:41 |
| ← bambanxx left | 17:43 |
|
CrtxReavr
| How do I re-commit, ie. update just a commit message? | 17:43 |
|
dav1d
| CrtxReavr, if it is the last commit you want to change `git commit --amend`, other wise you might be able to do it with `git rebase -i ...` | 17:44 |
|
| if your git history you want to rewrite contains merges, it becomes messy | 17:44 |
|
EdFletcher
| you definitely can with `rebase -i`: you use the "reword" directive | 17:44 |
|
dav1d
| EdFletcher, good luck if you have merge commits | 17:45 |
|
ikke
| CrtxReavr: if it's the latest commit, the easiest is to use git commit --amend | 17:46 |
|
CrtxReavr
| Yeah --amend should do the trick. | 17:46 |
|
EdFletcher
| dav1d: hahaha truth, hence why you should stick with one workflow or the other (I'm wholly in the rebase camp myself, which is why i always default to that method) | 17:47 |
|
ikke
| EdFletcher: I do both :P | 17:47 |
|
| rebase + no-ff merge | 17:47 |
| → nightstrike joined | 17:52 |
| ← rama left | 17:54 |
| → Jong joined | 17:57 |
| ← lucasta left | 17:59 |
| → rama joined | 17:59 |
| ← hans_ left | 18:00 |
| → scubanarc joined | 18:01 |
| ← rama left | 18:03 |
| → rama joined | 18:03 |
| → Narrat joined | 18:03 |
| → lucasta joined | 18:06 |
| → Betal joined | 18:07 |
| ← terminalpusher left | 18:08 |
| → bambanxx joined | 18:09 |
| ← nvmd left | 18:10 |
| → nvmd joined | 18:11 |
| ← Stooge left | 18:15 |
| → atrigent joined | 18:19 |
| → battos joined | 18:22 |
| ← liefer left | 18:24 |
| ← bambanxx left | 18:26 |
| → thuna` joined | 18:30 |
| ← jetchisel left | 18:30 |
|
thuna`
| What does git send-email do compared to attaching the patches to an email? How would I go about doing it manually? | 18:32 |
|
ikke
| It formats all the e-mails, and delivers them to an MTA | 18:33 |
|
kurahaupo
| ikke: no-ff merge or ff-only merge? (I specifically have an alias "git ff") | 18:33 |
|
ikke
| no-ff merge | 18:33 |
| → tyson2 joined | 18:33 |
|
thuna`
| ikke: Format how? | 18:33 |
|
ikke
| thuna`: format as in compose | 18:34 |
|
kurahaupo
| ikke: So only merge when you *can't* fast-forward? | 18:34 |
|
ikke
| kurahaupo: rebase, and force a merge commit | 18:34 |
|
thuna`
| ikke: I don't understand what "compose" entails, can you elaborate? | 18:34 |
| → KnoP joined | 18:34 |
|
ikke
| thuna`: Instead of you manually typing the e-mails, it creates one e-mail per commit, with (by default) the patch inline in the e-mail | 18:35 |
|
bremner
| thuna`: you can inspect the mails by using "git format patch" | 18:35 |
| ← KnoP left | 18:35 |
|
ikke
| oh right, git send-email does not create the actual e-mails | 18:36 |
|
| that's what format-patch does | 18:36 |
|
bremner
| thuna`: upstreams (like me) much prefer mail from git-format-patch, because they can be applied by "git am" without fussing with each message | 18:36 |
|
| no matter how nice your messages look if you do it manually, something will break. | 18:36 |
|
osse
| AKSHSKSUALLY send-email can take commits as argument and do the formatting as well as the sending | 18:38 |
| → dnh joined | 18:39 |
|
osse
| (I guess it delegates to format-patch under the hood) | 18:39 |
| ← austin__ left | 18:39 |
|
bremner
| osse: yes, it does | 18:39 |
| ← very_sneaky left | 18:40 |
|
bremner
| osse: my point was if you want to see what the mails are, format-patch allows you to preview or (not recommended) reverse engineer | 18:40 |
|
thuna`
| bremner: Is the .patch file directly what send-email sends? | 18:40 |
|
bremner
| yes | 18:41 |
|
| well. I _think_ so. | 18:41 |
|
| I'd have to double check there is no further processing | 18:41 |
| ← arch_angel left | 18:41 |
| ← rsx left | 18:43 |
| ← vitali64 left | 18:43 |
|
gsi_
| there's a simple way to find out: test it locally, send the mail to yourself | 18:45 |
|
| this is recommended practice anyway before you send stuff to others without knowing whether it works | 18:45 |
|
bremner
| thuna`: yeah, send-email adds To, and potentially Cc | 18:45 |
|
gsi_
| and full ACK to "don't try to do it manually", because if you are not familiar with format-patch you _will_ miss essential information | 18:46 |
|
bremner
| otherwise it is byte identical, modulo headers added by MTAs. Or arbitrary crap done by corporate mail munging servers | 18:46 |
|
gsi_
| those who (routinely) receive commits by email know this, that's why they recommend that submitters use the tools | 18:46 |
| → Lord_of_Life_ joined | 18:54 |
| ← Lord_of_Life left | 18:56 |
| ← maret left | 18:56 |
| Lord_of_Life_ → Lord_of_Life | 18:57 |
| → maret joined | 18:57 |
| ← hoochmonger left | 18:57 |
| ← FinnElija left | 19:00 |
| → FinnElija joined | 19:01 |
| ← lemonsni- left | 19:01 |
| ← momomo left | 19:01 |
| → momomo_ joined | 19:01 |
| ← battos left | 19:05 |
| ← iomari891 left | 19:12 |
| → ikwyl6 joined | 19:12 |
| ← Murr left | 19:15 |
| → Murr joined | 19:16 |
| ← momomo_ left | 19:22 |
| → causasui joined | 19:23 |
| → momomo joined | 19:23 |
| → odoood joined | 19:27 |
| ← xx left | 19:27 |
| ← odoood left | 19:27 |
| → odoood joined | 19:29 |
| ← Coop left | 19:31 |
| → nate3 joined | 19:33 |
| ← Sasazuka left | 19:35 |
| → puff joined | 19:37 |
| ← nate3 left | 19:39 |
| → dsrt^ joined | 19:40 |
| ← roadie left | 19:40 |
| → roadie joined | 19:40 |
| ← odoood left | 19:41 |
| ← igemnace left | 19:42 |
| → funhouse joined | 19:45 |
| ← roadie left | 19:45 |
| ← Guest3 left | 19:48 |
| ← TomyWork left | 19:49 |
| → roadie joined | 19:52 |
| → very_sneaky joined | 19:52 |
| ← tyson2 left | 19:55 |
| → tyson2` joined | 19:55 |
| → Coop joined | 19:56 |
| ← Mikaela left | 19:57 |
| → Stooge joined | 19:57 |
| ← atrigent left | 20:00 |
| ← tyson2` left | 20:04 |
| → Aminda joined | 20:05 |
| ← forgotmynick left | 20:06 |
| ← jinsun left | 20:08 |
| ← Aminda left | 20:08 |
| → Aminda joined | 20:08 |
| → Millicent joined | 20:12 |
| → ferdna joined | 20:13 |
| → Sasazuka joined | 20:20 |
| → jinsun joined | 20:20 |
| → geosmile joined | 20:25 |
| → YuGiOhJCJ joined | 20:26 |
| → nate3 joined | 20:30 |
| → ario_ joined | 20:39 |
|
ario_
| What's a good way to resolve merge conflicts on 20+ files | 20:39 |
| → ackyshake joined | 20:39 |
|
ikke
| use a good mergetool | 20:39 |
|
ario_
| I do git merge to then individually fix them | 20:39 |
|
| but it's weird, the merge removes some stuff | 20:39 |
| ← coot left | 20:40 |
|
ario_
| Is that the right approach? | 20:40 |
|
| Perform the git merge -> git tells you have merge conflict -> fix each file | 20:40 |
| → pretty_dumm_guy joined | 20:43 |
| ← rama left | 20:43 |
|
gsi_
| what do you mean "the merge removes some stuff"? | 20:46 |
|
| part of the diff gets applied automatically, as a user you only see the conflicts and have to resolve them | 20:47 |
| ← thuna` left | 20:47 |
|
gsi_
| or do you perceive that git "drops" content that should be there? without the commit removing it? that'd be unexpected | 20:47 |
|
| after you resolve conflicts and 'git add' the content that you want, 'git diff --staged' should look plausible to you, does it? | 20:48 |
|
cbreak
| and in addition to that, after the merge is completed, your code should compile, and your unit tests should still pass | 20:49 |
|
| and you shouldn't have any conflict markers in the code anymore :) | 20:49 |
| → rama joined | 20:50 |
| → relight joined | 20:52 |
| → arch_angel joined | 20:53 |
| ← madewokherd left | 20:54 |
| ← Sasazuka left | 21:02 |
| ← LuKaRo_ left | 21:04 |
| → Sasazuka joined | 21:05 |
| → hamburgler joined | 21:06 |
| ← otisolsen70 left | 21:10 |
| ← dnh left | 21:13 |
| → DonRichie joined | 21:16 |
| ← gh34 left | 21:17 |
| ← kenanmarasli left | 21:17 |
| ← crabbedhaloablut left | 21:24 |
| ← Narrat left | 21:25 |
| ← roadie left | 21:26 |
| ← rama left | 21:31 |
|
jsatk
| Anyone know what would cause `git log --show-signature` to not show any signatures but on Github it shows the "Verified" badge on the commit? | 21:32 |
| → rama joined | 21:32 |
|
cbreak
| jsatk: maybe the commit isn't signed, but there's a signed annotated tag for it? | 21:32 |
| → kurahaupo_ joined | 21:33 |
| ← nate3 left | 21:33 |
|
jsatk
| I'm seeing this consistently for all commits of mine in this repo. This is for my work's Github Enterprise instance as well. | 21:34 |
| ← kurahaupo left | 21:34 |
| ← rama left | 21:34 |
| → rama joined | 21:34 |
| ← rama left | 21:39 |
| → agarr joined | 21:44 |
| ← lucasta left | 21:47 |
| ← agarr left | 21:47 |
| → tyson2 joined | 21:48 |
| → atrigent joined | 21:49 |
|
cbreak
| wonder if the commit is actually signed | 21:50 |
|
| have you looked at the commit object with git cat-file -p commithash? | 21:51 |
| → roadie joined | 21:51 |
| → Shentino joined | 21:52 |
| → crabbedhaloablut joined | 21:52 |
| → Sazhen86 joined | 21:55 |
| ← roadie left | 21:56 |
| ← ac0 left | 21:56 |
| ← fling left | 21:56 |
| → kurahaupo joined | 21:57 |
| → karabaja4 joined | 21:57 |
|
gsi_
| does 'gpg --verify' work locally? git log --help suggests that this is used internally | 21:57 |
| ← kurahaupo_ left | 21:59 |
| → xx joined | 22:01 |
| ← Sasazuka left | 22:04 |
| ← tulpa_ left | 22:04 |
|
jsatk
| Hm. How do I do that. Running `gpg --verify` just hangs. It expects a file I believe. | 22:05 |
| ← LuxuryMode left | 22:06 |
| → zebrag joined | 22:08 |
| ← causasui left | 22:13 |
| → Sasazuka joined | 22:15 |
| ← xx left | 22:16 |
| ← chexum left | 22:20 |
| → chexum joined | 22:21 |
| → roadie joined | 22:22 |
| → PenguinMan98 joined | 22:26 |
| → bool_ joined | 22:27 |
|
PenguinMan98
| Trying to clone a repo. It's in a project managed by my company, that I do have access to; and is set up for ssh cloning. I use ssh-keygen to generate a keypair on my ubuntu VM, and set it in my github account. I configure the SSO to allow the key to be used on my company project. | 22:29 |
|
| When I try to clone though, I get an error 'Host key verification failed' | 22:29 |
|
| I've taken all the steps I could find on stack overflow, with no effect | 22:29 |
|
| ideas? | 22:30 |
| ← nvmd left | 22:30 |
|
mackerman
| "host key" means your ssh does not know the server, in this case GitHub | 22:31 |
|
| Test ssh interactively and see if ssh prompts you | 22:31 |
|
| ssh -T [email@hidden.address] # https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection | 22:31 |
| → tulpa_ joined | 22:32 |
|
PenguinMan98
| It prompted me | 22:33 |
| ← roadie left | 22:33 |
| ← m0viefreak left | 22:33 |
|
eamanu
| my 50cents your company is not filtering the keys? I don't if that is possible | 22:33 |
|
mackerman
| That GitHub doc links to their keys, so you can verify | 22:34 |
|
PenguinMan98
| OK, having accepted the key and forged the connection, I returned to the clone. Now it says 'Permission denied (publickey) | 22:35 |
|
mackerman
| Now your private key is incorrect | 22:35 |
|
PenguinMan98
| I created two and registered both with github | 22:36 |
|
| And on my system with ssh-add | 22:37 |
|
mackerman
| https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey shows how to check ssh-add -l output versus GitHub keys | 22:39 |
| → Xenguy joined | 22:40 |
| ← moldorcoder7 left | 22:43 |
| ← tulpa_ left | 22:46 |
| → Noisytoot_ joined | 22:47 |
| ← Noisytoot left | 22:47 |
|
PenguinMan98
| Thanks! It was the sudo | 22:49 |
|
| chowned the folder and dropped the sudo | 22:49 |
| ← Sazhen86 left | 22:49 |
|
PenguinMan98
| Now it cloned | 22:49 |
| ← arch_angel left | 22:54 |
| ← opal left | 22:59 |
| → GNUmoon joined | 22:59 |
| → roadie joined | 23:00 |
| ← GNUmoon left | 23:02 |
| → gasbag joined | 23:02 |
| → GNUmoon joined | 23:03 |
| ← gasbag left | 23:04 |
| → opal joined | 23:04 |
| → jim87 joined | 23:05 |
| ← theoceaniscool left | 23:05 |
| ← Noisytoot_ left | 23:07 |
| → Noisytoot joined | 23:11 |
| ← roadie left | 23:12 |
| ← GNUmoon left | 23:13 |
| → GNUmoon joined | 23:14 |
| ← YuGiOhJCJ left | 23:16 |
| ← peirik_ left | 23:18 |
| → jancoow7 joined | 23:19 |
| → vdamewood joined | 23:19 |
| → YuGiOhJCJ joined | 23:20 |
| jancoow7 → jancoow | 23:21 |
| ← jancoow left | 23:21 |
| → jancoow joined | 23:22 |
| ← tachoknight left | 23:25 |
| → bgs joined | 23:34 |
| → jjakob joined | 23:35 |
| ← lord| left | 23:35 |
| → lord| joined | 23:36 |
| ← nyah left | 23:37 |
| → xx joined | 23:38 |
| → roadie joined | 23:38 |
| → pieguy128 joined | 23:40 |
| ← GNUmoon left | 23:42 |
| → GNUmoon joined | 23:43 |
| → peirik_ joined | 23:44 |
| ← GNUmoon left | 23:47 |
| → GNUmoon2 joined | 23:47 |
| ← GNUmoon2 left | 23:48 |
| → funhouse_ joined | 23:48 |
| → GNUmoon2 joined | 23:49 |
| ← jancoow left | 23:49 |
| → LuKaRo joined | 23:49 |
| ← GNUmoon2 left | 23:50 |
| ← clime left | 23:50 |
| → GNUmoon2 joined | 23:51 |
| ← roadie left | 23:51 |
| ← funhouse left | 23:52 |
| → arescorpio joined | 23:52 |
| ← GNUmoon2 left | 23:52 |
| → GNUmoon2 joined | 23:53 |
| → madewokherd joined | 23:53 |
| → fling joined | 23:55 |
| → mud joined | 23:56 |
| ← zebrag left | 23:57 |
| ← gas51627 left | 23:58 |
| ← gast0n left | 23:58 |