| 2024-05-20 |
| ← lucasta left | 00:00 |
| ← schilive left | 00:06 |
| → cixx joined | 00:07 |
| ← Noisytoot left | 00:16 |
| ← cixx left | 00:17 |
| → Noisytoot joined | 00:19 |
| → lucasta joined | 00:20 |
| ← weko left | 00:30 |
| ← henry40408 left | 00:31 |
| → henry40408 joined | 00:32 |
| ← cpackham left | 00:34 |
| → cpackham joined | 00:35 |
| → cixx joined | 00:35 |
| → gvg__ joined | 00:53 |
| ← gvg left | 00:54 |
| ← user_____ left | 00:55 |
| ← Guru_DE left | 01:02 |
| → ptrck joined | 01:02 |
| → nopjmp_ joined | 01:03 |
| → Guru_DE joined | 01:03 |
| ← navi left | 01:08 |
| ← bindu left | 01:11 |
| ← vrach left | 01:14 |
| → bindu joined | 01:20 |
| ← cixx left | 01:29 |
| → whatsupdoc joined | 01:31 |
| → cdown joined | 01:52 |
| ← xdminsy left | 02:05 |
| → xdminsy joined | 02:05 |
| ← gsi left | 02:08 |
| → gsi joined | 02:09 |
| → dermoth joined | 02:17 |
| → heebeekey joined | 02:20 |
| → konsolebox joined | 02:21 |
| ← lucasta left | 02:23 |
| → konsolebox_ joined | 02:27 |
| ← konsolebox left | 02:27 |
| ← aiyunyuner left | 02:35 |
| → _xor0 joined | 02:35 |
| ← _xor left | 02:37 |
| → aiyunyuner joined | 02:37 |
| → _xor joined | 02:39 |
| ← _xor0 left | 02:41 |
| ← aiyunyuner left | 02:41 |
| → user_____ joined | 02:41 |
| → aiyunyuner joined | 02:43 |
| ← aiyunyuner left | 02:46 |
| → aiyunyuner joined | 02:48 |
| ← aiyunyuner left | 02:52 |
| → aiyunyuner joined | 02:54 |
| ← aiyunyuner left | 02:56 |
| ← fflam left | 02:58 |
| → aiyunyuner joined | 02:58 |
| ← Betal left | 02:58 |
| → fflam joined | 03:00 |
| ← limon left | 03:06 |
| ← aiyunyuner left | 03:07 |
| ← thiago left | 03:07 |
| → thiago joined | 03:09 |
| → aiyunyuner joined | 03:09 |
| ← aiyunyuner left | 03:14 |
| → aiyunyuner joined | 03:16 |
| ← henry40408 left | 03:18 |
| → henry40408 joined | 03:19 |
| → pebble joined | 03:19 |
| ← aiyunyuner left | 03:20 |
| → aiyunyuner joined | 03:22 |
| ← aiyunyuner left | 03:23 |
| → fstd_ joined | 03:24 |
| → aiyunyuner joined | 03:25 |
| ← aiyunyuner left | 03:25 |
| ← xdminsy left | 03:27 |
| fstd_ → fstd | 03:28 |
| → aiyunyuner joined | 03:28 |
| ← aiyunyuner left | 03:32 |
| → xdminsy joined | 03:33 |
| → aiyunyuner joined | 03:34 |
| ← aiyunyuner left | 03:36 |
| → aiyunyuner joined | 03:38 |
| ← aiyunyuner left | 03:39 |
| → aiyunyuner joined | 03:41 |
| ← epicout_ left | 03:42 |
| ← aiyunyuner left | 03:44 |
| → aiyunyuner joined | 03:46 |
| → fdan joined | 03:53 |
| → ssserpent joined | 03:58 |
| ← aiyunyuner left | 04:00 |
| ← user_____ left | 04:01 |
| ← cpackham left | 04:01 |
| → cpackham joined | 04:02 |
| → aiyunyuner joined | 04:02 |
| ← aiyunyuner left | 04:03 |
| → aiyunyuner joined | 04:05 |
| ← aiyunyuner left | 04:07 |
| → aiyunyuner joined | 04:09 |
| ← aiyunyuner left | 04:11 |
| → aiyunyuner joined | 04:13 |
| ← jgh2 left | 04:13 |
| ← FH_thecat left | 04:13 |
| ← aiyunyuner left | 04:15 |
| → aiyunyuner joined | 04:17 |
| ← aiyunyuner left | 04:19 |
| ← defjam left | 04:20 |
| ← Game11454 left | 04:21 |
| → aiyunyuner joined | 04:21 |
| → Game11454 joined | 04:22 |
| ← LiENUS left | 04:22 |
| → LiENUS joined | 04:23 |
| ← aiyunyuner left | 04:24 |
| → limon joined | 04:25 |
| → Gary_Sinise joined | 04:26 |
| → aiyunyuner joined | 04:26 |
| ← whatsupdoc left | 04:29 |
| ← fonini left | 04:29 |
| ← aiyunyuner left | 04:30 |
| → aiyunyuner joined | 04:30 |
| → hbautista_ joined | 04:31 |
| ← Game11454 left | 04:31 |
| ← Mordag left | 04:31 |
| ← aiyunyuner left | 04:31 |
| → Game11454 joined | 04:33 |
| → defjam joined | 04:33 |
| → aiyunyuner joined | 04:34 |
| ← aiyunyuner left | 04:36 |
| → aiyunyuner joined | 04:37 |
| ← defjam left | 04:37 |
| → jgh2 joined | 04:38 |
| ← aiyunyuner left | 04:39 |
| ← fdan left | 04:39 |
| ← pebble left | 04:40 |
| → aiyunyuner joined | 04:41 |
| ← wyclif left | 04:43 |
| ← aiyunyuner left | 04:46 |
| ← jgh2 left | 04:47 |
| → aiyunyuner joined | 04:48 |
| ← bket left | 04:49 |
| ← aiyunyuner left | 04:49 |
| → defjam joined | 04:49 |
| → germ joined | 04:51 |
| → aiyunyuner joined | 04:51 |
| → bket joined | 04:52 |
| → wyclif joined | 04:54 |
| ← defjam left | 04:55 |
| ← pac1 left | 04:55 |
| → EvilDMP joined | 05:00 |
| ← aiyunyuner left | 05:02 |
| → junyx joined | 05:03 |
| → aiyunyuner joined | 05:04 |
| ← aiyunyuner left | 05:06 |
| ← thiago left | 05:06 |
| → aiyunyuner joined | 05:08 |
| ← aiyunyuner left | 05:15 |
| → aiyunyuner joined | 05:17 |
| ← aiyunyuner left | 05:22 |
| → FH_thecat joined | 05:24 |
| → aiyunyuner joined | 05:24 |
| → defjam joined | 05:26 |
| ← aiyunyuner left | 05:27 |
| → aiyunyuner joined | 05:29 |
|
chuanshi
| ./4 | 05:29 |
| ← reset left | 05:32 |
| ← aiyunyuner left | 05:32 |
| ← defjam left | 05:33 |
| → aiyunyuner joined | 05:34 |
| ← aiyunyuner left | 05:35 |
| ← EvilDMP left | 05:36 |
| → aiyunyuner joined | 05:37 |
| ← aiyunyuner left | 05:38 |
| → EvilDMP joined | 05:38 |
| → aiyunyuner joined | 05:40 |
| ← cpackham left | 05:40 |
| ← EvilDMP left | 05:41 |
| → EvilDMP joined | 05:43 |
| → aiyunyuner5 joined | 05:44 |
| ← aiyunyuner5 left | 05:46 |
| ← aiyunyuner left | 05:46 |
| → defjam joined | 05:47 |
| → aiyunyuner joined | 05:48 |
| ← EvilDMP left | 05:48 |
| → EvilDMP joined | 05:50 |
| ← EvilDMP left | 05:50 |
| ← aiyunyuner left | 05:50 |
| ← defjam left | 05:51 |
| → aiyunyuner joined | 05:52 |
| → EvilDMP joined | 05:53 |
| ← aiyunyuner left | 05:53 |
| ← EvilDMP left | 05:53 |
| → rahl joined | 05:54 |
| → aiyunyuner joined | 05:55 |
| → EvilDMP joined | 05:57 |
| ← aO2V left | 05:58 |
| ← aiyunyuner left | 05:58 |
| → aiyunyuner joined | 06:00 |
| ← aiyunyuner left | 06:01 |
| → aiyunyuner joined | 06:03 |
| → defjam joined | 06:06 |
| ← skapata left | 06:11 |
| ← defjam left | 06:11 |
| → defjam joined | 06:12 |
| ← aiyunyuner left | 06:12 |
| ← EvilDMP left | 06:12 |
| → aiyunyuner joined | 06:14 |
| → EvilDMP joined | 06:14 |
| → euouae joined | 06:16 |
|
euouae
| Hello how can I work with a git repo through ssh? | 06:16 |
|
| e.g. I have a local host and a remote host and I connect via ssh and both have a copy of a git repo. I want to commit locally and push to remote | 06:16 |
|
| should I use sshfs? | 06:16 |
| ← aiyunyuner left | 06:17 |
| ← defjam left | 06:18 |
| → aiyunyuner joined | 06:19 |
| ← EvilDMP left | 06:20 |
| ← euouae left | 06:20 |
| → EvilDMP joined | 06:21 |
| → auci joined | 06:22 |
| ← aiyunyuner left | 06:22 |
| ← EvilDMP left | 06:24 |
| → aiyunyuner joined | 06:24 |
| → EvilDMP joined | 06:25 |
| ← aiyunyuner left | 06:27 |
| ← EvilDMP left | 06:28 |
| → aiyunyuner joined | 06:29 |
| ← auci left | 06:30 |
| ← aiyunyuner left | 06:30 |
| → defjam joined | 06:31 |
| → aiyunyuner joined | 06:32 |
| → mailman joined | 06:33 |
| ← mailman left | 06:33 |
| → dsrt^ joined | 06:34 |
| ← jfsimon1981 left | 06:35 |
| → EvilDMP joined | 06:35 |
| → jfsimon1981 joined | 06:36 |
| ← defjam left | 06:36 |
| ← aiyunyuner left | 06:36 |
| → aiyunyuner joined | 06:38 |
| ← EvilDMP left | 06:39 |
| ← aiyunyuner left | 06:39 |
| → EvilDMP joined | 06:40 |
| ← EvilDMP left | 06:40 |
| → aiyunyuner joined | 06:41 |
| → EvilDMP joined | 06:42 |
| ← aiyunyuner left | 06:44 |
| → MGF_Fabio joined | 06:44 |
| ← EvilDMP left | 06:45 |
| → aiyunyuner joined | 06:46 |
| → EvilDMP joined | 06:46 |
| → euouae joined | 06:47 |
|
euouae
| Okay I figured it out, git knows about ssh:// | 06:47 |
|
| another question is, how can I sign commits in the remote repo without putting my private key in the remote repo? | 06:47 |
| → defjam joined | 06:48 |
| → dviola joined | 06:49 |
| ← aiyunyuner left | 06:49 |
|
gsish
| you don't _work_ in that remote repo, you only push to it or fetch from it, after work has happened locally | 06:50 |
|
| so signing would have happened locally | 06:51 |
| → aiyunyuner joined | 06:51 |
|
gsish
| (in theory you could push to something that's not bare, but that'd be rare, and you'd have to know what you are doing there) | 06:53 |
| ← aiyunyuner left | 06:53 |
|
gsish
| (start with the simple setup first, one remote that is bare, one or several repos that sync to it, exchange via the remote) | 06:53 |
| ← defjam left | 06:53 |
| ← EvilDMP left | 06:55 |
| → aiyunyuner joined | 06:55 |
| → EvilDMP joined | 06:56 |
|
euouae
| I can't use a bare repo because I need the files on the remote | 06:56 |
| ← junyx left | 06:56 |
| ← aiyunyuner left | 06:57 |
|
euouae
| I also can't just work locally only because some commands (that generate files) are only available remotely | 06:57 |
|
| one solution I have right now is to replay the commits locally | 06:57 |
| ← EvilDMP left | 06:59 |
| → aiyunyuner joined | 06:59 |
| ← Gary_Sinise left | 06:59 |
| → EvilDMP joined | 07:00 |
| ← aiyunyuner left | 07:01 |
|
gsish
| why do you "need the files on the remote"? | 07:01 |
| ← EvilDMP left | 07:01 |
|
gsish
| git is a version control tool, not a deployment tool | 07:01 |
|
| and you can have the files elsewhere if you see that as just another repo which syncs to the "central" remote | 07:02 |
|
| otherwise, if you insist in using a non-bare remote, then ... find out how to do that, and accept the limitations and consequences that come with that setup | 07:02 |
| → aiyunyuner joined | 07:03 |
|
euouae
| yeah in a proper setup I agree that deployment and VCS are separate | 07:04 |
|
| I'd be generating tarballs of version tags then | 07:04 |
| ← aiyunyuner left | 07:05 |
|
euouae
| but the issue would persist. anyway I guess I can't remotely sign stuff | 07:05 |
| → xx joined | 07:05 |
| → defjam joined | 07:06 |
| ← hbautista_ left | 07:06 |
| → aiyunyuner joined | 07:07 |
| → EvilDMP joined | 07:09 |
| → mailman joined | 07:10 |
| ← EvilDMP left | 07:10 |
| ← aiyunyuner left | 07:11 |
| ← defjam left | 07:11 |
| → EvilDMP joined | 07:11 |
| ← EvilDMP left | 07:12 |
|
gsish
| if some systems let you, then (am to understand that) it'd be because forges love to create the illusion that you could work on the repo remotely through their UI | 07:12 |
|
| but that'd not be a git feature, it'd be a forge's extension, mixing remote storage and file manipulation and amending the repo without going through your local system | 07:13 |
| → aiyunyuner joined | 07:13 |
|
gsish
| in other words, you'd have the remote storage (bare) and the remote "work space" (like your local repo, just not local to you), and something that glues them together | 07:14 |
| → EvilDMP joined | 07:14 |
| ← EvilDMP left | 07:14 |
| → defjam joined | 07:14 |
| ← mailman left | 07:17 |
| → EvilDMP joined | 07:17 |
| ← aiyunyuner left | 07:17 |
|
euouae
| yeah they create the illusion, I understand that | 07:18 |
| ← EvilDMP left | 07:18 |
|
euouae
| but I'm not using a forge, I'm using a git repo on a remote that has some file-generation tools and some build procedures | 07:18 |
|
| I want to sign those generated files locally, so I have to do a bit of a dance... | 07:19 |
| → zetef joined | 07:19 |
| → aiyunyuner joined | 07:19 |
| ← defjam left | 07:19 |
| → EvilDMP joined | 07:21 |
| ← aiyunyuner left | 07:21 |
| ← EvilDMP left | 07:21 |
| → aiyunyuner joined | 07:23 |
| → EvilDMP joined | 07:25 |
| ← aiyunyuner left | 07:27 |
|
gsish
| but signing files (generated build output) and signing commits are two different things, aren't they? | 07:28 |
| → aiyunyuner joined | 07:29 |
| ← aiyunyuner left | 07:31 |
| → defjam joined | 07:32 |
| → john_johnk joined | 07:33 |
| → Edward_Brown joined | 07:33 |
| → aiyunyuner joined | 07:33 |
| ← aiyunyuner left | 07:36 |
| ← defjam left | 07:37 |
| → aiyunyuner joined | 07:38 |
|
euouae
| I'm not signing generated build output | 07:40 |
|
| I'm signing generated configuration files | 07:40 |
| ← aiyunyuner left | 07:41 |
| → aiyunyuner joined | 07:43 |
| → danse-nr3 joined | 07:44 |
|
euouae
| it's weird. maybe it doesn't matter. :) maybe I shouldn't be committing generated files even if they're configuration files. who knows. I need to think about it some more | 07:44 |
|
| but I can think of imaginary scenarios where what I'm trying to do applies: | 07:44 |
|
| if you somehow ssh into a host with a git repo but you *cant* transmit files outside that host... you may still want to sign remotely your changes without storing your privkey in the host. | 07:45 |
|
| (and by *cant* I mean for legal reasons) | 07:45 |
| ← wyclif left | 07:45 |
|
euouae
| Now technically transmission occurs since you're viewing the files on ssh... but yeah. I'm just conjuring situations here; not sure if actually applicable to real life. | 07:46 |
| ← john_johnk left | 07:47 |
| ← aiyunyuner left | 07:49 |
| → defjam joined | 07:49 |
| → aiyunyuner joined | 07:51 |
| ← defjam left | 07:55 |
| ← aiyunyuner left | 07:57 |
| → aiyunyuner joined | 07:59 |
| → defjam joined | 08:07 |
| ← aiyunyuner left | 08:11 |
| ← defjam left | 08:12 |
| → aiyunyuner joined | 08:13 |
| ← aiyunyuner left | 08:15 |
| ← memset left | 08:16 |
| → Left_Turn joined | 08:16 |
| → aiyunyuner joined | 08:17 |
| → memset joined | 08:17 |
| ← aiyunyuner left | 08:19 |
| ← chiselfuse left | 08:19 |
| → chiselfuse joined | 08:20 |
| → jmd joined | 08:20 |
| → aiyunyuner joined | 08:21 |
| ← aiyunyuner left | 08:23 |
| → defjam joined | 08:24 |
| → aiyunyuner joined | 08:25 |
| ← aiyunyuner left | 08:27 |
| → aiyunyuner joined | 08:29 |
| ← defjam left | 08:29 |
| ← aiyunyuner left | 08:32 |
| → aiyunyuner joined | 08:34 |
| ← dermoth left | 08:36 |
| ← aiyunyuner left | 08:37 |
| → dermoth joined | 08:38 |
|
euouae
| well, the reason I want to commit generated configuration files is because of reproducibility | 08:38 |
|
| Well, doesn't matter. I control the repo myself and I don't actually need to sign anything anyway. I was just wondering. | 08:39 |
| → john_johnk joined | 08:39 |
| → aiyunyuner joined | 08:39 |
| ← aiyunyuner left | 08:41 |
| → aiyunyuner joined | 08:43 |
| → defjam joined | 08:44 |
| ← aiyunyuner left | 08:45 |
| → aiyunyuner joined | 08:47 |
| ← defjam left | 08:48 |
| ← aiyunyuner left | 08:49 |
| → aiyunyuner joined | 08:51 |
| ← Edward_Brown left | 08:54 |
|
gsish
| you still can commit generated content and their signatures if you want to | 08:57 |
|
| and you can sign commits AFAICS | 08:57 |
|
| though when either of that happens on the remote machine, it means that signing will be done remotely, similary | 08:58 |
|
| one of them would be a git specific question, the other isn't | 08:58 |
| ← aiyunyuner left | 08:59 |
| → aiyunyuner joined | 09:01 |
| ← zetef left | 09:01 |
| ← aiyunyuner left | 09:04 |
| → aiyunyuner joined | 09:06 |
| ← aiyunyuner left | 09:10 |
| → aiyunyuner joined | 09:12 |
|
euouae
| I am not sure how to sign remotely | 09:14 |
|
| Oh -- you mean I need the privkey in the remote host... I don't want to dothat | 09:14 |
| ← aiyunyuner left | 09:14 |
|
euouae
| aha. <https://benjamintoll.com/2023/06/07/on-gpg-agent-forwarding/>. | 09:15 |
| → hexnewbie joined | 09:15 |
|
euouae
| So that's how it's done. nice! | 09:16 |
| → aiyunyuner joined | 09:16 |
|
euouae
| es | 09:17 |
| ← aiyunyuner left | 09:18 |
| → hgl joined | 09:18 |
|
bookworm
| do note that you need reasonable trust in the remote, else the forwarding is a very bad idea | 09:19 |
| → aiyunyuner joined | 09:20 |
| → defjam joined | 09:20 |
| → navi joined | 09:22 |
| ← aiyunyuner left | 09:24 |
| → aiyunyuner joined | 09:26 |
| ← defjam left | 09:26 |
| ← aiyunyuner left | 09:28 |
| → savolla joined | 09:28 |
| → aiyunyuner joined | 09:30 |
| ← robo left | 09:31 |
| ← danse-nr3 left | 09:31 |
| → robo joined | 09:31 |
| → danse-nr3 joined | 09:31 |
| ← aiyunyuner left | 09:32 |
| → daniel3 joined | 09:32 |
|
cheater
| if i have a repository url, what is the best way to turn that into a single, emailable, compressed file that contains all remote branches? | 09:33 |
|
ikke
| man git-bundle | 09:34 |
|
gitinfo
| the git-bundle manpage is available at https://gitirc.eu/git-bundle.html | 09:34 |
| → aiyunyuner joined | 09:34 |
|
ikke
| But that does require you to clone the repo first | 09:34 |
| ← foul_owl left | 09:36 |
| ← aiyunyuner left | 09:36 |
|
euouae
| bookworm: what do you mean? can't signatures always be checked? or are you saying it can make me sign stuff I didn't intend? | 09:36 |
|
bookworm
| if you forward the agent, anyone with root on the box can sign arbitrary stuff, depending on how you use cred caching / tokens etc | 09:38 |
| → aiyunyuner joined | 09:38 |
|
bookworm
| but even if you don't cache, gpg isn't good at telling you what you are signing, all you get is a pw prompt with no auth | 09:38 |
|
euouae
| thanks. | 09:39 |
| ← Left_Turn left | 09:40 |
| ← aiyunyuner left | 09:40 |
| → Left_Turn joined | 09:40 |
| → defjam joined | 09:40 |
| → aiyunyuner joined | 09:42 |
| ← aiyunyuner left | 09:43 |
| → aiyunyuner joined | 09:45 |
| → Traneptora joined | 09:46 |
| ← aiyunyuner left | 09:47 |
| ← keypusher left | 09:48 |
| → aiyunyuner joined | 09:49 |
| ← aiyunyuner left | 09:51 |
| → aiyunyuner joined | 09:53 |
| ← aiyunyuner left | 09:56 |
| → peirik_ joined | 09:56 |
| → aiyunyuner joined | 09:58 |
| → foul_owl joined | 09:59 |
| → keypusher joined | 09:59 |
| ← aiyunyuner left | 10:00 |
| → aiyunyuner joined | 10:02 |
| ← aiyunyuner left | 10:07 |
| → aiyunyuner joined | 10:09 |
| ← aiyunyuner left | 10:10 |
| → aiyunyuner joined | 10:12 |
| ← aiyunyuner left | 10:14 |
| → gryf joined | 10:14 |
| ← john_johnk left | 10:14 |
| → aiyunyuner joined | 10:16 |
| ← aiyunyuner left | 10:17 |
| → aiyunyuner joined | 10:19 |
| ← aiyunyuner left | 10:21 |
| → aiyunyuner joined | 10:23 |
| ← aiyunyuner left | 10:25 |
| → aiyunyuner joined | 10:27 |
| ← aiyunyuner left | 10:29 |
| → aiyunyuner joined | 10:31 |
| ← aiyunyuner left | 10:32 |
| → aiyunyuner joined | 10:34 |
| ← aiyunyuner left | 10:36 |
| → zetef joined | 10:38 |
| → aiyunyuner joined | 10:38 |
| ← aiyunyuner left | 10:41 |
| → aiyunyuner joined | 10:43 |
| ← FinnElija left | 10:44 |
| ← aiyunyuner left | 10:45 |
| → aiyunyuner joined | 10:47 |
| ← aiyunyuner left | 10:48 |
| ← peirik_ left | 10:48 |
| → aiyunyuner joined | 10:50 |
| → FinnElija joined | 10:50 |
| ← savolla left | 10:51 |
| ← aiyunyuner left | 10:52 |
| → savolla joined | 10:52 |
| → aiyunyuner joined | 10:54 |
| ← jmd left | 10:55 |
| ← aiyunyuner left | 10:56 |
| → Ox7C5 joined | 10:58 |
| → aiyunyuner joined | 10:58 |
| ← daniel3 left | 10:59 |
| ← aiyunyuner left | 11:00 |
| → Aiden55 joined | 11:02 |
| → aiyunyuner joined | 11:02 |
| ← aiyunyuner left | 11:03 |
| ← cdown left | 11:04 |
| → Lord_of_Life_ joined | 11:04 |
| ← Lord_of_Life left | 11:05 |
| ← jfsimon1981 left | 11:05 |
| → aiyunyuner joined | 11:05 |
| → jfsimon1981 joined | 11:05 |
| ← aiyunyuner left | 11:07 |
| → fstd_ joined | 11:07 |
| Lord_of_Life_ → Lord_of_Life | 11:07 |
| ← savolla left | 11:07 |
| ← fstd left | 11:07 |
| fstd_ → fstd | 11:08 |
| → savolla joined | 11:09 |
| → aiyunyuner joined | 11:09 |
| ← aiyunyuner left | 11:11 |
| ← savolla left | 11:12 |
| → aiyunyuner joined | 11:13 |
| ← aiyunyuner left | 11:15 |
| ← zetef left | 11:16 |
| → aiyunyuner joined | 11:17 |
| ← danse-nr3 left | 11:19 |
| → gsekulski joined | 11:19 |
| ← aiyunyuner left | 11:20 |
| → aiyunyuner joined | 11:22 |
| ← gsekulski left | 11:23 |
| ← aiyunyuner left | 11:24 |
| → savolla joined | 11:24 |
| → aiyunyuner joined | 11:26 |
| ← aiyunyuner left | 11:28 |
| ← ssserpent left | 11:28 |
| → aiyunyuner joined | 11:30 |
| ← aiyunyuner left | 11:32 |
| → aiyunyuner joined | 11:34 |
| → ocra8 joined | 11:34 |
| ← aiyunyuner left | 11:36 |
| → aiyunyuner joined | 11:38 |
| ← aiyunyuner left | 11:40 |
| ← dsimic left | 11:41 |
| → gsekulski joined | 11:42 |
| → aiyunyuner joined | 11:42 |
| → dsimic joined | 11:43 |
| ← aiyunyuner left | 11:44 |
| → aiyunyuner joined | 11:46 |
| ← aiyunyuner left | 11:50 |
| → aiyunyuner joined | 11:52 |
| ← aiyunyuner left | 11:54 |
| → aiyunyuner joined | 11:56 |
| ← aiyunyuner left | 11:58 |
| → blacknova joined | 12:00 |
| → aiyunyuner joined | 12:00 |
| ← aiyunyuner left | 12:01 |
| → printfdebugging joined | 12:02 |
| ← euouae left | 12:03 |
| → aiyunyuner joined | 12:03 |
| ← aiyunyuner left | 12:05 |
|
cheater
| ikke: at this rate, if i'm compressing stuff, might as well compress the clone | 12:07 |
| ← gsekulski left | 12:07 |
| → jmd joined | 12:07 |
| ← j`ey left | 12:07 |
| → aiyunyuner joined | 12:07 |
| ← aiyunyuner left | 12:10 |
| → aiyunyuner joined | 12:12 |
| ← aiyunyuner left | 12:14 |
| → aiyunyuner joined | 12:16 |
| ← aiyunyuner left | 12:17 |
| → aiyunyuner joined | 12:19 |
| ← aiyunyuner left | 12:21 |
| → john_johnk joined | 12:22 |
| → aiyunyuner joined | 12:23 |
| ← aiyunyuner left | 12:24 |
| → lojik joined | 12:25 |
| → aiyunyuner joined | 12:27 |
| ← aiyunyuner left | 12:28 |
| → fonini joined | 12:29 |
| ← fonini left | 12:29 |
|
dob1
| checking out a tag is the same as checkout a specific commit right? so I can checkout a tag, create a new branch from this tag and working on it | 12:29 |
| → fonini joined | 12:30 |
| → aiyunyuner joined | 12:30 |
| ← aiyunyuner left | 12:31 |
| → aiyunyuner joined | 12:33 |
| jbo_ → jbo | 12:33 |
| ← jmd left | 12:34 |
| ← aiyunyuner left | 12:35 |
| → jmd joined | 12:37 |
| → aiyunyuner joined | 12:37 |
| ← aiyunyuner left | 12:38 |
| → danse-nr3 joined | 12:39 |
| → aiyunyuner joined | 12:40 |
| → Vonter joined | 12:41 |
| ← aiyunyuner left | 12:42 |
| → aiyunyuner joined | 12:44 |
| ← aiyunyuner left | 12:45 |
|
ikke
| Yes | 12:46 |
| → aiyunyuner joined | 12:47 |
| ← aiyunyuner left | 12:49 |
| → gsekulski joined | 12:51 |
| → aiyunyuner joined | 12:51 |
| → redbool joined | 12:53 |
| ← aiyunyuner left | 12:53 |
| → redbool_ joined | 12:53 |
| ← redbool left | 12:53 |
| ← redbool_ left | 12:53 |
| → redbool joined | 12:53 |
| → jgh2 joined | 12:54 |
| → aiyunyuner joined | 12:55 |
| ← aiyunyuner left | 12:56 |
| ← memset left | 12:57 |
| → aiyunyuner joined | 12:58 |
| ← rustyshackleford left | 12:59 |
| ← aiyunyuner left | 13:00 |
| → cdown joined | 13:01 |
| → aiyunyuner joined | 13:02 |
| ← aiyunyuner left | 13:04 |
| → aiyunyuner joined | 13:06 |
| ← aiyunyuner left | 13:07 |
| → memset joined | 13:09 |
| → aiyunyuner joined | 13:09 |
| ← aiyunyuner left | 13:11 |
| → aiyunyuner joined | 13:13 |
| ← aiyunyuner left | 13:15 |
| ← jgh2 left | 13:17 |
| → aiyunyuner joined | 13:17 |
| ← aiyunyuner left | 13:19 |
| → JordiGH joined | 13:19 |
| → aiyunyuner joined | 13:21 |
| ← aiyunyuner left | 13:23 |
| ← ocra8 left | 13:23 |
| → aiyunyuner joined | 13:25 |
| ← cdown left | 13:26 |
| ← Murr left | 13:27 |
| ← aiyunyuner left | 13:27 |
| ← memset left | 13:27 |
| → memset joined | 13:27 |
| → aiyunyuner joined | 13:29 |
| → delay joined | 13:31 |
| ← aiyunyuner left | 13:32 |
| → aiyunyuner joined | 13:34 |
| ← aiyunyuner left | 13:35 |
| → aiyunyuner joined | 13:37 |
| ← aiyunyuner left | 13:39 |
| → aiyunyuner joined | 13:41 |
| ← aiyunyuner left | 13:42 |
| → aiyunyuner joined | 13:44 |
| ← aiyunyuner left | 13:47 |
| → aiyunyuner joined | 13:49 |
| ← defjam left | 13:50 |
| ← aiyunyuner left | 13:51 |
| ← xx left | 13:53 |
| → aiyunyuner joined | 13:53 |
| ← aiyunyuner left | 13:55 |
| → xx joined | 13:55 |
| → aiyunyuner joined | 13:57 |
| ← aiyunyuner left | 13:59 |
| → aiyunyuner joined | 14:01 |
| → B-J joined | 14:03 |
| → defjam joined | 14:04 |
| ← aiyunyuner left | 14:04 |
| ← B-J left | 14:05 |
| → matheusmoreira joined | 14:06 |
| → aiyunyuner joined | 14:06 |
| ← aiyunyuner left | 14:07 |
| → aiyunyuner joined | 14:09 |
| ← defjam left | 14:09 |
| → cbreak joined | 14:09 |
| ← printfdebugging left | 14:11 |
| ← aiyunyuner left | 14:12 |
| → aiyunyuner joined | 14:14 |
| ← aiyunyuner left | 14:15 |
| → defjam joined | 14:16 |
| → printfdebugging joined | 14:17 |
| → aiyunyuner joined | 14:17 |
| ← aiyunyuner left | 14:18 |
| → pebble joined | 14:18 |
| ← danse-nr3 left | 14:20 |
| → aiyunyuner joined | 14:20 |
| ← defjam left | 14:21 |
| ← aiyunyuner left | 14:22 |
| → thiago joined | 14:23 |
| → aiyunyuner joined | 14:24 |
| ← aiyunyuner left | 14:26 |
| ← printfdebugging left | 14:28 |
| → aiyunyuner joined | 14:28 |
| → rustyshackleford joined | 14:29 |
| ← aiyunyuner left | 14:29 |
| → defjam joined | 14:31 |
| → aiyunyuner joined | 14:31 |
| ← aiyunyuner left | 14:33 |
| → zetef joined | 14:34 |
| → aiyunyuner joined | 14:35 |
| → danse-nr3 joined | 14:36 |
| → gh34 joined | 14:37 |
| ← aiyunyuner left | 14:37 |
| → aiyunyuner joined | 14:39 |
| ← pebble left | 14:40 |
| ← aiyunyuner left | 14:41 |
| → pebble joined | 14:41 |
| → cptaffe joined | 14:42 |
| → aiyunyuner joined | 14:43 |
| ← aiyunyuner left | 14:44 |
| → aiyunyuner joined | 14:46 |
| ← aiyunyuner left | 14:49 |
| → aiyunyuner joined | 14:51 |
| ← gsekulski left | 14:51 |
| ← aiyunyuner left | 14:53 |
| → aiyunyuner joined | 14:55 |
| → ocra8 joined | 14:56 |
| ← jfsimon1981 left | 14:56 |
| → jfsimon1981 joined | 14:57 |
| ← aiyunyuner left | 14:57 |
| → themill joined | 14:57 |
| → dustinm joined | 14:58 |
| → Thanzex0 joined | 14:58 |
| ← cbreak left | 15:03 |
| → jensen joined | 15:04 |
| → cbreak joined | 15:06 |
| ← cbreak left | 15:06 |
| → cbreak joined | 15:08 |
| ← cbreak left | 15:08 |
| ← henry40408 left | 15:12 |
| → henry40408 joined | 15:12 |
| → cbreak joined | 15:15 |
| ← jfsimon1981 left | 15:16 |
| → masoudd joined | 15:16 |
| → jfsimon1981 joined | 15:18 |
| ← john_johnk left | 15:25 |
| → masber joined | 15:35 |
|
masber
| hi, for some unknonws reason, I did a git commit and now seems like my git repo is corrupted? | 15:35 |
|
| ❯ git status | 15:35 |
|
| fatal: unable to read 41d45593cbbde062cbc6404f24cf3dcebbd1a7ec | 15:35 |
|
grawity
| what kind of filesystem/disk/device is it on? | 15:36 |
|
masber
| fatal: bad object 41d45593cbbde062cbc6404f24cf3dcebbd1a7ec | 15:36 |
|
| the default ubuntu uses | 15:37 |
|
| let me check | 15:37 |
|
grawity
| is WSL involved? | 15:37 |
|
masber
| ext4 | 15:38 |
|
| no windows involved, this is linux installation, not even dual boot | 15:39 |
|
| no vm, no container | 15:39 |
| ← masber left | 15:39 |
|
grawity
| do you have any warnings/errors in `dmesg`, then? | 15:39 |
| → masber joined | 15:40 |
|
grawity
| do you have any warnings/errors in `dmesg`, then? | 15:40 |
|
masber
| let me check | 15:41 |
| → junyx joined | 15:41 |
| → duxsco joined | 15:43 |
|
masber
| nothing in dmesg that rings the bell | 15:44 |
|
| just some spotify denied messages | 15:44 |
| ← MGF_Fabio left | 15:45 |
|
grawity
| does `git ls-files | grep 41d4` show which file that was supposed to be? | 15:45 |
|
masber
| no, output is empty | 15:45 |
| ← masber left | 15:45 |
| → masber joined | 15:46 |
|
masber
| I can't even see that commit id in the git log | 15:46 |
|
grawity
| most likely that's not a commit id, it's a blob (file) id | 15:46 |
|
masber
| should I just make a small change to any file and try to commit again? | 15:47 |
|
grawity
| I would move .git/objects/41/d4559... off to the side (or even rm it if it somehow ended up as a 0-byte file), then run a `git fsck` to check if anything from the commit history is missing (or if it's just an 'added'/staged file) | 15:47 |
|
masber
| ok | 15:48 |
| → gsekulski joined | 15:49 |
|
masber
| there is no such file | 15:50 |
|
grawity
| does git fsck complain? | 15:51 |
|
masber
| I mean, `find .git/objects/ -name "d4559*"` returns nothing | 15:51 |
|
| yes fsck complains https://dpaste.org/t2Pjw/raw | 15:52 |
|
grawity
| move .git/index aside and check again, both `git status` and `git fsck` | 15:52 |
| → acidbong joined | 15:53 |
|
masber
| git fsck not does not complain anymore after moving index somewhere else | 15:54 |
|
grawity
| if fsck is fine, `git reset` will build a new index and you can probably continue working from there | 15:55 |
|
masber
| ❯ git fsck | 15:55 |
|
| Checking object directories: 100% (256/256), done. | 15:55 |
|
| Checking objects: 100% (6667/6667), done. | 15:55 |
|
| yep | 15:56 |
|
grawity
| I don't 100% understand the internals of "cache-tree" (another name for index, really) but it seems like only some stuff that was staged but not yet commited that went missing | 15:56 |
|
| i.e. the actual commit history is fine so you can carry on from there | 15:56 |
|
masber
| thank you very much, that was scary | 15:56 |
|
grawity
| tbh what's scary is that it happened at all. normally files don't just disappear, even from within .git | 15:57 |
|
masber
| yes... | 15:57 |
|
grawity
| well, as long as you still have the working files, recovering from a damaged commit wouldn't have been much harder anyway, it'd be mostly finding an older commit ID and rolling back to that -- making the new commit disappear -- and just re-doing the commit again | 15:59 |
| ← chuanshi left | 16:00 |
| → skapata joined | 16:02 |
| → Haozilla joined | 16:04 |
| → kyber joined | 16:04 |
| ← JordiGH left | 16:05 |
| → chuanshi_ joined | 16:05 |
| → hbautista_ joined | 16:07 |
| → JordiGH joined | 16:08 |
| ← Haozilla left | 16:09 |
| → qgnox joined | 16:09 |
| → cixx joined | 16:17 |
| ← JordiGH left | 16:18 |
| → bn_work joined | 16:18 |
| ← masber left | 16:20 |
| → printfdebugging joined | 16:20 |
| → whatsupdoc joined | 16:22 |
| ← Aiden55 left | 16:23 |
| ← danse-nr3 left | 16:27 |
| → danse-nr3 joined | 16:27 |
|
bn_work
| Hi, git 2.24.3, 2-person team (I maintain + 2nd jr "dev"). Jr. "dev" only creates topic branches which myself and other senior devs review prior to merging to main. I have my pulls set to rebase by default. Q: I had a topic branch that had several changes (including a re-merging from main into it back on 2024-03-27), unfortunately none of these 5 commits were pushed (I don't think the jr. dev pushed anything). Now today when I `git | 16:28 |
|
| pull`-ed I notice the merge commit has now disappeared and all my other commits have been re-applied with today's date. Q2: What happened to the merge commit?? Q3: How do I get my original commit dates back? | 16:28 |
| → hwpplayer1 joined | 16:29 |
| → Aiden55 joined | 16:31 |
| → davidsenk joined | 16:32 |
| ← pebble left | 16:33 |
| → pebble joined | 16:34 |
| → JordiGH joined | 16:35 |
| → ZMarkGC joined | 16:36 |
| ← junyx left | 16:37 |
| ← hwpplayer1 left | 16:38 |
| → hwpplayer1 joined | 16:41 |
| ← zetef left | 16:42 |
| → junyx joined | 16:44 |
| ← fling left | 16:48 |
| ← chiselfuse left | 16:48 |
| → quizzi joined | 16:48 |
| → ueberall joined | 16:48 |
| → Benett joined | 16:48 |
| → fling joined | 16:49 |
| → chiselfuse joined | 16:49 |
| → farn_ joined | 16:49 |
| ← hbautista_ left | 16:59 |
| ← delay left | 17:04 |
| → hamburgler joined | 17:10 |
| → john_johnk joined | 17:15 |
| ← danse-nr3 left | 17:15 |
| ← masoudd left | 17:16 |
| ← gsekulski left | 17:17 |
| → PantelicGR joined | 17:20 |
| → hdh joined | 17:23 |
| ← blacknova left | 17:29 |
| → masoudd joined | 17:30 |
| ← cixx left | 17:31 |
| ← john_johnk left | 17:31 |
| ← junyx left | 17:31 |
| ← masoudd left | 17:32 |
| → masoudd joined | 17:33 |
| → gsekulski joined | 17:33 |
| ← EvilDMP left | 17:35 |
| ← ghost43 left | 17:37 |
| ← xx left | 17:37 |
| ← fling left | 17:37 |
| ← bindu left | 17:37 |
| ← gildasio left | 17:37 |
| ← FinnElija left | 17:37 |
| ← chiselfuse left | 17:37 |
| → bindu joined | 17:38 |
| → xx joined | 17:39 |
| ← bindu left | 17:39 |
| → fling joined | 17:40 |
| → bindu joined | 17:40 |
| → ghost43 joined | 17:41 |
| → chiselfuse joined | 17:42 |
| → gildasio joined | 17:42 |
| → FinnElija joined | 17:43 |
| → danse-nr3 joined | 17:46 |
| ← FinnElija left | 17:49 |
| ← gsekulski left | 17:50 |
| → FinnElija joined | 17:50 |
| ← gildasio left | 17:52 |
| → gildasio joined | 17:53 |
| ← danse-nr3 left | 17:54 |
| ← ocra8 left | 18:00 |
| → Betal joined | 18:01 |
| ← qgnox left | 18:06 |
| ← Ox7C5 left | 18:10 |
| ← defjam left | 18:13 |
| ← kyber left | 18:24 |
| → defjam joined | 18:25 |
| → ocra8 joined | 18:26 |
| → qgnox joined | 18:28 |
| → rsx joined | 18:28 |
| → michele joined | 18:30 |
| ← defjam left | 18:30 |
| ← jfsimon1981 left | 18:31 |
| → jfsimon1981 joined | 18:31 |
| ← JordiGH left | 18:34 |
| ← duxsco left | 18:35 |
| → bagatur joined | 18:36 |
| → tirnanog joined | 18:38 |
| → duxsco joined | 18:40 |
| ← duxsco left | 18:40 |
| ← matheusmoreira left | 18:49 |
| → matheusmoreira joined | 18:53 |
| → sadome joined | 18:54 |
| ← sadome left | 18:54 |
| → thiago_ joined | 18:54 |
| ← thiago left | 18:57 |
| → defjam joined | 18:59 |
| ← matheusmoreira left | 19:00 |
| ← masoudd left | 19:00 |
| ← jfsimon1981 left | 19:01 |
| → duxsco joined | 19:01 |
| → jfsimon1981 joined | 19:01 |
| ← duxsco left | 19:03 |
| ← printfdebugging left | 19:03 |
| → printfdebugging joined | 19:03 |
| ← printfdebugging left | 19:07 |
| → mud joined | 19:07 |
| → printfdebugging joined | 19:07 |
| → rigid joined | 19:08 |
| → playonverbs_ joined | 19:08 |
| ← thiago_ left | 19:09 |
| → thiago joined | 19:13 |
| → duxsco joined | 19:14 |
| → sam113102 joined | 19:16 |
| sam113102 → sam113101 | 19:18 |
| ← thiago left | 19:19 |
| ← Vonter left | 19:20 |
| ← pebble left | 19:20 |
| → Vonter joined | 19:22 |
| → thiago joined | 19:23 |
| → beber_ joined | 19:23 |
| → matheusmoreira joined | 19:28 |
| → k_sze joined | 19:32 |
|
k_sze
| What's the correct way to locally remove a branch that I have fetched but not checked out, and that seems to have disappeared from the remote? | 19:36 |
| ← defjam left | 19:38 |
|
k_sze
| Just delete the corresponding ref file from `.git/refs/`? | 19:39 |
|
ikke
| k_sze: either git fetch --prune <remote> to automatically remove any remote tracking branch that was removed from the remote, or git branch -dr <remote>/<name> | 19:39 |
| → AmR joined | 19:39 |
|
jast
| k_sze: the easy way to clean up everything is "git fetch --prune", but you can also do "git branch -r -d origin/mybranch" | 19:39 |
|
k_sze
| thanks | 19:39 |
| ← savolla left | 19:41 |
| → savolla joined | 19:45 |
| → user_____ joined | 19:48 |
| ← savolla left | 19:49 |
| → kus joined | 19:50 |
| ← rsx left | 19:52 |
| → thuna` joined | 19:55 |
| → JordiGH joined | 20:00 |
| → gsekulski joined | 20:01 |
| ← qgnox left | 20:02 |
| ← gsekulski left | 20:05 |
| → defjam joined | 20:09 |
| Aiden55 → pausadd | 20:15 |
| ← defjam left | 20:15 |
| ← Left_Turn left | 20:18 |
| → theoceaniscool joined | 20:20 |
| → zetef joined | 20:23 |
| → joakimk joined | 20:23 |
| → Left_Turn joined | 20:25 |
| ← tirnanog left | 20:25 |
| → defjam joined | 20:30 |
| ← konsolebox_ left | 20:32 |
| → tirnanog joined | 20:33 |
| ← user_____ left | 20:33 |
| ← bagatur left | 20:34 |
| → user_____ joined | 20:36 |
| → cpackham joined | 20:37 |
| → gsekulski joined | 20:37 |
| ← gsekulski left | 20:42 |
| → gsekulski joined | 20:42 |
| ← duxsco left | 20:44 |
| → joakimk40 joined | 20:46 |
| ← thiago left | 20:47 |
| → EvilDMP joined | 20:49 |
| ← joakimk left | 20:49 |
| → Coop joined | 20:50 |
| pausadd → Ocupado | 20:56 |
| → AmR_ joined | 21:00 |
| ← AmR left | 21:01 |
| AmR_ → AmR | 21:01 |
| → matheusm1reira joined | 21:02 |
| ← matheusmoreira left | 21:05 |
| → cabazon12 joined | 21:08 |
| ← matheusm1reira left | 21:08 |
| ← AmR left | 21:13 |
| ← cabazon12 left | 21:20 |
| → Murr joined | 21:22 |
| ← defjam left | 21:24 |
| → defjam joined | 21:26 |
| ← zetef left | 21:33 |
| ← misanthropos left | 21:35 |
| → thiago joined | 21:37 |
| → Flow joined | 21:43 |
| ← hwpplayer1 left | 21:45 |
|
bn_work
| so anyone have thoughts on my predicament? :| | 21:46 |
|
weaksauce
| what is your predicament bn_work | 21:49 |
| ← ocra8 left | 21:50 |
| ← user_____ left | 21:54 |
|
bn_work
| weaksauce: posted it here 5 hours and 20 mins ago (ok to repost?) | 21:57 |
|
weaksauce
| yeah should be fine | 21:58 |
|
bookworm
| bn_work: merge commits go away unless you instruct rebase to keep em (--rebase-merges) | 22:03 |
|
| and you can get it back from the reflog, then retry | 22:03 |
| ← jmd left | 22:04 |
|
bookworm
| as for the date... the author date won't change, the commit date will | 22:04 |
| ← gh34 left | 22:06 |
| ← thiago left | 22:06 |
| → Zumo joined | 22:09 |
| → oikos joined | 22:13 |
| → misanthropos joined | 22:15 |
| ← theoceaniscool left | 22:16 |
| ← PantelicGR left | 22:16 |
| ← joakimk40 left | 22:18 |
| → delay joined | 22:29 |
| → ferdna joined | 22:33 |
| ← Lord_of_Life left | 22:38 |
| → Lord_of_Life joined | 22:39 |
| → reset joined | 22:40 |
| ← reset left | 22:40 |
| → reset joined | 22:41 |
| ← m0viefreak left | 22:43 |
| ← reset left | 22:46 |
|
bn_work
| bookworm: ok, how do I use the reflog to get back the merge commit? | 22:54 |
| ← xx left | 22:57 |
| → reset joined | 22:58 |
| ← Left_Turn left | 23:00 |
| → snedd joined | 23:00 |
| ← cpackham left | 23:03 |
|
weaksauce
| bn_work `git reflog` shows you were the head changed positions. you can create a branch on where the head was before it went south | 23:04 |
|
| just use the hash of the commit where you want it | 23:04 |
| ← snedd left | 23:05 |
|
bn_work
| weaksauce: ok, then is there a way to re-apply the local changes with the original commit dates? | 23:05 |
|
| (still a bit confused why the merge commit got wiped) | 23:06 |
|
weaksauce
| i am not sure but i never use pull because of this kind of stuff happening | 23:06 |
|
| you might be able to rebase? and use something like --committer-date-is-author-dat | 23:08 |
|
| --committer-date-is-author-date | 23:08 |
|
| above my paygrade and you should probably have some backups going on | 23:08 |
|
bn_work
| nothing has been pushed yet | 23:09 |
|
| rebase always seems a safer way VS merge conflicts, that's why I have it setup that way, but didn't realize a merge commit would disappear if that was done. | 23:15 |
|
| or commit dates getting "wiped out" | 23:15 |
| ← oikos left | 23:17 |
| → oikos` joined | 23:18 |
| → thiago joined | 23:21 |
| → oikos`` joined | 23:24 |
| ← oikos` left | 23:26 |
| ← thiago left | 23:27 |
| → thiago joined | 23:31 |
| ← Nixkernal left | 23:32 |
| → Gary_Sinise joined | 23:36 |
| ← delay left | 23:37 |
| Ocupado → pausadd | 23:43 |
| → delay joined | 23:43 |
| ← jkl left | 23:44 |
| → jkl joined | 23:44 |
| ← delay left | 23:45 |
| → AmR joined | 23:46 |
| ← kus left | 23:54 |
| → Erisa joined | 23:55 |