| 2022-11-17 |
| ← bindu left | 00:00 |
| → arescorpio joined | 00:00 |
| ← odoood left | 00:00 |
| → odoood joined | 00:03 |
| ← arescorpio left | 00:03 |
| ← odoood left | 00:03 |
| → bindu joined | 00:04 |
| → gast0n joined | 00:05 |
| ← nyah left | 00:05 |
| → nyah joined | 00:06 |
| ← dvanloon left | 00:07 |
| → softirq joined | 00:14 |
| → dvanloon joined | 00:15 |
| ← oprypin left | 00:15 |
| → hiroot joined | 00:15 |
| ← zebrag left | 00:16 |
| ← Fusl left | 00:16 |
| → madewokherd joined | 00:17 |
| ← blahboybaz left | 00:18 |
| → oprypin joined | 00:20 |
| ← Murr left | 00:21 |
| ← NorrinRadd left | 00:22 |
| → Murr joined | 00:22 |
| ← Echoz left | 00:22 |
| → Guest40 joined | 00:22 |
|
Guest40
| hello | 00:22 |
|
| a doubt I have about Git | 00:23 |
|
| I do commit A at 12:00 | 00:23 |
|
| then I do commit B --amend at 20:00 | 00:24 |
|
| I was expecting the history entry of the commit to have the 20:00 timestamp | 00:24 |
| → NorrinRadd joined | 00:24 |
|
Guest40
| but i has 12:00 timestamp | 00:24 |
| → Techcable joined | 00:24 |
|
Guest40
| is it the supposed behavior? | 00:25 |
| → Fusl joined | 00:28 |
|
Guest40
| ping? | 00:29 |
| → cdown joined | 00:30 |
| → trafficjam joined | 00:32 |
| → Xenguy joined | 00:36 |
| ← softirq left | 00:42 |
| → softirq joined | 00:43 |
|
ajak
| that sounds right | 00:50 |
| ← Guest40 left | 00:50 |
| ← geosmile left | 00:51 |
| → TheCatBe1 joined | 00:52 |
| ← TheCatBehemoth left | 00:53 |
| ← NorrinRadd left | 00:53 |
| → bdeferme2 joined | 00:54 |
| ← squirrel left | 00:56 |
| ← duxsco left | 00:58 |
| → NorrinRadd joined | 00:58 |
| ← delay left | 00:59 |
| ← TheCatBe1 left | 01:00 |
| → audio joined | 01:00 |
| ← zeenk left | 01:08 |
| → blahboybaz joined | 01:09 |
| ← perrierjouet left | 01:11 |
| ← softirq left | 01:16 |
| → perrierjouet joined | 01:17 |
| → bywaterloo joined | 01:18 |
| → Echoz joined | 01:25 |
| ← bywaterloo left | 01:37 |
| ← chexum left | 01:40 |
| ← mei left | 01:41 |
| → chexum joined | 01:41 |
| → mei joined | 01:41 |
| ← ferdna left | 01:42 |
| ← derpydoo left | 01:43 |
| → TheCatBe1 joined | 01:43 |
| → srinidhi joined | 01:45 |
| → softirq joined | 01:47 |
| → lucasta joined | 01:47 |
| → wallabra joined | 01:51 |
| ← lucasta left | 01:54 |
| ← rustyshackleford left | 01:54 |
| ← bodiccea left | 01:55 |
| ← jacobk left | 02:00 |
| → atrigent joined | 02:02 |
| → bywaterloo joined | 02:05 |
| → infernix joined | 02:07 |
| ← bket left | 02:07 |
| ← gxt left | 02:09 |
| ← umbramalison left | 02:10 |
| → umbramalison joined | 02:11 |
| → kexec joined | 02:11 |
| → jacobk joined | 02:12 |
| → gxt joined | 02:13 |
| → bket joined | 02:13 |
| ← TheCatBe1 left | 02:22 |
| ← blahboybaz left | 02:22 |
| → xx joined | 02:23 |
| ← mgedmin left | 02:30 |
| ← jacobk left | 02:33 |
| → mgedmin joined | 02:33 |
| ← nyah left | 02:37 |
| ← softirq left | 02:40 |
| → lucasta joined | 02:42 |
| → eXtr3m0_ joined | 02:43 |
| ← eXtr3m0_ left | 02:44 |
| → eXtr3m0_ joined | 02:44 |
| ← eXtr3m0 left | 02:44 |
| eXtr3m0_ → eXtr3m0 | 02:45 |
| → dulange__ joined | 02:45 |
| ← dulange_ left | 02:48 |
| ← mandeep left | 02:48 |
| → YuGiOhJCJ joined | 02:52 |
| ← YuGiOhJCJ left | 02:56 |
| → YuGiOhJCJ joined | 02:56 |
| → softirq joined | 03:00 |
| ← lucasta left | 03:00 |
| ← Stilgar left | 03:06 |
| ← SuperLag left | 03:08 |
| → SuperLag joined | 03:08 |
| ← gxt left | 03:13 |
| → gxt joined | 03:14 |
| ← xx left | 03:14 |
| → xx joined | 03:14 |
| ← softirq left | 03:19 |
| → lucasta joined | 03:20 |
| → softirq joined | 03:21 |
| → SirRippovMaple50 joined | 03:24 |
| ← rgrinberg left | 03:24 |
| ← lucasta left | 03:34 |
| ← cdown left | 03:35 |
| ← bywaterloo left | 03:35 |
| → Stilgar joined | 03:35 |
| ← Cleverness left | 03:38 |
| ← softirq left | 03:40 |
| ← perrierjouet left | 03:41 |
| ← kexec left | 03:41 |
| → perrierjouet joined | 03:42 |
| → bodiccea joined | 03:44 |
| → softirq joined | 03:46 |
| → finn_elija joined | 03:47 |
| ← FinnElija left | 03:47 |
| finn_elija → FinnElija | 03:47 |
| → dsrt^ joined | 04:01 |
| → mven joined | 04:04 |
| → lucasta joined | 04:04 |
| ← Stilgar left | 04:13 |
| → Stilgar joined | 04:14 |
| ← sudoforge left | 04:15 |
| → jacobk joined | 04:20 |
| ← lucasta left | 04:24 |
| ← gsi left | 04:24 |
| → gsi joined | 04:26 |
| ← softirq left | 04:26 |
| → softirq joined | 04:26 |
| ← softirq left | 04:31 |
| ← lechner left | 04:31 |
| → lechner joined | 04:32 |
| ← lechner left | 04:36 |
| ← gast0n left | 04:37 |
| → zebrag joined | 04:38 |
| → TheCatBehemoth joined | 04:39 |
| ← zebrag left | 04:39 |
| → Jong joined | 04:47 |
| → blahboybaz joined | 04:50 |
| → lolok joined | 04:53 |
| → lucasta joined | 04:54 |
| → lechner joined | 04:56 |
| ← srinidhi left | 05:00 |
| → __ELFrederich joined | 05:20 |
| ← _ELFrederich left | 05:20 |
| ← lechner left | 05:21 |
| ← skapata left | 05:21 |
| → lechner joined | 05:30 |
| ← Lord_of_Life left | 05:31 |
| → Lord_of_Life joined | 05:31 |
| ← atrigent left | 05:32 |
| → atrigent joined | 05:33 |
| ← small left | 05:38 |
| ← lucasta left | 05:43 |
| ← cation left | 05:47 |
| → nate4 joined | 05:49 |
| ← Shentino_ left | 05:50 |
| → small joined | 05:54 |
| ← nate4 left | 05:55 |
| ← makara1 left | 05:56 |
| ← makara left | 05:56 |
| → makara joined | 05:58 |
| → makara1 joined | 05:59 |
| → Shentino joined | 05:59 |
| → maret joined | 06:01 |
| ← Jong left | 06:02 |
| → cation joined | 06:04 |
| → han-solo joined | 06:04 |
| ← audio left | 06:07 |
| → FH_thecat joined | 06:10 |
| → blaklistd joined | 06:14 |
| ← TheCatBehemoth left | 06:19 |
| → madewokherd` joined | 06:25 |
| ← madewokherd left | 06:29 |
| → AyLaa23 joined | 06:32 |
| ← fstd left | 06:34 |
| → fstd joined | 06:34 |
| ← shailangsa left | 06:35 |
| → ajfriesen joined | 06:35 |
| ← AyLaa23 left | 06:35 |
| ← MaverickFischer left | 06:35 |
| ← specing left | 06:36 |
| ← majors left | 06:36 |
| → MaverickFischer joined | 06:36 |
| → majors joined | 06:36 |
| ← NightMonkey left | 06:36 |
| ← jacobk left | 06:36 |
| → sco1_ joined | 06:36 |
| ← sco1 left | 06:36 |
| ← arahael left | 06:37 |
| → NightMonkey joined | 06:37 |
| → jacobk joined | 06:38 |
| → specing joined | 06:38 |
| ← elastic_dog left | 06:42 |
| ← moldorcoder7 left | 06:42 |
| → elastic_dog joined | 06:43 |
| → csm310599 joined | 06:44 |
| ← thiago left | 06:44 |
| ← bgs left | 06:46 |
| ← kyshoc left | 06:47 |
| → kyshoc joined | 06:47 |
| ← kyshoc left | 06:47 |
| → kyshoc joined | 06:47 |
| → arahael joined | 06:49 |
| → sa0 joined | 06:50 |
| → agarr joined | 06:53 |
| → otisolsen70 joined | 06:54 |
| → igemnace joined | 06:56 |
| ← otisolsen70 left | 06:57 |
| → otisolsen70 joined | 06:58 |
| → shailangsa joined | 07:02 |
| → KnoP joined | 07:10 |
| ← FH_thecat left | 07:10 |
| → FH_thecat joined | 07:11 |
| → srinidhi joined | 07:11 |
| → mihael joined | 07:13 |
|
mihael
| Is it possible to get a repo size without cloning the repo? | 07:13 |
| ← NorrinRadd left | 07:18 |
| → agarr1 joined | 07:20 |
| ← bn_work left | 07:21 |
| ← agarr left | 07:23 |
| agarr1 → agarr | 07:23 |
|
grawity
| not really | 07:28 |
|
| the closest you could get is directly running `du -hs /path/to/repo` on the git server | 07:28 |
|
| but even that will likely be different from a fresh clone | 07:28 |
| ← otisolsen70 left | 07:29 |
| ← LuxuryMode left | 07:35 |
| → carl- joined | 07:35 |
| → carl-- joined | 07:37 |
| → hamster joined | 07:39 |
| ← ham left | 07:40 |
| ← carl- left | 07:40 |
| ← agarr left | 07:41 |
| → peirik__ joined | 07:41 |
| ← xx left | 07:43 |
| → carl--- joined | 07:43 |
| → rfuentess joined | 07:43 |
| ← dulange__ left | 07:44 |
| ← carl-- left | 07:46 |
| ← trafficjam left | 07:51 |
| ← blahboybaz left | 07:51 |
| → Jong joined | 07:54 |
| → zeenk joined | 08:01 |
| → agarr joined | 08:03 |
| ← ali1234 left | 08:04 |
| → ali1234 joined | 08:05 |
| ← FH_thecat left | 08:07 |
| → theoceaniscool joined | 08:07 |
| → FH_thecat joined | 08:08 |
| ← Jong left | 08:08 |
| → aidalgol joined | 08:10 |
| → oxymoron93 joined | 08:14 |
| → hqdruxn08_ joined | 08:14 |
| → feriman joined | 08:17 |
| ← hqdruxn08 left | 08:17 |
| ← Murr left | 08:21 |
| → Murr joined | 08:21 |
| ← jazzy left | 08:22 |
| ← dermoth left | 08:23 |
| → xx joined | 08:25 |
| → mncheck joined | 08:25 |
| → otisolsen70 joined | 08:25 |
| ← agarr left | 08:26 |
| → zmt01 joined | 08:29 |
| ← bodiccea left | 08:30 |
| → bodiccea joined | 08:30 |
| ← zmt00 left | 08:32 |
| ← GrapeSlush left | 08:33 |
| ← peirik__ left | 08:35 |
| → dermoth joined | 08:35 |
| ← jfsimon1981 left | 08:35 |
| → GrapeSlush joined | 08:37 |
| → jfsimon1981 joined | 08:39 |
| → TheCatBehemoth joined | 08:41 |
| → MajorBiscuit joined | 08:42 |
| → belsirk joined | 08:44 |
| ← TheCatBehemoth left | 08:45 |
| → peirik__ joined | 08:46 |
| ← rfuentess left | 08:47 |
| ← BlessJah left | 08:50 |
| → BlessJah joined | 08:50 |
| → agarr joined | 08:52 |
| → cami||e_ joined | 08:54 |
| → coot joined | 08:56 |
| → EvilDMP joined | 08:59 |
| → dulange__ joined | 09:03 |
| ← maret left | 09:03 |
| → maret joined | 09:07 |
| → Guest40 joined | 09:10 |
| ← troyt left | 09:16 |
| → troyt joined | 09:18 |
| → sedzcat joined | 09:23 |
| → rfuentess__ joined | 09:27 |
| ← belsirk left | 09:30 |
| → dionysus69 joined | 09:32 |
| ← agarr left | 09:35 |
| → Nintendo joined | 09:35 |
|
Nintendo
| I have a branch called “docker” that hasn't been accepted by upstream yet, but I need it to run a Docker container. Then, I have a branch named “feature” that I need to push upstream. I want to test the feature branch (which is based off upstream's master), but I need my Docker branch's changes in order to do so. | 09:38 |
|
| I thought the correct way of doing this was: git rebase --onto docker feature | 09:39 |
|
| But I ran that, and all the changes from the feature branch disappeared. I don't know how to get them back, but I can see the last (and only) commit in .git/COMMIT_EDITMSG. | 09:40 |
|
grawity
| if you have an older "good" commit id, you can e.g. `git reset --keep` to it | 09:41 |
| → gareppa joined | 09:41 |
|
grawity
| if you don't have one, try to find it in `git reflog feature` | 09:41 |
|
| commits might disappear after a successful rebase if that particular change was *already* in the "base" | 09:41 |
|
Nintendo
| Thank you. I do have a good commit, but I don't see it in git log, so I don't know the ID. | 09:42 |
|
| It is in git reflog, though. | 09:43 |
|
| So I am saved... I suppose the question now is: What command should I have run instead of rebase --onto? | 09:44 |
| ← gareppa left | 09:50 |
| → tirnanog joined | 09:50 |
| → donofrio joined | 09:50 |
| → nate4 joined | 09:52 |
| ← donofrio__ left | 09:53 |
| ← peirik__ left | 09:53 |
| → duxsco joined | 09:55 |
| → peirik__ joined | 09:55 |
| → strk joined | 09:56 |
| ← nate4 left | 09:57 |
|
osse
| Nintendo: if you wanted to rebase feature onto docker then you should presumably either have run: git rebase docker, or git rebase --onto docker master when stood on the feature branch | 09:58 |
|
| replace master with whatever branch the feature branch is branched off from | 09:58 |
| → fandre1986 joined | 10:01 |
|
gsi
| another approach would be: keep the two branches as they are, start another one from master, and temporarily merge what you need into there, test, then drop | 10:02 |
|
| branches are cheap and useful, but nobody said they must be kept after they served their purpose :) | 10:02 |
|
| the first merge probably will be fast forward, the next may or may not conflict, depends on the types of changes in the branches, and maybe their order, but that's to be expected I guess | 10:04 |
| ← Aminda left | 10:04 |
|
gsi
| you kind of "do in advance" during testing what later merges between test and regular use happens, it's useful to see those conflicts, too | 10:05 |
|
Nintendo
| Yes, thank you both. I ended up doing just that, gsi, in order to test. | 10:05 |
|
| git rebase -i --onto testing master docker # with “testing” being my cheap and useful temp branch off “feature” | 10:06 |
|
| git rebase -i --onto docker master testing # Also, for whatever reason, the reverse failed. | 10:07 |
| ← perrierjouet left | 10:07 |
| → Aminda joined | 10:08 |
| → thblt joined | 10:10 |
|
Nintendo
| Back to actual testing... nothing breaks. After pushing, I will be a free man once again. 😃 | 10:10 |
| → perrierjouet joined | 10:11 |
|
thblt
| Some days ago I asked about issues with gpg signatures from git with multiple subkeys on multiple smartcards. I finally came up with a working solution to refresh git config (and also sshcontrol) with the currently available keys, here it is: https://raw.githubusercontent.com/thblt/dotfiles/master/.local/bin/refresh-gpg-cards | 10:11 |
|
| (There is no question, this is a follow-up) (also "crossposting", sorry to the people at the intersection of #gnupg and #git) | 10:12 |
| ← mihael left | 10:15 |
| → drogas joined | 10:21 |
| ← Murr left | 10:21 |
| → Murr joined | 10:21 |
| ← maret left | 10:26 |
| ← hamburgler left | 10:26 |
| ← hiroot left | 10:26 |
| → maret joined | 10:36 |
| → roadie joined | 10:36 |
| → delay joined | 10:44 |
| → agarr joined | 10:45 |
| ← delay left | 10:51 |
| → mobidrop joined | 10:53 |
| ← feriman left | 10:54 |
| → mei_ joined | 10:57 |
| → biapy joined | 10:59 |
| ← mei left | 10:59 |
|
gsi
| am not affected myself, but: thank you for following up with the solution! :-D | 11:01 |
| ← farzat left | 11:02 |
| ← Stilgar left | 11:03 |
| → Stilgar joined | 11:03 |
| → mei joined | 11:04 |
| ← mei left | 11:04 |
| ← YuGiOhJCJ left | 11:05 |
| ← duxsco left | 11:05 |
| → duxsco joined | 11:06 |
| → farzat joined | 11:07 |
| → jackneill joined | 11:07 |
| ← mei_ left | 11:07 |
| ← peirik__ left | 11:08 |
| ← dvanloon left | 11:10 |
| ← wavesong left | 11:13 |
| → peirik__ joined | 11:14 |
| ← agarr left | 11:15 |
| ← Guest40 left | 11:15 |
| → TheCatBehemoth joined | 11:16 |
| ← TheCatBehemoth left | 11:21 |
| → Guest96 joined | 11:22 |
| → iomari891 joined | 11:23 |
| → mei joined | 11:23 |
|
Guest96
| during initial clone, the remote says something like 'remote: Compressing objects: 100% (20249/20249), done.', and spends an considerable amount of time in that step. Is there a way to disable this step? In a LAN the compression may not gain much. Depending on what the remote actually compresses in that step... | 11:24 |
| → agowa338 joined | 11:24 |
|
ikke
| It's delta compression, which is baked in the protocol | 11:25 |
|
Guest96
| so I would need to throw more MHz into the issue, which I do not have. Guess I need to live with it. | 11:26 |
|
gsi
| "compression" may not matter because the LAN is fast, but still _packing_ is useful because even LANs have latency | 11:27 |
| → atrigent_ joined | 11:27 |
| ← phylaz left | 11:27 |
|
grawity
| I guess you could tune git upload-pack on the server to do less work (no idea what it does *after* 100%, but it's probably something to do with git-pack-objects), or even clone through a file-based protocol (like dumb-http or nfs) instead of the smart protocols | 11:27 |
|
Guest96
| does core.compression affect this compression? | 11:28 |
|
| I may set it to 1 | 11:28 |
| → swamp_ joined | 11:28 |
|
grawity
| it influences pack.compression so probably, but for packfiles there's a lot more going on than just zlib compression | 11:28 |
|
ikke
| Guest96: it's the compression used for individual objects, so I would not expect it to affect that part | 11:28 |
|
grawity
| I wouldn't be surprised if that's already the cheapest part... | 11:29 |
| ← atrigent left | 11:29 |
|
Guest96
| pack.compression defaults to -n1, according to the docs, so zlib decides. | 11:29 |
|
grawity
| see the other pack.* options | 11:29 |
| → dvanloon joined | 11:30 |
| ← zmt01 left | 11:31 |
| → Major_Biscuit joined | 11:31 |
| ← oxymoron93 left | 11:31 |
| ← Guest96 left | 11:31 |
| → vitali64 joined | 11:33 |
| → oxymoron93 joined | 11:34 |
| ← small left | 11:35 |
| ← MajorBiscuit left | 11:35 |
| → szkl joined | 11:39 |
| → wavesong joined | 11:40 |
| ← LuKaRo_ left | 11:41 |
| ← cami||e_ left | 11:43 |
| → LuKaRo joined | 11:44 |
| ← xx left | 11:46 |
| → lucasta joined | 11:48 |
| → Sulky joined | 11:54 |
| ← lucasta left | 11:55 |
| ← lolok left | 11:56 |
| ← Sulky left | 11:58 |
| → delay joined | 11:58 |
| ← Aminda left | 12:00 |
| ← Celelibi left | 12:03 |
| ← derjanni_ left | 12:04 |
| → derjanni joined | 12:06 |
| → Sulky joined | 12:06 |
| → Aminda joined | 12:06 |
| → wootehfoot joined | 12:07 |
| → Celelibi joined | 12:08 |
| → cami||e_ joined | 12:08 |
| ← peirik__ left | 12:08 |
| → peirik__ joined | 12:10 |
| ← Sulky left | 12:11 |
| → Sulky joined | 12:12 |
| ← Millicent left | 12:16 |
| → Millicent joined | 12:17 |
| ← roadie left | 12:18 |
| ← Murr left | 12:21 |
| → Murr joined | 12:21 |
| ← vitali64 left | 12:25 |
| ← oxymoron93 left | 12:36 |
| → oxymoron93 joined | 12:37 |
| → small joined | 12:37 |
| ← duxsco left | 12:41 |
| → duxsco joined | 12:41 |
| ← fandre1986 left | 12:54 |
| → ccapndave joined | 12:56 |
| ← delay left | 13:01 |
| → gas51627 joined | 13:04 |
| → blackchief joined | 13:05 |
| → softirq joined | 13:05 |
| → smeeagle joined | 13:05 |
| ← Xenguy left | 13:07 |
| → Xenguy joined | 13:08 |
| ← llh left | 13:09 |
| ← dvanloon left | 13:12 |
| → dvanloon joined | 13:16 |
| ← t3nj1n left | 13:17 |
| → t3nj1n joined | 13:17 |
| ← peirik__ left | 13:18 |
| ← __ad left | 13:19 |
| → ad__ joined | 13:19 |
| → phylaz joined | 13:20 |
| → nyah joined | 13:20 |
| ← ccapndave left | 13:21 |
| → peirik__ joined | 13:21 |
| ← iomari891 left | 13:22 |
| → ccapndave joined | 13:23 |
| ← KnoP left | 13:24 |
| ← rfuentess__ left | 13:24 |
| ← ccapndave left | 13:25 |
| → ccapndave joined | 13:25 |
| ← peirik__ left | 13:27 |
| → sd5 joined | 13:27 |
| → llh joined | 13:28 |
| ← ccapndave left | 13:29 |
| ← smeeagle left | 13:30 |
| ← maret left | 13:32 |
| → delay joined | 13:34 |
| → smeeagle joined | 13:35 |
| → thuna` joined | 13:39 |
| → bywaterloo joined | 13:39 |
| → iomari891 joined | 13:42 |
| ← phylaz left | 13:43 |
| ← mei left | 13:45 |
| → mei joined | 13:45 |
| → Earnestly joined | 13:53 |
| → KnoP joined | 13:53 |
| → nate4 joined | 13:53 |
| → peirik__ joined | 13:54 |
|
Earnestly
| What is an appropriate solution to using local mirrors (which become local clones) for submodules? With 2.38.1 this is now considered unsafe: https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253 | 13:54 |
|
| Currently clone from a mirror and then use git submodule to change the path to the local repo | 13:55 |
| ← duxsco left | 13:56 |
|
Earnestly
| Which now produces the error: > fatal: transport 'file' not allowed | 13:56 |
| ← delay left | 13:56 |
|
Earnestly
| Is there perhaps a more sensible alternative to just using: git -c protocol.file.allow=always? | 13:56 |
| → ccapndave joined | 13:57 |
| ← softirq left | 13:58 |
| ← nate4 left | 13:58 |
| ← smeeagle left | 14:00 |
| sco1_ → sco1 | 14:03 |
| ← Aminda left | 14:04 |
| → Aminda joined | 14:04 |
| → YellowSuB joined | 14:05 |
| ← c0dehu1k left | 14:06 |
| → cdown joined | 14:06 |
| → cdown_ joined | 14:08 |
| → irrgit_ joined | 14:09 |
| ← csm310599 left | 14:09 |
| ← Dotz0cat left | 14:10 |
| ← cdown left | 14:10 |
| cdown_ → cdown | 14:10 |
| ← thuna` left | 14:11 |
| ← ccapndave left | 14:12 |
| → thuna` joined | 14:12 |
| → Dotz0cat joined | 14:13 |
| → phil170 joined | 14:14 |
| → ccapndave joined | 14:15 |
| ← oxymoron93 left | 14:17 |
| → csm310599 joined | 14:17 |
| ← Xenguy left | 14:19 |
| → rama joined | 14:19 |
| → oxymoron93 joined | 14:20 |
| ← Murr left | 14:21 |
| → Murr joined | 14:21 |
| → eroux joined | 14:23 |
| → tga joined | 14:26 |
| → gast0n joined | 14:27 |
|
tga
| greetings. I'm building a kind of audit data lake, recording (probably in csv/parquet files) a bunch of API interactions -- I was just considering using git for versioning, to make sure nothing is ever lost | 14:27 |
| ← jfsimon1981 left | 14:27 |
| ← peirik__ left | 14:27 |
| → phil170_ joined | 14:27 |
|
tga
| my question: what's a repository size that would already be too much for git? | 14:27 |
| → jfsimon1981 joined | 14:27 |
| ← ccapndave left | 14:28 |
| → ccapndave joined | 14:28 |
| ← phil170 left | 14:29 |
| → phylaz joined | 14:30 |
| ← ccapndave left | 14:33 |
| ← RiFo left | 14:35 |
| → phil170 joined | 14:36 |
| ← phil170_ left | 14:36 |
| → gh34 joined | 14:37 |
| ← ProperNoun left | 14:38 |
| → ProperNoun joined | 14:39 |
| → peirik__ joined | 14:40 |
|
stutz
| morning, is there a setting/config to make git use -4 by default? | 14:45 |
| ← rama left | 14:45 |
| ← peirik__ left | 14:45 |
| → TheCatBehemoth joined | 14:46 |
| → rama joined | 14:47 |
| ← rama left | 14:48 |
|
selckin
| GIT_SSH_COMMAND="ssh -4" and ~/.curlrc for http | 14:48 |
| → rama joined | 14:48 |
| ← rama left | 14:50 |
| → rama joined | 14:51 |
|
tga
| would you consider git for versioning say ~100GB of text files? | 14:52 |
|
| so a size large enough that it doesn't fit in memory | 14:53 |
|
ikke
| tga: I personally would not | 14:54 |
|
tga
| I want something like S3 versioning but locally | 14:54 |
|
| I guess the alternative is to run an actual S3 implementation | 14:54 |
|
ikke
| tga: maybe something like lfs | 14:54 |
|
tga
| oh hmm I always thought of LFS as something for single large files, but I guess it would also work for many many small files | 14:55 |
|
stutz
| selckin thanks | 14:55 |
| ← Sulky left | 14:56 |
|
ikke
| tga: it would add overhead though | 14:56 |
|
tga
| I am mostly protecting against wrong deletes and I also want to be able to "prove" that the archive wasn't trivially modified | 14:56 |
|
| so nobody can go into a log file and change a few numbers | 14:56 |
| → rgrinberg joined | 14:57 |
|
tga
| lfs can still deal with a file being changed/replaced, right? | 14:57 |
| ← strk left | 14:59 |
| → geri joined | 15:00 |
| ← edgars left | 15:00 |
| ← wootehfoot left | 15:02 |
| ← sedzcat left | 15:02 |
| ← mobidrop left | 15:02 |
| → thiago joined | 15:04 |
| ← cdown left | 15:06 |
| → cdown joined | 15:06 |
| ← atrigent_ left | 15:06 |
| ← rama left | 15:07 |
| ← thiago left | 15:09 |
| → rama joined | 15:12 |
| → atrigent joined | 15:12 |
| ← phil170 left | 15:13 |
| → delay joined | 15:16 |
| ← umbramalison left | 15:18 |
| → smeeagle joined | 15:18 |
| → umbramalison joined | 15:19 |
| → duxsco joined | 15:19 |
| ← smeeagle left | 15:23 |
| ← dsrt^ left | 15:25 |
| → kostkon__ joined | 15:26 |
| ← kostkon left | 15:26 |
| ← thuna` left | 15:27 |
| → sudoforge joined | 15:27 |
| ← atrigent left | 15:29 |
| → peirik__ joined | 15:29 |
| → NorrinRadd joined | 15:29 |
| __ELFrederich → ELFrederich | 15:32 |
|
ELFrederich
| Hey guys... I have a new Windows 11 laptop. I'm more of a Linux guy but I need to keep Windows on it because I also use the laptop for music. What's the best way to do development on it?... just do native everything? I've seen people doing cool things between VSCode and a WSL Linux distro. Anyone mess around with that? | 15:34 |
|
| sorry, thought I was in #golang. Please disregard | 15:35 |
|
leah2
| i'd dual boot if i can :p | 15:35 |
| ← delay left | 15:35 |
| → softirq joined | 15:36 |
| → phil170 joined | 15:36 |
| → humanface joined | 15:37 |
|
ELFrederich
| leah2, unfortunately it's only 512G so I'd rather not. It does have a micro-sd card though. I wonder if some of my larger VSTs can install onto it. Though I'd probably be better off getting a 1G NVMe drive than adding a 512G sd card. | 15:38 |
| → atrigent joined | 15:42 |
| → jfsimon1981_b joined | 15:46 |
| → delay joined | 15:47 |
| ← delay left | 15:47 |
| ← jfsimon1981_b left | 15:50 |
| ← softirq left | 15:50 |
| ← phil170 left | 15:50 |
|
ELFrederich
| actually, they're helping me out in #go-nuts right now, but I guess now I do have a Git question for anyone running VSCode with WSL2... do you run Git on Windows or withing the WSL2 Linux VM? | 15:50 |
|
ikke
| ELFrederich: I can answer the same here :P | 15:51 |
|
ELFrederich
| On my work computer where I don't have WSL let alone WSL2, I use the Windows Git and then end up using Git Bash quite a lot for ssh'ing around. But now on my personal laptop with Windows 11 and WSL2 should I even bother with the Windows version of Git? | 15:51 |
|
| ikke, ;-) | 15:51 |
|
| Windows Git gives me anxiety every time I install it... too many questions, checkboxes. I get nervous about checking the wrong one. | 15:52 |
|
ikke
| Why not use it in wsl2 then? | 15:52 |
|
jast
| unfortunately WSL2 forces the windows hypervisor on you | 15:55 |
|
ikke
| yes | 15:55 |
|
ELFrederich
| ikke, was just looking for confirmation that it's a good place to use it from. Not sure if I'll run into issues, for instance... will VSCode running on Windows be able to highlight added, modified and deleted lines within a file? | 15:55 |
| → atrigent_ joined | 15:55 |
|
jast
| virtualbox gets very, very slow when not being able to use its own hypervisor | 15:55 |
| ← Techcable left | 15:56 |
| ← atrigent left | 15:56 |
| ← csm310599 left | 15:56 |
|
jast
| personally I kind of doubt a Windows VS Code can use a WSL Git properly\ | 15:56 |
|
| but I haven't tried it myself, I don't really use VS Code | 15:57 |
|
ikke
| vscode has wsl integration | 15:57 |
|
| So you can run the back-end inside wsl | 15:57 |
|
jast
| true that | 15:57 |
|
ikke
| That's how I use it, and it works well | 15:57 |
|
| You just work entirely in your wsl environment and ignore windows | 15:57 |
|
jast
| of course that means your project files better be inside WSL, too | 15:58 |
|
ikke
| yes | 15:58 |
|
| That's what I do and prefer | 15:58 |
|
| No windows fs shennanigans | 15:58 |
| → vladoski joined | 15:58 |
|
jast
| personally I have everything in a traditional VM... and if I absolutely have to use Windows, I have my editor and tools inside msys2, too | 15:58 |
|
| e.g. if I want to do fancy 3D or audio stuff | 15:59 |
| ← NorrinRadd left | 16:00 |
|
jast
| as for the VST thing, I have a USB SSD for my larger instruments | 16:00 |
|
| I'd recommend against using an SD card, SSDs tend to be faster and more long-lived | 16:01 |
| ← rama left | 16:01 |
| → jazzy joined | 16:01 |
| ← peirik__ left | 16:01 |
| → rama joined | 16:01 |
|
jast
| since you don't need high write speeds, lower-end SSDs will do the trick | 16:01 |
|
| e.g. Crucial X1, WD Blue SSDs, Sandisk Portable series | 16:03 |
| → zenobius0 joined | 16:03 |
| ← kostkon__ left | 16:04 |
| → kostkon joined | 16:04 |
| → softirq joined | 16:04 |
|
jast
| that said, the faster ones will make your instruments load faster still :) (and you'll want to make sure you're using the drive on a USB "super speed" port) | 16:06 |
| → cdown_ joined | 16:06 |
| ← cdown left | 16:07 |
| cdown_ → cdown | 16:07 |
|
absence
| if a file full of conflict markers has somehow been marked as resolved, can i undo that? without losing all my changes, which git checkout --conflict=merge seems to do | 16:09 |
| ← Earnestly left | 16:09 |
|
absence
| i assume it's just a flag or something, but web search is failing me today | 16:10 |
|
jast
| "git checkout --conflict..." is for when switching branches | 16:10 |
| ← carl--- left | 16:10 |
|
absence
| jast: ah, i don't know what it's for, it just showed up when i searched for this scenario | 16:11 |
|
jast
| if you haven't committed yet, you can just keep editing your file and then "git add" it again once it looks clean. of course that means you won't be able to use a merge tool | 16:11 |
| → NorrinRadd joined | 16:11 |
|
jast
| i.e. that's really only an option if the conflict markers are easy to read :) | 16:11 |
|
absence
| i've already worked more than an hour on this conflict, and i wasn't half finished, so i'd very much like to use a merge tool :D | 16:12 |
|
jast
| makes sense :> | 16:13 |
|
| the problem is that marking the file as resolved removes the pointers to the different versions | 16:13 |
|
| it's still possible to manually dig up the correct versions and massage the index accordingly but it's not that easy | 16:13 |
|
| oh wait, I think there's a different option | 16:14 |
|
| 1. make a backup copy of your half-resolved file; 2. "git checkout -m <file>"; 3. move your copy back in place | 16:15 |
| → peirik__ joined | 16:15 |
| → thiago joined | 16:15 |
|
jast
| absence: ^ :) | 16:16 |
|
absence
| i was afraid you'd say that... oh well, it's a LOT of files, but better than doing it over! thanks for confirming | 16:16 |
|
jast
| wait, you resolved *all* files? | 16:16 |
| ← SuperLag left | 16:17 |
|
absence
| jast: yes. visual studio code has this button that says "unstage all", which i assumed meant "unstage all the staged files", not "resolve all the conflicted files". you learn something every day... | 16:18 |
|
jast
| well | 16:19 |
|
| it most likely did what it says, i.e. reset the index back to the state in HEAD | 16:19 |
|
| under normal circumstances that just unstages everything... but since conflict states are in the index, too, they disappear as a side effect | 16:20 |
|
| honestly that button probably shouldn't be active, or should be re-labeled, during merge resolution :) | 16:20 |
|
| however here's a trick to do all of them at once | 16:21 |
| ← Murr left | 16:21 |
| ← cdown left | 16:21 |
| → Murr joined | 16:21 |
|
jast
| cd <top of repo>; git ls-files -m -z | xargs -0 tar c -zvf mychanges.tgz; git checkout -m .; tar x -f mychanges.tgz | 16:22 |
| → delay joined | 16:23 |
| → SuperLag joined | 16:23 |
|
jast
| btw this only works properly if everything is unstaged because "git ls-files -m" ignores files which have all of their changes staged | 16:24 |
| → durham joined | 16:24 |
|
jast
| you can replace that bit with "git diff --diff-filter=M --name-only -z HEAD | xargs ...", then it will pick up everything that differs from HEAD | 16:27 |
| → vitali64 joined | 16:27 |
| ← epicout left | 16:28 |
|
tirnanog
| that could end up creating a tarball that only contains a subset of the given files. one way to protect against that, if using gnu tar, would be: tar --null -T - | 16:28 |
| → epicout joined | 16:28 |
|
tirnanog
| without xargs. | 16:28 |
|
jast
| good point | 16:28 |
|
| that's what I wanted to do initially but I was too lazy to look up the correct options in tar :) | 16:29 |
| ← zeenk left | 16:31 |
|
tirnanog
| in this case, they spare us from --files0-from or the like. thankfully. I wonder why they don't have -0 as an alias of --null though. | 16:32 |
| → c0dehu1k joined | 16:32 |
| ← c0dehu1k left | 16:33 |
| → c0dehu1k joined | 16:33 |
|
absence
| thanks, i'll tinker with it a bit | 16:33 |
| → madewokherd joined | 16:33 |
|
absence
| wish git could just remember what operation it was doing when it encountered the conflicts to begin with, and do all of this automatically | 16:34 |
|
| a pony would be nice too | 16:34 |
| ← madewokherd` left | 16:36 |
| ← durham left | 16:36 |
| ← nyah left | 16:37 |
| → durham joined | 16:37 |
|
jast
| separation of concerns :) | 16:39 |
|
| conflicts and conflict resolution is a separate thing from merging and rebasing (and the other things that do file level merges that might cause conflicts) | 16:39 |
|
| it would be possible to wrap more UI around this, I suppose | 16:40 |
|
| but essentially "git checkout -m <paths>" re-creates the merge in those paths, and merging does its work in the working tree, so I don't think there'd be a straightforward file to restore conflicts without overwriting the file | 16:41 |
|
| though it might be possible to do trickery with tree-level merges | 16:41 |
|
| let me try and come up with something magical | 16:41 |
| ← coot left | 16:41 |
| ← tga left | 16:42 |
| → tga joined | 16:42 |
| ← peirik__ left | 16:42 |
| ← TheCatBehemoth left | 16:42 |
|
jast
| huh, I just found a machine on which I didn't have the git repo checked out yet... weird :) | 16:42 |
| → funhouse joined | 16:42 |
| ← NorrinRadd left | 16:44 |
| ← oxymoron93 left | 16:46 |
| → TheCatBehemoth joined | 16:47 |
| → bgs joined | 16:47 |
| → wootehfoot joined | 16:49 |
| ← delay left | 16:52 |
|
jast
| so, right now the code path that re-creates the conflict state always writes out the file | 16:55 |
|
| but looking at the code I think it should be possible to skip that, it's just not supported right now | 16:55 |
| → delay joined | 16:58 |
|
osse
| git update-index --index-info can do it | 16:58 |
|
| without actually touching any files | 16:59 |
|
jast
| yeah, but then you have to look up the correct blobs yourself | 16:59 |
|
| right now I'm trying to find out where "checkout" even gets this info from when stages 1-3 have been removed | 16:59 |
| ← geri left | 17:00 |
| → skapata joined | 17:00 |
| → blahboybaz joined | 17:02 |
|
jast
| oh, I see, the index has a "resolve undo" array | 17:04 |
|
| hah, found it | 17:04 |
|
| absence: "git update-index --unresolve" might prove helpful | 17:05 |
|
| ... if this happens again, at least | 17:05 |
| ← dionysus69 left | 17:05 |
|
jast
| I *think* you can just pass it the top-level tree and it will unresolve all files it remembers being conflicted before... | 17:06 |
|
| in any case it shouldn't overwrite any files | 17:06 |
|
| but if you want to try it, backup your repo, just to be on the safe side | 17:06 |
| → feriman joined | 17:06 |
| ← softirq left | 17:06 |
| → cdown joined | 17:07 |
|
jast
| I've always wondered how unmerging worked, so this has been educational | 17:07 |
| → derpydoo joined | 17:07 |
| ← cami||e_ left | 17:08 |
| → JordiGH joined | 17:08 |
|
JordiGH
| I can't gpg sign a commit that already exists, right? Signatures are part of the commit, hence new commit and new hash ? | 17:09 |
| → cdown_ joined | 17:09 |
|
jast
| JordiGH: correct | 17:09 |
|
| it's technically possible to sign commits after the fact in two ways: | 17:09 |
|
| 1) create a signed tag | 17:09 |
|
| 2) put a signature in a "git notes" ref | 17:10 |
| ← derpydoo left | 17:10 |
|
jast
| AFAIK there is no standardized way to do the latter, but the basic idea goes like this: | 17:11 |
| → Betal joined | 17:11 |
| ← umbramalison left | 17:11 |
| ← cdown left | 17:12 |
| cdown_ → cdown | 17:12 |
| ← rama left | 17:12 |
|
jast
| git cat-file commit <commit ID> | gpg --sign ... | git notes add -F - --ref notes/signature <commit ID again> | 17:12 |
| → NorrinRadd joined | 17:13 |
| → rama joined | 17:13 |
|
jast
| FWIW notes don't scale well to, say, hundreds of thousands of commits | 17:13 |
|
JordiGH
| I wonder if that will appease github. https://github.com/newrelic/newrelic-lambda-layers/pull/117 | 17:13 |
| ← tga left | 17:13 |
|
jast
| no :) | 17:14 |
|
| you'll have to sign all of the commits, e.g. using interactive rebase, and force push | 17:14 |
| → softirq joined | 17:15 |
|
JordiGH
| This is weird, they don't even care what the signature is, do they? | 17:15 |
| ← cweiss076532124 left | 17:15 |
|
JordiGH
| I can just generate a new signature that isn't verified by anyone. | 17:15 |
|
jast
| probably, yeah | 17:15 |
|
JordiGH
| What even is the point of having a signature that isn't trusted by anyone. | 17:15 |
|
osse
| jast: Success! http://sprunge.us/WZc9Us | 17:15 |
|
| I guess | 17:15 |
|
jast
| possibly they'll reject questionable signatures manually | 17:15 |
|
| osse: hah, you missed me finding a built in option for it | 17:15 |
|
osse
| yeah I saw it | 17:16 |
| → dionysus69 joined | 17:16 |
|
jast
| should work even for rebase and such, provided that the resolve_undo structure is up-to-date | 17:16 |
| ← mven left | 17:18 |
| → mven joined | 17:18 |
| ← jacobk left | 17:21 |
| → umbramalison joined | 17:21 |
| ← TheCatBehemoth left | 17:21 |
| → cweiss076532124 joined | 17:22 |
| ← rgrinberg left | 17:22 |
| ← iomari891 left | 17:22 |
| → Murr- joined | 17:23 |
| ← Murr left | 17:25 |
| Murr- → Murr | 17:25 |
| ← coldtom left | 17:26 |
| → tga joined | 17:27 |
| → coldtom joined | 17:27 |
| ← zenobius0 left | 17:27 |
| ← rama left | 17:27 |
| → rama joined | 17:28 |
| → iomari891 joined | 17:28 |
| ← JordiGH left | 17:30 |
| ← Major_Biscuit left | 17:30 |
| ← softirq left | 17:33 |
| ← tga left | 17:34 |
| ← rama left | 17:35 |
| ← cweiss076532124 left | 17:35 |
| → tga joined | 17:36 |
| → cweiss076532124 joined | 17:36 |
| ← han-solo left | 17:37 |
| → irrgit__ joined | 17:38 |
| ← irrgit_ left | 17:41 |
| → jacobk joined | 17:42 |
| → wagle joined | 17:43 |
| ← tga left | 17:43 |
| ← vladoski left | 17:45 |
| → softirq joined | 17:46 |
| → thuna` joined | 17:47 |
| → rama joined | 17:49 |
| → tga joined | 17:49 |
| ← tga left | 17:49 |
| ← dulange__ left | 17:49 |
| ← rama left | 17:53 |
| → nate4 joined | 17:55 |
| → derpydoo joined | 17:58 |
| ← sa0 left | 17:58 |
| → sa0 joined | 17:58 |
| → lucasta joined | 17:59 |
| ← nate4 left | 18:00 |
| ← dionysus69 left | 18:02 |
| ← srinidhi left | 18:03 |
| ← lucasta left | 18:04 |
| ← dvanloon left | 18:04 |
| → phil170 joined | 18:04 |
| → Praxiteles joined | 18:07 |
| → dvanloon joined | 18:07 |
| → phil170_ joined | 18:08 |
| → rama joined | 18:08 |
| ← rama left | 18:10 |
| → rama joined | 18:10 |
| → DibbTubberOne joined | 18:11 |
| ← phil170 left | 18:11 |
| ← Praxiteles left | 18:13 |
| → Praxiteles joined | 18:14 |
| → kostkon__ joined | 18:14 |
| ← kostkon left | 18:15 |
| → jundran joined | 18:16 |
| → coot joined | 18:17 |
| ← iomari891 left | 18:18 |
| ← phil170_ left | 18:18 |
| ← rama left | 18:20 |
| → rama joined | 18:20 |
| ← irrgit__ left | 18:21 |
| ← kostkon__ left | 18:22 |
| → kostkon joined | 18:22 |
| → srinidhi joined | 18:26 |
| → audio joined | 18:26 |
| ← kostkon left | 18:26 |
| → TheCatBehemoth joined | 18:27 |
| → kostkon joined | 18:27 |
| ← rama left | 18:27 |
| → irrgit_ joined | 18:29 |
| → rama joined | 18:33 |
| ← rama left | 18:34 |
| → rama joined | 18:34 |
| → lucasta joined | 18:34 |
| ← rama left | 18:36 |
| → rama joined | 18:37 |
| ← cdown left | 18:38 |
| → rsx joined | 18:38 |
| → dulange__ joined | 18:41 |
| ← softirq left | 18:43 |
| ← jacobk left | 18:45 |
| ← delay left | 18:46 |
| → softirq joined | 18:47 |
| ← Praxiteles left | 18:49 |
| → hamburgler joined | 18:50 |
|
ikke
| gpg signatures cannot be part of the thing it signs | 18:51 |
| ← Stilgar left | 18:51 |
| ← wpcarro left | 18:52 |
| → wpcarro joined | 18:53 |
|
ikke
| oh, ignore me | 18:54 |
|
| gpg signs the object, and that's hashed | 18:54 |
| ← DibbTubberOne left | 18:55 |
| → cdown joined | 18:56 |
| → cdown_ joined | 18:58 |
| ← rama left | 18:59 |
| → rama joined | 18:59 |
| ← gast0n left | 19:00 |
| ← cdown left | 19:01 |
| cdown_ → cdown | 19:01 |
| ← dvanloon left | 19:05 |
| → jacobk joined | 19:05 |
| → karabaja4 joined | 19:06 |
| ← rsx left | 19:07 |
| → dvanloon joined | 19:07 |
| → causasui joined | 19:08 |
| → thebombzen_ joined | 19:10 |
| → odoood joined | 19:12 |
| ← igemnace left | 19:13 |
| ← rama left | 19:13 |
| ← cdown left | 19:14 |
| → rama joined | 19:14 |
| ← softirq left | 19:16 |
| ← truepassion left | 19:17 |
| → Stilgar joined | 19:18 |
| ← NorrinRadd left | 19:20 |
| ← vitali64 left | 19:20 |
| → NorrinRadd joined | 19:21 |
| ← user____1 left | 19:29 |
| → int3r3st3d joined | 19:36 |
| ← int3r3st3d left | 19:36 |
| → user____ joined | 19:37 |
| → int3r3st3d joined | 19:37 |
| → phil170 joined | 19:37 |
| → softirq joined | 19:39 |
| ← rama left | 19:40 |
| ← subopt left | 19:40 |
| → rama joined | 19:40 |
| ← rama left | 19:44 |
| ← lucasta left | 19:45 |
| ← mei left | 19:45 |
| ← phil170 left | 19:46 |
| → phil170 joined | 19:46 |
|
ztrawhcse
| what an odd thought for Github to require signed commits in a PR | 19:48 |
| → donofrio_ joined | 19:48 |
|
ztrawhcse
| considering that github itself doesn't provide a *method* to merge the PR via fast forward | 19:48 |
| ← phil170 left | 19:50 |
| ← donofrio left | 19:51 |
| → JordiGH joined | 19:56 |
| → rama joined | 19:59 |
| → mei joined | 20:00 |
| → KZ-Spectra joined | 20:01 |
| → lenkovitsa joined | 20:03 |
| → zumba_addict joined | 20:05 |
| → remedan_ joined | 20:07 |
| ← remedan left | 20:08 |
| lenkovitsa → neilim | 20:09 |
| ← odoood left | 20:09 |
| ← omnigoat left | 20:11 |
| ← fling left | 20:15 |
| ← durham left | 20:15 |
| → lucasta joined | 20:16 |
| → durham joined | 20:16 |
| → fling joined | 20:16 |
| ← durham left | 20:18 |
| ← atrigent_ left | 20:20 |
| → atrigent joined | 20:20 |
| ← Murr left | 20:20 |
| → Murr joined | 20:21 |
| → omnigoat joined | 20:22 |
| ← rama left | 20:24 |
| → rama joined | 20:25 |
| ← duxsco left | 20:25 |
| → lgc joined | 20:25 |
| ← softirq left | 20:26 |
| ← lgc left | 20:26 |
| ← thebombzen_ left | 20:26 |
| ← lucasta left | 20:30 |
| ← agowa338 left | 20:32 |
| ← neilim left | 20:33 |
| ← sentriz left | 20:34 |
| ← rama left | 20:34 |
| → sentriz joined | 20:35 |
| → rama joined | 20:35 |
| → oliveoli joined | 20:36 |
| ← blackchief left | 20:39 |
| → denl^ joined | 20:40 |
| ← TheCatBehemoth left | 20:42 |
| → m0viefreak joined | 20:46 |
| → TheCatBehemoth joined | 20:48 |
| ← zumba_addict left | 20:51 |
| → rgrinberg joined | 20:51 |
| ← rgrinberg left | 20:52 |
| ← TheCatBehemoth left | 20:53 |
| ← int3r3st3d left | 20:58 |
| ← visualshock left | 20:59 |
| → lucasta joined | 20:59 |
| → Praxiteles joined | 21:00 |
| ← rama left | 21:00 |
| → rama joined | 21:01 |
| ← bloody_ left | 21:04 |
| → polo_ joined | 21:05 |
| ← dvanloon left | 21:05 |
| → TheCatBehemoth joined | 21:06 |
| ← coot left | 21:06 |
| → bloody joined | 21:07 |
| → dvanloon joined | 21:07 |
| ← fling left | 21:09 |
| → vladoski joined | 21:10 |
| → stef204 joined | 21:12 |
| → fling joined | 21:12 |
| ← karabaja4 left | 21:14 |
| ← polo_ left | 21:15 |
| → polo_ joined | 21:15 |
| → rgrinberg joined | 21:16 |
| → ferdna joined | 21:17 |
| ← rama left | 21:18 |
| ← wootehfoot left | 21:19 |
| → rama joined | 21:19 |
| ← polo_ left | 21:20 |
| → polo_ joined | 21:20 |
| polo_ → money | 21:20 |
| → Techcable joined | 21:21 |
| ← bloody left | 21:21 |
| ← money left | 21:23 |
| ← fling left | 21:23 |
| → fling joined | 21:24 |
| ← theoceaniscool left | 21:25 |
| ← lucasta left | 21:26 |
| → softirq joined | 21:27 |
| ← oliveoli left | 21:27 |
| → polo joined | 21:28 |
| ← rama left | 21:28 |
| → rama joined | 21:29 |
| → fweht joined | 21:30 |
| → blackchief joined | 21:31 |
| → imp joined | 21:31 |
| → lucasta joined | 21:32 |
| ← fstd left | 21:36 |
| ← softirq left | 21:38 |
| ← otisolsen70 left | 21:38 |
| ← KZ-Spectra left | 21:38 |
| → softirq joined | 21:39 |
| ← jundran left | 21:40 |
| ← softirq left | 21:41 |
| ← ELFrederich left | 21:41 |
| → softirq joined | 21:42 |
| ← srinidhi left | 21:42 |
| → fstd joined | 21:44 |
| → jundran joined | 21:45 |
| ← jundran left | 21:46 |
| ← polo left | 21:46 |
| → jundran joined | 21:50 |
| ← softirq left | 21:50 |
| → polo joined | 21:50 |
| → nate4 joined | 21:56 |
| ← sd5 left | 21:59 |
| → Erisa joined | 22:00 |
| ← nate4 left | 22:01 |
| ← stef204 left | 22:03 |
| ← chorduser2 left | 22:07 |
| → chorduser2 joined | 22:07 |
| ← polo left | 22:10 |
| ← KimK left | 22:12 |
| ← jundran left | 22:12 |
| → polo joined | 22:12 |
| ← piwu left | 22:12 |
| → piwu joined | 22:12 |
| → mathsboy joined | 22:13 |
|
mathsboy
| Hi all, I'm wondering how to take some commits from one branch and insert them in between two commits on another branch. Not sure if merge -squash or rebase or what is needed. I have a base branch which I checked out so base branch has commits b1 -> b2 and I checked it out at b2. I then made commits on my feature branch: b1 -> b2 -> f1 -> f2. The base branch has been updated and I'd like to take its commits into my feature branch so it | 22:16 |
|
| looks like: b1 -> b2 -> b3 -> b4 -> f1 -> f2 | 22:16 |
|
| Any help/advice greatly appreciated :) | 22:16 |
|
ajak
| interactive rebase, 'edit' where you want to insert the commits, then cherry pick then i guess? | 22:17 |
|
| s/pick then/pick them/ | 22:17 |
|
mathsboy
| so I want to be on feature branch, then rebase "onto" base branch? | 22:17 |
|
ajak
| no you want to do an interactive rebase, 'edit' the commit where you want to insert the commits, then when you get to where you can 'edit' that commit, cherry pick the commits from elsewhere, the continue the interactive rebase | 22:18 |
|
mathsboy
| ok cool... trying now :) | 22:19 |
| → KZ-Spectra joined | 22:21 |
| ← rama left | 22:22 |
| → rama joined | 22:23 |
| ← rama left | 22:23 |
| → rama joined | 22:23 |
| → thebombzen_ joined | 22:24 |
|
ztrawhcse
| ajak: you can also just add "pick <sha1>" in the interactive rebase list | 22:27 |
|
| you're not restricted to only the commits that were originally in between the base and HEAD | 22:27 |
|
ajak
| oh cool, i figured that might be the case but wanted to avoid the slight complexity of mangling the text | 22:28 |
|
| when you could simply do `cherry-pick start..finish` in one go | 22:28 |
|
mathsboy
| okay,, I think I got it... couple of unntidy things, but it seems to make sense now. Thanks a lot ajak, this is my first ever rebase (not as terrifying as expected) | 22:29 |
| ← m0viefreak left | 22:30 |
|
ajak
| yay | 22:30 |
| → gast0n joined | 22:30 |
|
ajak
| yeah, easy concept, but not all that intuitive if you've never done it before :) | 22:30 |
| ← polo left | 22:32 |
|
ztrawhcse
| yeah, doing cherry-pick is easier because you don't have to trust yourself to get the todo-list formatted correctly | 22:37 |
| → manjaro-mate joined | 22:38 |
| ← gh34 left | 22:38 |
| → arescorpio joined | 22:38 |
| ← arescorpio left | 22:39 |
| → beencubed joined | 22:39 |
| ← lucasta left | 22:41 |
| → arescorpio joined | 22:41 |
| → giu- joined | 22:44 |
| → cdown joined | 22:45 |
| ← bgs left | 22:46 |
| ← manjaro-mate left | 22:46 |
| ← feriman left | 22:46 |
| ← bywaterloo left | 22:49 |
| → cdown_ joined | 22:49 |
| ← Stilgar left | 22:50 |
| → Stilgar joined | 22:50 |
| ← mathsboy left | 22:51 |
| ← cdown left | 22:52 |
| cdown_ → cdown | 22:52 |
| → Yruama joined | 22:53 |
| → coot joined | 22:55 |
| ← rama left | 22:55 |
| ← Aminda left | 22:55 |
| → rama joined | 22:56 |
| → Aminda joined | 22:56 |
| ← fling left | 22:57 |
| → fling joined | 22:59 |
| ← rama left | 23:01 |
| → rama joined | 23:01 |
|
alexia
| <ztrawhcse> considering that github itself doesn't provide a *method* to merge the PR via fast forward <-- i thought "rebase and merge" would do that but apparently github rewrites the committer | 23:02 |
|
| they solve that by signing github-made commits with their own key | 23:02 |
|
| i think only either gpg keys added in the author/committer's profile or github-made signatures will show as verified though | 23:03 |
| ← imp left | 23:03 |
| ← NorrinRadd left | 23:04 |
| → imp joined | 23:04 |
|
ztrawhcse
| alexia: yes, that's a "rebase" for you after all ;) | 23:05 |
|
| using their own key does, of course, break the entire point of having PGP in the first place | 23:05 |
|
alexia
| i mean yeah, but clearly they don't care about web of trust and only about authenticating that "this commit was indeed made by github user X" | 23:06 |
|
ztrawhcse
| or someone that possesses access to github user X's email address for account reset purposes :p | 23:06 |
|
| ... or found a github vulnerability | 23:07 |
| ← vladoski left | 23:08 |
| → epony joined | 23:08 |
| ← thiago left | 23:09 |
| → Guest47 joined | 23:14 |
| ← Guest47 left | 23:15 |
| ← derpydoo left | 23:15 |
| ← luke-jr left | 23:16 |
| → mathsboy joined | 23:16 |
| → lukedashjr joined | 23:17 |
| lukedashjr → luke-jr | 23:18 |
| → Grace joined | 23:19 |
| ← mncheck left | 23:21 |
| ← vicecea left | 23:21 |
| → edgars joined | 23:25 |
| ← BlessJah left | 23:26 |
| ← luke-jr left | 23:27 |
| → zeenk joined | 23:28 |
| → BlessJah joined | 23:30 |
| ← edgars left | 23:34 |
| → Xenguy joined | 23:34 |
| ← causasui left | 23:36 |
| ← rama left | 23:36 |
| → rama joined | 23:36 |
| → dionysus69 joined | 23:37 |
| ← humanface left | 23:38 |
| ← EvilDMP left | 23:38 |
| → EvilDMP joined | 23:40 |
| → softirq joined | 23:41 |
| → giu-- joined | 23:41 |
| ← dionysus69 left | 23:41 |
| ← thebombzen_ left | 23:43 |
| ← giu- left | 23:44 |
| ← giu-- left | 23:45 |
| → giu- joined | 23:45 |
| ← EvilDMP left | 23:49 |
| → luke-jr joined | 23:50 |
| ← mathsboy left | 23:53 |
| ← coot left | 23:53 |
| → daoudr joined | 23:54 |
| ← TheCatBehemoth left | 23:57 |
| ← clime left | 23:57 |
| ← sa0 left | 23:59 |