| 2024-06-14 |
| → Quack joined | 00:00 |
| ← jenia2 left | 00:01 |
| → hritik joined | 00:06 |
| → chandash joined | 00:10 |
| ← henry40408 left | 00:11 |
| ← hritik left | 00:11 |
| → henry40408 joined | 00:11 |
| → cpackham joined | 00:25 |
| ← iomari891 left | 00:33 |
| → iomari891 joined | 00:35 |
| → hritik joined | 00:39 |
| ← pedahzur left | 00:48 |
| ← thiago left | 00:56 |
| ← foul_owl left | 01:02 |
| ← jenia2` left | 01:03 |
| ← mns left | 01:04 |
| ← hritik left | 01:05 |
| → mns joined | 01:05 |
| → gsi_ joined | 01:15 |
| → foul_owl joined | 01:16 |
| ← chandash left | 01:18 |
| ← gsi left | 01:18 |
| ← Arokh left | 01:19 |
| → hritik joined | 01:25 |
| → tirnanog joined | 01:26 |
| ← misanthropos left | 01:27 |
| → Arokh joined | 01:27 |
| ← mgedmin left | 01:30 |
| ← hritik left | 01:30 |
| ← TomyLobo left | 01:32 |
| → mgedmin joined | 01:32 |
| → cdown_ joined | 01:34 |
| → oopzzozzo joined | 01:37 |
| ← cdown left | 01:37 |
| cdown_ → cdown | 01:37 |
|
sam113101
| if my branch name has multiple words in it, should I separate them with hypens (-) or underscores (_)? | 01:40 |
| → hritik joined | 01:43 |
| → thiago joined | 01:46 |
| ← hritik left | 01:48 |
| ← fflam left | 01:49 |
| → fflam joined | 01:52 |
| ← jab416171 left | 01:52 |
| → jab416171 joined | 01:58 |
| → jenia2` joined | 01:59 |
| → hritik joined | 02:01 |
| ← jab416171 left | 02:03 |
| ← henry40408 left | 02:04 |
| ← rigid left | 02:04 |
| → henry40408 joined | 02:04 |
| → rigid joined | 02:05 |
| ← hritik left | 02:06 |
| → jab416171 joined | 02:09 |
| ← jenia2` left | 02:11 |
| ← jab416171 left | 02:14 |
| ← navi left | 02:16 |
| → jab416171 joined | 02:19 |
| ← krushia left | 02:20 |
| → misanthropos joined | 02:21 |
| ← leftyfb left | 02:22 |
| → leftyfb joined | 02:22 |
| → printfdebugging joined | 02:22 |
| ← jab416171 left | 02:22 |
| → jab416171 joined | 02:23 |
| ← iomari891 left | 02:26 |
| → iomari891 joined | 02:28 |
| ← oopzzozzo left | 02:28 |
| ← PantelicGR left | 02:29 |
| → wys joined | 02:30 |
| ← iomari891 left | 02:34 |
| ← jab416171 left | 02:35 |
| → iomari891 joined | 02:35 |
| → Vonter joined | 02:36 |
| → jab416171 joined | 02:40 |
| → haxalot joined | 02:41 |
| → hritik joined | 02:44 |
| ← jab416171 left | 02:45 |
| ← hritik left | 02:50 |
| → jab416171 joined | 02:52 |
| → br__ joined | 02:56 |
| ← jab416171 left | 02:58 |
| ← iomari891 left | 03:02 |
| → hritik joined | 03:03 |
| → jab416171 joined | 03:05 |
| → Gary_Sinise joined | 03:08 |
| → iomari891 joined | 03:08 |
| ← hritik left | 03:09 |
| → xdminsy joined | 03:10 |
| → printfdebugging1 joined | 03:10 |
| → toric_ joined | 03:10 |
| ← toric left | 03:11 |
| ← xdminsy left | 03:11 |
| ← printfdebugging left | 03:12 |
| printfdebugging1 → printfdebugging | 03:12 |
| → xdminsy joined | 03:22 |
| → toric joined | 03:23 |
| ← toric_ left | 03:24 |
| ← gast0n left | 03:26 |
| → hritik joined | 03:27 |
| ← printfdebugging left | 03:27 |
| ← firewyre left | 03:28 |
| ← ChmEarl left | 03:29 |
| ← iomari891 left | 03:30 |
| → iomari891 joined | 03:31 |
| ← hritik left | 03:32 |
| → firewyre joined | 03:32 |
| → hbautista_ joined | 03:33 |
| → hritik joined | 03:35 |
| ← Betal left | 03:37 |
| ← iomari891 left | 03:37 |
| → iomari891 joined | 03:39 |
| ← hritik left | 03:40 |
| ← jab416171 left | 03:45 |
| ← dlh404 left | 03:50 |
| ← bloody_ left | 03:52 |
| → jab416171 joined | 03:52 |
| → hritik joined | 03:52 |
| → bloody joined | 03:55 |
| ← bloody left | 03:55 |
| ← hritik left | 03:57 |
| → hritik joined | 04:09 |
| ← hritik left | 04:15 |
| ← grogu left | 04:17 |
| → grogu joined | 04:17 |
| ← iomari891 left | 04:18 |
| ← jab416171 left | 04:20 |
| → jab416171 joined | 04:21 |
| → hritik joined | 04:22 |
| ← Gary_Sinise left | 04:25 |
| ← jab416171 left | 04:26 |
| → jab416171 joined | 04:27 |
| ← SuperLag left | 04:30 |
| → SuperLag joined | 04:30 |
| ← SuperLag left | 04:30 |
| → SuperLag joined | 04:30 |
| ← jab416171 left | 04:31 |
| ← remedan left | 04:33 |
| ← hritik left | 04:33 |
| → fdan joined | 04:34 |
| → jab416171 joined | 04:35 |
| ← grogu left | 04:37 |
| ← br__ left | 04:41 |
| → hritik joined | 04:47 |
| → remedan joined | 04:49 |
| ← hritik left | 04:51 |
| ← SuperLag left | 04:55 |
| → SuperLag joined | 04:55 |
| ← kurahaupo left | 04:57 |
| ← jab416171 left | 05:01 |
| ← cpackham left | 05:01 |
| → jmd joined | 05:03 |
| ← jmd left | 05:03 |
| → hritik joined | 05:03 |
| → jab416171 joined | 05:07 |
| ← hritik left | 05:08 |
| → jmd joined | 05:12 |
| → qqq joined | 05:13 |
| ← lemuria left | 05:18 |
| → hritik joined | 05:22 |
| → becm joined | 05:24 |
| ← hritik left | 05:27 |
| ← jmd left | 05:35 |
| ← FH_thecat left | 05:41 |
| ← misanthropos left | 05:42 |
| → hritik joined | 05:47 |
| → jmd joined | 05:49 |
| ← jmd left | 05:52 |
| ← hritik left | 05:53 |
| ← thiago left | 05:56 |
| ← wys left | 06:03 |
| → hritik joined | 06:05 |
| → FH_thecat joined | 06:09 |
| → duxsco joined | 06:10 |
| ← hritik left | 06:11 |
| ← a6im left | 06:14 |
| ← jab416171 left | 06:14 |
| ← hbautista_ left | 06:15 |
| → jab416171 joined | 06:21 |
| ← Crispy left | 06:23 |
| → hritik joined | 06:24 |
| ← fdan left | 06:24 |
| → odinsbane joined | 06:29 |
| → misanthropos joined | 06:30 |
| ← haxalot left | 06:34 |
| ← hritik left | 06:36 |
| → Crispy joined | 06:43 |
| ← dsrt^ left | 06:44 |
| → hritik joined | 06:49 |
| ← jab416171 left | 06:49 |
| → peirik__ joined | 06:49 |
| ← krumelmonster left | 06:53 |
| ← hritik left | 06:54 |
| → jab416171 joined | 06:54 |
| → rfuentess joined | 07:00 |
|
j416
| sam113101: I prefer hyphens, but I don't think there is a convention per se. | 07:02 |
| → rsx joined | 07:03 |
| → danse-nr3 joined | 07:03 |
| → iamtheranger joined | 07:03 |
| ← danse-nr3 left | 07:04 |
| → danse-nr3 joined | 07:04 |
| ← jab416171 left | 07:04 |
| → krumelmonster joined | 07:05 |
| → rosco joined | 07:07 |
| → hritik joined | 07:08 |
| → textyash joined | 07:09 |
| ← iamtheranger left | 07:09 |
|
textyash
| git switch doesn't prompt me to stash my changes for both tracked and untracked files while switching branches. Why is that? When does switching prompt me to stash my changes? | 07:10 |
| → jab416171 joined | 07:10 |
| ← qqq left | 07:12 |
| ← hritik left | 07:13 |
|
osse
| textyash: if any of the files you've changed are different in the branch you switch to | 07:15 |
| → gandhibobandhi_ joined | 07:16 |
| ← danse-nr3 left | 07:26 |
|
textyash
| osse Yes I tried that. The same files exist on the both the branches but it's still not prompting me. | 07:27 |
|
osse
| textyash: but are they different? | 07:27 |
| → hritik joined | 07:30 |
|
textyash
| osse the changes are different in both the branches to the same file. | 07:32 |
|
osse
| textyash: !repro | 07:33 |
|
gitinfo
| textyash: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see | 07:33 |
| → gloomy_desktop joined | 07:35 |
| → danse-nr3 joined | 07:36 |
|
osse
| textyash: When you switch branches if Git doesn't have to ovewrite a file when doing so then it won't complain. That's the gist of it. | 07:36 |
| ← hritik left | 07:39 |
| ← textyash left | 07:43 |
| ← CovertDuck left | 07:44 |
| → textyash joined | 07:48 |
|
textyash
| osse For example, I created a test branch with and commited a test.txt file with one line. Then created another branch from test and overwrote that line, didn't stage the changes & switched to test branch. It just switched. | 07:49 |
|
osse
| textyash: try committig the change in the other branch, make another change and try to switch this time | 07:50 |
| ← troyt left | 07:52 |
| → troyt joined | 07:56 |
| ← skapate left | 07:57 |
| → nivag joined | 07:57 |
| → nivag_2nd joined | 07:57 |
|
osse
| textyash: remember that when you make a new branch it will initially be equal to the branch you created it from. and untracked changes don't "belong" to a branch | 07:59 |
| → Left_Turn joined | 08:00 |
| ← rosco left | 08:01 |
| → rosco joined | 08:01 |
| ← defec7ed left | 08:02 |
| ← nivag left | 08:03 |
| ← nivag_2nd left | 08:03 |
| → defec7ed joined | 08:03 |
| → nivag joined | 08:03 |
| ← nivag left | 08:03 |
| → nivag joined | 08:05 |
| → jmd joined | 08:06 |
| → Ocupado joined | 08:07 |
|
osse
| textyash: remember that when you make a new branch it will initially be equal to the branch you created it from. and untracked changes don't "belong" to a branch | 08:09 |
|
| oopd | 08:09 |
| ← jmd left | 08:14 |
| ← stagas left | 08:19 |
| → someone235 joined | 08:19 |
| ← splud left | 08:21 |
| → wys joined | 08:23 |
| → bluesmonk joined | 08:23 |
| ← wys left | 08:23 |
| ← danse-nr3 left | 08:28 |
| → ferdna joined | 08:29 |
| ← textyash left | 08:31 |
| ← CrunchyFlakes left | 08:32 |
| → CrunchyFlakes joined | 08:36 |
| → danse-nr3 joined | 08:37 |
| → stagas joined | 08:40 |
| ← CrunchyFlakes left | 08:45 |
| → CrunchyFlakes joined | 08:50 |
| → splud joined | 08:50 |
| → hritik joined | 09:02 |
| ← hritik left | 09:07 |
| → hritik joined | 09:07 |
| → konsolebox joined | 09:17 |
| ← hritik left | 09:19 |
| → hritik joined | 09:20 |
| ← memset left | 09:22 |
| → memset joined | 09:22 |
| → MGF_Fabio joined | 09:23 |
| ← duxsco left | 09:23 |
| ← theobjectivedad left | 09:24 |
| → theobjectivedad joined | 09:25 |
| → duxsco joined | 09:25 |
| ← hritik left | 09:25 |
| → hritik joined | 09:26 |
| ← hritik left | 09:27 |
| → hritik joined | 09:28 |
| → KnoP joined | 09:30 |
| ← Crispy left | 09:35 |
| ← hritik left | 09:39 |
| → hritik joined | 09:40 |
| ← danse-nr3 left | 09:52 |
| → danse-nr3 joined | 09:53 |
| → printfdebugging joined | 09:57 |
| ← printfdebugging left | 09:57 |
| ← hritik left | 10:01 |
| → hritik joined | 10:06 |
| ← hyperair left | 10:09 |
| → davispuh joined | 10:11 |
| → textyash joined | 10:18 |
|
textyash
| osse now i can recreate it sometimes. So basically you're saying that it only happens for conflicting changes between the branches? How can I read on this? Like what makes a conflicting change to be aware of it every time? | 10:19 |
| ← hritik left | 10:20 |
| → hritik joined | 10:21 |
| ← SJrX left | 10:22 |
| → SJrX joined | 10:25 |
| → Turn_Left joined | 10:25 |
| ← jab416171 left | 10:27 |
| ← Left_Turn left | 10:30 |
| ← hritik left | 10:30 |
| → jab416171 joined | 10:33 |
| ← memset left | 10:34 |
| → memset joined | 10:35 |
| ← misanthropos left | 10:36 |
| → YuGiOhJCJ joined | 10:37 |
| ← Lights left | 10:42 |
| → hritik joined | 10:44 |
| → misanthropos joined | 10:49 |
| ← hritik left | 10:54 |
| → Betal joined | 10:58 |
| ← peirik__ left | 10:59 |
| ← textyash left | 10:59 |
| → AmR_ joined | 11:10 |
| ← AmR left | 11:13 |
| → peirik__ joined | 11:17 |
| → jenia2` joined | 11:17 |
| ← peirik__ left | 11:17 |
| → peirik__ joined | 11:18 |
| → peirik___ joined | 11:18 |
| → hritik joined | 11:20 |
| ← peirik_ left | 11:20 |
| ← peirik__ left | 11:22 |
| ← bluesmonk left | 11:26 |
| ← hritik left | 11:26 |
| → bluesmonk joined | 11:28 |
| ← bluesmonk left | 11:28 |
| → bluesmonk joined | 11:28 |
| ← danse-nr3 left | 11:31 |
| ← nightstrike left | 11:33 |
| → delay joined | 11:35 |
| ← someone235 left | 11:38 |
| ← dsimic left | 11:45 |
| → dsimic joined | 11:47 |
| ← rustyshackleford left | 11:47 |
| ← ferdna left | 11:48 |
| ← memset left | 11:50 |
| → memset joined | 11:50 |
| ← rosco left | 11:51 |
| → dlh404 joined | 11:53 |
| ← jab416171 left | 11:55 |
| ← dermoth left | 11:56 |
| → jab416171 joined | 12:00 |
| → dermoth joined | 12:01 |
| ← delay left | 12:03 |
| → jenia2`` joined | 12:03 |
| → delay joined | 12:04 |
| ← jenia2` left | 12:05 |
| ← memset left | 12:10 |
| ← delay left | 12:11 |
| ← jab416171 left | 12:12 |
| → delay joined | 12:17 |
| → jab416171 joined | 12:18 |
| ← duxsco left | 12:19 |
| ← bluesmonk left | 12:19 |
| ← delay left | 12:21 |
| → halloy2089 joined | 12:21 |
| → duxsco joined | 12:21 |
| → bluesmonk joined | 12:21 |
| → Ram-Z joined | 12:21 |
| halloy2089 → Alexey-Pelykh | 12:21 |
| → memset joined | 12:22 |
| → navi joined | 12:23 |
| → Lights joined | 12:23 |
| ← jab416171 left | 12:23 |
| → tlatelolco3 joined | 12:25 |
|
tlatelolco3
| Hello. I wanted to make my branch point one commit earlier. I issued the command `git update-ref dev 5212c` which didn’t did the trick. Instead, when I checkout around, I get `warning: refname 'dev' is ambiguous.`. How to revert my mess? | 12:26 |
| ← becm left | 12:27 |
| → becm1 joined | 12:27 |
|
osse
| tlatelolco3: git update-rev -d dev first off. then: Is your current branch named dev and you want to hop back and pretend the currnt commit didn't exist? | 12:28 |
| → jab416171 joined | 12:28 |
| ← odinsbane left | 12:29 |
| ← mrmoneyc left | 12:29 |
|
tlatelolco3
| `git update-ref -d dev` : `error: refusing to update ref with bad name 'dev'`. | 12:29 |
| becm1 → becm | 12:29 |
| → mrmoneyc joined | 12:29 |
|
tlatelolco3
| The last commit is part of an other branch. But I want dev to point one commit earlier. | 12:30 |
| → jmd joined | 12:31 |
|
osse
| tlatelolco3: can you run git for-each-ref | grep -w dev | 12:32 |
|
tlatelolco3
| `9031065fe0679794cc610ec489fda26045a2af56 commit refs/heads/dev` is the only answer | 12:33 |
| ← Novi left | 12:33 |
|
osse
| good | 12:33 |
|
tlatelolco3
| it’s the actual "too far" commit | 12:33 |
|
osse
| then perhasp the first update-ref failed also, so there is nothing for my command to delete | 12:33 |
|
| the answer is git reset (--hard) 5212c | 12:33 |
|
| --hard if you also want to revert the files on disk | 12:34 |
| → krushia joined | 12:35 |
| → Novi joined | 12:35 |
|
tlatelolco3
| Ok. It’s reset to an early commit. But when I switch branches I still have this ambiguous warning | 12:39 |
|
| And then I changed a tracked file on disk but `git status` doesn’t see it. Even if I `git add` it manually again. That’s really weird | 12:40 |
|
Alexey-Pelykh
| Hi! Why having a folder named ".gitattributes" causes and error and just not ignored for the purpose of processing the .gitattributes? It's possible to have a folder named .gitignore at the same time | 12:41 |
| ← din0 left | 12:43 |
| → din0 joined | 12:43 |
|
osse
| tlatelolco3: you also have a file or directory named dev ? | 12:43 |
|
tlatelolco3
| No I don’t | 12:44 |
| ← jmjl left | 12:44 |
| ← kanzure left | 12:45 |
| → kanzure joined | 12:45 |
| ← mrmoneyc left | 12:46 |
|
selckin
| /21 | 12:46 |
|
osse
| tlatelolco3: does .git/dev or .git/refs/dev exist ? | 12:47 |
|
tlatelolco3
| .git/dev yes. But it’s not the good commit number dev is pointing to now | 12:48 |
| → trace1918 joined | 12:48 |
|
osse
| remove that file | 12:49 |
|
| that causes the warning | 12:50 |
|
tlatelolco3
| Thank you. Indeed. | 12:50 |
|
| But I still can’t commit from the right-positionned dev branch | 12:51 |
|
osse
| !repro | 12:51 |
|
gitinfo
| [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see | 12:51 |
|
tlatelolco3
| My bad. I had got confused. It’s alright :) | 12:55 |
|
osse
| it' | 12:55 |
|
| it's weird that update-ref lets you create a ref that you cannot remove | 12:55 |
| → mrmoneyc joined | 12:58 |
| ← becm left | 13:00 |
| ← skered left | 13:03 |
| → duxsco_ joined | 13:05 |
| → otisolsen70 joined | 13:05 |
| → becm joined | 13:06 |
| ← duxsco left | 13:08 |
| ← duxsco_ left | 13:13 |
| ← tlatelolco3 left | 13:15 |
| ← dlh404 left | 13:21 |
| ← peirik___ left | 13:21 |
| → peirik_ joined | 13:22 |
| → dlh404 joined | 13:23 |
| → peirik__ joined | 13:24 |
| → hyperair joined | 13:25 |
| ← jmd left | 13:27 |
| ← trace1918 left | 13:27 |
| → dmj` joined | 13:31 |
| ← peirik__ left | 13:33 |
| → delay joined | 13:46 |
| → skered joined | 13:49 |
| ← celphi left | 13:50 |
| ← becm left | 13:53 |
| → celphi joined | 13:53 |
| → becm1 joined | 13:53 |
| ← henry40408 left | 13:54 |
| → henry40408 joined | 13:54 |
| ← delay left | 13:55 |
| becm1 → becm | 13:55 |
| → thiago joined | 13:57 |
| ← AmR_ left | 14:04 |
| ← thiago left | 14:15 |
| ← fflam left | 14:19 |
| → fflam joined | 14:21 |
| → stef204 joined | 14:25 |
| → delay joined | 14:26 |
| ← fflam left | 14:26 |
| → iomari891 joined | 14:27 |
| → fflam joined | 14:28 |
| → jensen joined | 14:30 |
| → peirik__ joined | 14:36 |
| ← peirik__ left | 14:37 |
| → lucasta joined | 14:38 |
| → peirik__ joined | 14:38 |
| ← jab416171 left | 14:39 |
| ← peirik_ left | 14:40 |
| → roli joined | 14:45 |
|
roli
| hi | 14:45 |
| ← delay left | 14:45 |
| → jab416171 joined | 14:45 |
| ← jab416171 left | 14:45 |
| → jab416171 joined | 14:45 |
| ← roli left | 14:46 |
| → john_johnk joined | 14:52 |
| → roli joined | 14:52 |
| → thiago joined | 14:53 |
| ← roli left | 14:53 |
| ← john_johnk left | 14:54 |
| → roli joined | 14:55 |
| ← roli left | 14:55 |
| jensen → aYS1 | 14:57 |
| ← thiago left | 14:59 |
| → ChmEarl joined | 15:01 |
| ← Vonter left | 15:04 |
| → Vonter joined | 15:04 |
| → roli joined | 15:05 |
| ← roli left | 15:05 |
| → roli joined | 15:06 |
| ← skered left | 15:06 |
| → thiago joined | 15:08 |
| ← roli left | 15:08 |
| → B-| joined | 15:09 |
|
B-|
| how can a github commit patch hash change | 15:10 |
|
| https://github.com/llvm/llvm-project/commit/c2aabcfc8395 | 15:10 |
|
| https://github.com/llvm/llvm-project/commit/c2aabcfc8395.patch | 15:10 |
|
| https://aur.archlinux.org/cgit/aur.git/commit/?h=clang15&id=c36e10c91559289b3264ab806a5d3ae6e5035b59 | 15:10 |
|
| and it's still wrong somehow | 15:10 |
|
| make this make sense | 15:10 |
| → OverlordDuck joined | 15:12 |
| ← OverlordDuck left | 15:12 |
|
selckin
| first you have to make sense | 15:12 |
| → skered joined | 15:12 |
|
B-|
| https://github.com/llvm/llvm-project/commit/c2aabcfc8395.patch | 15:13 |
|
| this changed the checksum somehow | 15:13 |
|
selckin
| why and compared to what | 15:13 |
|
B-|
| https://aur.archlinux.org/cgit/aur.git/commit/?h=clang15&id=c36e10c91559289b3264ab806a5d3ae6e5035b59 | 15:13 |
|
| link didn't change, checksum changed | 15:13 |
|
| isn't c2aabcfc8395 the commit hash | 15:14 |
|
| how can the patch file change but the commit hash part not | 15:14 |
|
selckin
| nothing you're saying makes any sense | 15:14 |
|
B-|
| what do you mean................... | 15:14 |
|
selckin
| how are those links proving anything | 15:14 |
| → delay joined | 15:14 |
|
B-|
| aur package maintainer had to update the checksum for the file at that link | 15:15 |
|
| i'm asking how it could have possibly changed | 15:15 |
|
selckin
| ah so the arch link is a checksum from the other link? | 15:15 |
|
B-|
| yes | 15:15 |
|
| checksum being updated | 15:15 |
| ← xdminsy left | 15:18 |
| ← delay left | 15:19 |
|
B-|
| selckin: i'll assume you were killed on the spot for noticing this | 15:22 |
|
selckin
| the current url doesn't even hash to either of those, ask the maintainer | 15:23 |
|
B-|
| 🙄 | 15:23 |
| ← fflam left | 15:27 |
| ← bluesmonk left | 15:29 |
| → fflam joined | 15:29 |
| ← mkosmo267 left | 15:30 |
| → bluesmonk joined | 15:30 |
| → BurningHuman joined | 15:34 |
| → stuv joined | 15:36 |
|
BurningHuman
| Hello everyone! Has anybody set up himself a plain git server at some time? | 15:37 |
|
selckin
| !gitolite | 15:37 |
|
gitinfo
| Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/ Quick example: http://gitolite.com/gitolite/overview/#basic-use-case | 15:37 |
|
BurningHuman
| Thanks for the link, but sadly it's dead | 15:38 |
| → epicout joined | 15:38 |
| ← epicout left | 15:38 |
| → epicout joined | 15:38 |
|
BurningHuman
| I actually don't want a server like that, I just literally want to have my laptop, the git user, and manually put in all the ssh key pairs. That's it. | 15:39 |
| → jmd joined | 15:39 |
|
BurningHuman
| It's for demonstration purposes and people should be able to just connect over ssh to the computer, copy in the public key and then be able to clone, pull push, from a bare repository lying around under the git user. | 15:39 |
| ← rfuentess left | 15:40 |
|
selckin
| that just works (tm), don't need anything special | 15:41 |
|
BurningHuman
| What I get wrong, or have problems with is the file structure in comparison to GitLab. There is the "git" user, from which we can issue push,pull, clone requests and unter it, as far as I understand it, there are the account names and their repositories lying in it. Or am I wrong? | 15:41 |
|
osse
| BurningHuman: If you want to do it manually you can just do it. There's very little magic to it. A dedicated user with a bunch of bare repos in its home dir | 15:41 |
|
| Everyone uses the same OS user on the server. The actual user is determined by which key is used | 15:42 |
|
BurningHuman
| Yes, but OS is not the concern here :). Currently my setup is like that, that the public keys are under /home/git/.ssh/authorized_keys. Anyone with the correct keypair has then ssh access to the computer over the "git" user. | 15:44 |
|
osse
| Perfect | 15:44 |
| → Mooncairn joined | 15:44 |
|
BurningHuman
| But since, there are other multiple computers which should get "accounts", just like in GitLab, I guess, their home directory is then under /home/git/USER/? | 15:44 |
|
| Because repositories in GitLab always start with: [email@hidden.address] | 15:45 |
|
| Or do I get something wrong? | 15:45 |
|
selckin
| thats just a convention gitlab enforces, you can name it anything you want | 15:45 |
|
BurningHuman
| Wait.. so I actually don't need all those extra accounts? I can just work with the one "git" user? | 15:46 |
|
selckin
| from what you said probably | 15:46 |
|
osse
| BurningHuman: Not sure it literally works like this, but you can at least model it as just a directiory hierarchy under the git user's HOME | 15:46 |
|
selckin
| unless you want to restrict access between users | 15:46 |
|
BurningHuman
| @selckin, I mean would be great to have more control over that, yes. But if I get multiple computers working with the very simple configuration, this should already be some kind of success :) | 15:48 |
|
selckin
| the multiple computers is very confusing what that means | 15:49 |
| ← robobub left | 15:49 |
|
BurningHuman
| Okey, so I have one Laptop. Where the sshd is running with the git user to be used. | 15:49 |
|
| Other Computers, so also laptops, should be able to connect to this one laptop over ssh and then use the git repositories | 15:50 |
|
selckin
| thats how ssh works yes | 15:50 |
|
B-|
| BurningHuman: https://wiki.archlinux.org/title/Git | 15:50 |
|
| everything's ez on arch | 15:51 |
|
BurningHuman
| I am on Arch ;) | 15:51 |
| ← MGF_Fabio left | 15:51 |
|
B-|
| epico | 15:52 |
|
BurningHuman
| I just was very confused with the pathing in comparison to GitLab, I tried to recreate the same behaviour | 15:52 |
|
| But, it seems like it is not really necessary | 15:52 |
|
B-|
| BurningHuman: can you even reach your puter from the internet | 15:52 |
|
BurningHuman
| Since I have a dynamic IP, not really | 15:52 |
|
B-|
| then you need to fix that somehow | 15:53 |
|
| also i think you literally just need an http server to make your git repo available | 15:53 |
|
BurningHuman
| 1. I don't want to, 2. I would have to pay my ISP more for that | 15:53 |
|
| you literally have to buy that thing | 15:53 |
|
B-|
| BurningHuman: you could proxy | 15:53 |
|
BurningHuman
| hm | 15:53 |
|
B-|
| ssh would make that twork | 15:54 |
| → AmR joined | 15:54 |
|
B-|
| > also i think you literally just need an http server to make your git repo available | 15:54 |
|
| no ssh or anything | 15:54 |
|
| unless you want people to write to it | 15:54 |
|
BurningHuman
| I actually want ssh in this case | 15:54 |
|
| This too | 15:54 |
|
B-|
| i don't see why this wouldn't be well documented on the arch wiki | 15:55 |
|
BurningHuman
| No no, it's fine there is no problem in that | 15:55 |
|
| The general goal here is, to have at least one repository on the server laptop, from where people can clonse/push/pull to/from. But this seems like an easy thing now since I don't need those path shenanigans :D | 15:57 |
|
B-|
| git@your-domain-or-maybe-ip-idk:repository.git | 15:59 |
|
| i imagine a git user on the system | 15:59 |
|
| and a repository.git bare git repo in ~/ | 15:59 |
|
| you would need port 22 accessible from the network | 16:00 |
|
| i assume you want it accessible from the internet | 16:00 |
|
BurningHuman
| Yes everything right, except the internet | 16:01 |
|
| local network | 16:02 |
|
| let me just test it first with this very simple approach, so I kind of get it all right :) | 16:02 |
|
B-|
| port forward, buy static ip, get a proxy server | 16:02 |
|
| etc etc etc | 16:02 |
|
| pick one solution | 16:02 |
|
| ipv6 is not an option i'll tell you rn | 16:02 |
|
BurningHuman
| Yes, I know, but I can just do it in my local network by typing in the 192.168.1.2 IP, that's enough | 16:03 |
|
B-|
| ok so you don't need access from the internet | 16:03 |
|
BurningHuman
| Yes, that's what I meant :) | 16:03 |
|
B-|
| oh my zoodness | 16:03 |
|
| your device still needs the ip to not change | 16:04 |
|
BurningHuman
| Yes | 16:04 |
|
B-|
| you may get lucky or you may need to change router config | 16:04 |
|
BurningHuman
| This laptop wont reboot for 3h, that's enough | 16:04 |
| ← iomari891 left | 16:04 |
|
B-|
| also i don't see why [email@hidden.address] wouldn't work | 16:04 |
|
BurningHuman
| I just tell the people my current local IP Address and that's fine | 16:04 |
|
| yea yea | 16:04 |
| ← epicout left | 16:05 |
|
B-|
| also i think git comes with a server already | 16:05 |
|
BurningHuman
| But there is one last thing, I cannot create repository on my computer and the kind of push it as a bare repository to the server? | 16:05 |
|
| yes it does | 16:05 |
|
B-|
| pgit /usr/lib/systemd/system/git-daemon.socket | 16:05 |
|
| git /usr/lib/systemd/system/git-daemon@.service | 16:05 |
|
BurningHuman
| I am actually not running it. Hm | 16:06 |
|
B-|
| BurningHuman: why not first try doing it locally, you can push to a local bare repo | 16:06 |
|
BurningHuman
| But the git-daemon uses the git protocol | 16:06 |
|
| not ssh | 16:06 |
|
B-|
| and then scp -p it over to the server | 16:06 |
|
BurningHuman
| Yes, but I would have to create the bare repository first on the server, right? | 16:07 |
|
B-|
| i said you can do it locally | 16:07 |
|
| and then copy each file verbatim over to the server with scp -p | 16:08 |
|
| scp -rp | 16:08 |
|
| then update the url on your normal repo to point to the server one | 16:08 |
|
| and delete local bare repo | 16:08 |
|
| i'm telling you this so you can test | 16:08 |
|
BurningHuman
| You mean, create the bare repository on the one laptop, scp it to the server, and then clone again basically? | 16:08 |
|
B-|
| i don't care nor do i know how you can do it another way | 16:09 |
|
| ~/repos/x-server-bare.git ~/repos/x | 16:09 |
|
| on your normal laptop | 16:09 |
|
BurningHuman
| The thing is, the user @git uses the git-shell, and not bash, so it's capabilites in accessing programs is limitted.. currently I have changed it to bash | 16:10 |
|
B-|
| i'm telling you that you can first test locally | 16:10 |
|
BurningHuman
| ooh okey | 16:10 |
|
B-|
| BurningHuman: just scp -pr with root | 16:10 |
|
| and then update with chown git:git | 16:10 |
| ← gloomy_desktop left | 16:10 |
|
B-|
| chown -R git:git ~git | 16:10 |
|
| or whatever | 16:11 |
| ← jab416171 left | 16:11 |
|
B-|
| i'd first look at what perms ~git has with ls -lhd ~git | 16:11 |
|
| just in case it's something quirky | 16:11 |
| → epicout joined | 16:13 |
| ← epicout left | 16:13 |
| → epicout joined | 16:13 |
|
BurningHuman
| That's what I did before, it just requires to be active on the server. | 16:13 |
|
| but wait.. I have an Idea | 16:13 |
| → jmjl joined | 16:13 |
| ← OnkelTem left | 16:14 |
| → haxalot joined | 16:16 |
| ← tirnanog left | 16:17 |
| → mud joined | 16:19 |
| → jab416171 joined | 16:20 |
| ← jab416171 left | 16:20 |
| → jab416171 joined | 16:20 |
| → pedahzur joined | 16:20 |
|
osse
| BurningHuman: https://freedns.afraid.org/ been using this for a long time works pretty well | 16:23 |
| → hdh joined | 16:24 |
|
osse
| Free subdomains | 16:24 |
| ← jab416171 left | 16:25 |
| ← pebble left | 16:28 |
| → pebble joined | 16:29 |
| → tirnanog joined | 16:29 |
|
BurningHuman
| Oh this is very cool! Thx! | 16:29 |
|
j416
| or, you know, cloudflare. | 16:30 |
| → PocketLagger joined | 16:30 |
| → jab416171 joined | 16:31 |
| ← PocketKiller left | 16:31 |
| → cdown_ joined | 16:33 |
| → AmR_ joined | 16:35 |
| ← cdown left | 16:36 |
| cdown_ → cdown | 16:36 |
| ← Alexey-Pelykh left | 16:38 |
| ← AmR left | 16:39 |
| ← tirnanog left | 16:42 |
|
osse
| how so? | 16:42 |
| ← specing left | 16:42 |
| → donofrio joined | 16:44 |
| ← gandhibobandhi_ left | 16:47 |
|
BurningHuman
| Okey! Good news! So, I just came to the conclusion I don't need the user git@, I just create as many users as I want, let the users ssh into the server and let them there create a bare git repository. When they are back on their laptops they can just clone from it directly | 16:47 |
| ← YuGiOhJCJ left | 16:49 |
| ← pebble left | 16:50 |
| ← peirik__ left | 16:51 |
| → peirik_ joined | 16:51 |
| ← DragonMaus left | 16:54 |
| → DragonMaus joined | 16:55 |
| → ferdna joined | 16:55 |
| ← otisolsen70 left | 17:00 |
| → skapata joined | 17:01 |
| ← thiago left | 17:01 |
| ← rsx left | 17:02 |
|
osse
| BurningHuman: That will work, but it can become burdensome to deal with FS permissions if the users want to push to another user's repo | 17:03 |
| → delay joined | 17:04 |
| ← shored left | 17:05 |
|
BurningHuman
| Yes, this is the next thing I will try | 17:06 |
|
| I just want to see how far I can go with this approach | 17:06 |
| ← ocra8 left | 17:09 |
| → hbautista_ joined | 17:09 |
| → shored joined | 17:09 |
| → ocra8 joined | 17:11 |
| ← Turn_Left left | 17:12 |
| ← jab416171 left | 17:15 |
| → jab416171 joined | 17:17 |
| ← jab416171 left | 17:22 |
| → peirik__ joined | 17:22 |
| ← donofrio left | 17:24 |
| → thiago joined | 17:25 |
| ← peirik_ left | 17:25 |
| → jab416171 joined | 17:26 |
| ← stuv left | 17:26 |
| → stuv joined | 17:27 |
| ← jenia2`` left | 17:32 |
| → pebble joined | 17:34 |
| ← jab416171 left | 17:36 |
| ← delay left | 17:36 |
| → jab416171 joined | 17:41 |
| AmR_ → AmR | 17:41 |
| ← jab416171 left | 17:46 |
| → jab416171 joined | 17:46 |
| → delay joined | 17:48 |
| → hbautista__ joined | 17:49 |
| → newpy joined | 17:50 |
| → donofrio joined | 17:50 |
| ← hbautista_ left | 17:51 |
| ← delay left | 17:53 |
| ← becm left | 17:58 |
| → ocra8_ joined | 18:00 |
| ← AmR left | 18:01 |
| ← ocra8 left | 18:03 |
| ← pebble left | 18:08 |
| → AmR joined | 18:10 |
| → wootehfoot joined | 18:15 |
| ← epicout left | 18:27 |
| → iomari891 joined | 18:30 |
| ← B-| left | 18:30 |
| ← jab416171 left | 18:31 |
| → epicout joined | 18:32 |
| ← epicout left | 18:32 |
| → epicout joined | 18:32 |
| ← tomboy64 left | 18:35 |
| → jab416171 joined | 18:37 |
| ← peirik__ left | 18:41 |
| → delay joined | 18:41 |
| ← delay left | 18:41 |
| → peirik_ joined | 18:41 |
| → tomboy64 joined | 18:44 |
| ← tomboy64 left | 18:45 |
| → tomboy64 joined | 18:46 |
| ← hdh left | 18:47 |
| → peirik__ joined | 18:50 |
| ← AmR left | 18:51 |
| → peirik___ joined | 18:51 |
| ← peirik_ left | 18:52 |
| ← peirik___ left | 18:53 |
| → peirik_ joined | 18:54 |
| ← peirik_ left | 18:55 |
| → hdh joined | 18:55 |
| → peirik_ joined | 18:55 |
| ← peirik__ left | 18:56 |
| → jamiejackson joined | 18:56 |
| ← iomari891 left | 19:00 |
| → AmR joined | 19:07 |
| ← hbautista__ left | 19:09 |
| → TomyLobo joined | 19:17 |
| → hbautista__ joined | 19:21 |
| → jinsun joined | 19:22 |
| ← hbautista__ left | 19:26 |
|
BurningHuman
| So individual repositories for each user works perfectly now, now I try to have a shared repository where for example two users can clone,pull and push to/from. | 19:31 |
|
| I have now created a directory under /shared/sharedtest, where sharedtest is a basre repository created by "user1". Access rights to all files look like this: "drwxrwx--- 3 root sharedgit", where user1 and user2 are withing the sharedgit group. So far so good | 19:32 |
|
| cloning with user1 is without any problems | 19:32 |
|
| but with user2 it get this error: fatal: detected dubious ownership in repository at '/shared/sharedtest' | 19:33 |
|
| Do you guys know how to solve this properly? | 19:33 |
|
| Oh yea, and the repository is of course owned by "user1" and not root. | 19:34 |
| ← jmd left | 19:37 |
| → specing joined | 19:37 |
| ← henry40408 left | 19:44 |
| ← CrunchyFlakes left | 19:44 |
| → henry40408 joined | 19:44 |
| → ferdna_ joined | 19:46 |
| → CrunchyFlakes joined | 19:46 |
| ← ferdna left | 19:47 |
| → jenia2`` joined | 19:47 |
| → currenthandle joined | 19:53 |
| fossdd_ → fossdd | 19:57 |
| ← davispuh left | 20:08 |
| → peirik__ joined | 20:09 |
| ← donofrio left | 20:09 |
| ← ferdna_ left | 20:11 |
| ← lucasta left | 20:11 |
| ← jenia2`` left | 20:15 |
| ← benaldo left | 20:17 |
| → benaldo joined | 20:18 |
| → jenia2`` joined | 20:19 |
| ← dmj` left | 20:21 |
|
BurningHuman
| Someone here? | 20:24 |
|
mefistofeles
| nope | 20:24 |
|
BurningHuman
| A damn it | 20:24 |
| ← BurningHuman left | 20:27 |
| → BurningHuman joined | 20:30 |
|
BurningHuman
| Heyo has somebody ever done a plain git repository in a network where mutliple users can have access to it? Even though other users have access to the directory and files, they cannot clone or push/pull from it. Is there anything I am missing? | 20:31 |
| ← TomyLobo left | 20:33 |
| → hbautista__ joined | 20:35 |
|
BtbN
| you mean like a repo on a samba/nfs share, and people want to commit? | 20:35 |
|
| for git, those are all one user, and it'll be messy | 20:35 |
|
| much better to not do that | 20:35 |
|
BurningHuman
| No No not like this | 20:36 |
|
| Simply, one simple linux server | 20:37 |
|
| where under /shared/repository.git is a repository that users of a specific group have access to | 20:37 |
| ← hbautista__ left | 20:37 |
|
BurningHuman
| No webbrowser, just plain git command line stuff | 20:37 |
|
| and ssh | 20:37 |
| → hbautista__ joined | 20:38 |
|
weaksauce
| BurningHuman https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server | 20:40 |
|
BtbN
| That's the normal way of doing that, and how basically everyone does it | 20:40 |
|
weaksauce
| you read through that? | 20:40 |
| → MrCryo joined | 20:43 |
|
BurningHuman
| Yes I have | 20:54 |
| → Crispy joined | 20:57 |
| ← peirik__ left | 20:59 |
| → donofrio joined | 21:00 |
| ← MrCryo left | 21:01 |
| ← tec left | 21:06 |
| → tec joined | 21:06 |
| ← wootehfoot left | 21:08 |
| ← donofrio left | 21:18 |
| → m0viefreak joined | 21:19 |
| ← jamiejackson left | 21:24 |
| → Turn_Left joined | 21:27 |
| ← AmR left | 21:28 |
| ← pedahzur left | 21:28 |
| → gast0n joined | 21:29 |
| ← jenia2`` left | 21:29 |
| → ash_worksi joined | 21:30 |
|
ash_worksi
| suppose I have commits with 1 letter hashes from a..h | 21:31 |
|
BtbN
| h? | 21:32 |
|
ash_worksi
| if I `git diff d h` I would think that would be the differences between file systems on d and file systems on h | 21:32 |
| ← konsolebox left | 21:32 |
|
ash_worksi
| BtbN: it's jsut a random letter in the middlish of the alphabet | 21:32 |
|
BtbN
| It's not a valid hash though | 21:33 |
|
| and yes, that command will generate a diff/patch to get from d to "h" | 21:33 |
|
ash_worksi
| BtbN: oh right, sorry, yes I am just thinking of the little git tutor which I thought were one letter commits | 21:34 |
| → pebble joined | 21:35 |
|
ash_worksi
| anyway, so, the reason I'm doing this is because 2 servers are not in sync | 21:36 |
|
| which I will simply call node1 and node2 | 21:37 |
| → antranigv joined | 21:37 |
|
ash_worksi
| anyway so when I rev-parse node1, it reports "h" (:P) | 21:37 |
|
| when I rev-parse node2 it reports "d" | 21:37 |
| ← hbautista__ left | 21:38 |
|
ash_worksi
| and when I look at the history for node1, it shows that it does indeed contain a "d" commit | 21:38 |
|
BtbN
| So, push the missing stuff to it? | 21:38 |
|
ash_worksi
| BtbN: well, I am trying to see if there's anything that could potentially conflict with how node2 is currently operating before I push, but the point is I seem to be missing something about the diff | 21:39 |
|
BtbN
| Unless something got really messed up, if it's just missing the latest commits, just push them | 21:40 |
|
ash_worksi
| because when I `git diff d h` it shows changes to a particular file, when I use `tig` to look at the history of the file on node2, the latest commit is the same changes that were reflected in my diff | 21:40 |
|
BtbN
| If the two nodes diverged in history, that won't work though, unless you just discard one half of it | 21:40 |
|
ash_worksi
| my point is, it's weird that that would show up | 21:41 |
|
| so I seem to be missing something | 21:41 |
|
BtbN
| I don't understand what's weird | 21:41 |
|
| It's just two instances of the same git repo, and one is older than the other? | 21:41 |
| ← thuna` left | 21:43 |
| ← currenthandle left | 21:51 |
| → Left_Turn joined | 21:53 |
| ← Turn_Left left | 21:56 |
| → Turn_Left joined | 21:56 |
| ← haxalot left | 21:58 |
| → currenthandle joined | 21:59 |
| ← Left_Turn left | 22:00 |
| → Left_Turn joined | 22:01 |
| → epicout_ joined | 22:01 |
| ← Turn_Left left | 22:02 |
|
BurningHuman
| Is there a way to tell in the .git files which branches it should protect, so that only one user can merge and push branches to the main? Or is that the part where the actual "gitserver" takes over? | 22:05 |
| ← epicout left | 22:05 |
| → Turn_Left joined | 22:05 |
|
BtbN
| That's done via hook scripts or even higher level stuff | 22:07 |
|
| git itself has no concept of branch protection | 22:07 |
|
BurningHuman
| aaah okey thx! | 22:08 |
|
| I just had a misconception how I should handle multiple users, but since it is so "prmitive", it's okey for now. I'll what I can do next | 22:09 |
| ← ajfriesen1 left | 22:09 |
| ← Left_Turn left | 22:09 |
| → ajfriesen1 joined | 22:09 |
|
ash_worksi
| can I set tig variables from within tig? | 22:10 |
| → systemdlete joined | 22:19 |
| → cdown_ joined | 22:20 |
| ← cdown left | 22:23 |
| cdown_ → cdown | 22:23 |
| ← capn left | 22:25 |
| → AmR joined | 22:26 |
| ← epicout_ left | 22:26 |
| ← stef204 left | 22:28 |
| ← aYS1 left | 22:29 |
| → haxalot joined | 22:32 |
|
intelfx
| I'm not entirely sure but perhaps this should be better asked in tig channel or issue tracker? | 22:32 |
| ← thiago left | 22:34 |
|
intelfx
| but to answer your question, if you mean the built-in configuration variables, they can be changed à la Vim with ":set", like so: ":set tab-size = 8" (all spaces are significant) | 22:37 |
|
| if you mean the state variables (e.g. "%(commit)"), they reflect the UI state and cannot be set | 22:37 |
|
| in either case, there are no user-defined variables in tig | 22:38 |
|
| ash_worksi: ^ | 22:38 |
| ← firewyre left | 22:40 |
|
ash_worksi
| intelfx: it's incredibly frustrating, and I don't see anything on github about it, nor is there really a #tig channel... | 22:43 |
|
intelfx
| there's gitter channel I think? it is pretty dormant though, but fwiw I'm on it :-) | 22:43 |
|
ash_worksi
| k, I'll jump into that | 22:44 |
| ← Turn_Left left | 22:45 |
|
ash_worksi
| intelfx: I haven't used gitter in awhile... how do I add tig? | 22:45 |
|
| oh wait, I see it | 22:45 |
|
| it just took a long time to show up, its jonas/tig right? | 22:45 |
|
| you use @ on gitter right? | 22:47 |
|
intelfx
| yes it's jonas/tig, it's always equal to the name of the repo on github (which was the point of gitter :-)) | 22:50 |
| → jensen joined | 22:57 |
| → so-offish joined | 23:00 |
| ← jensen left | 23:03 |
| ← BurningHuman left | 23:05 |
| → user_____ joined | 23:06 |
| → BurningHuman joined | 23:06 |
| ← BurningHuman left | 23:07 |
| ← weaksauce left | 23:08 |
| → ferdna joined | 23:09 |
| ← user_____ left | 23:10 |
| → user_____ joined | 23:10 |
| → jensen joined | 23:11 |
| → guardianxxx joined | 23:13 |
| ← Dotz0cat left | 23:16 |
| → Dotz0cat joined | 23:17 |
| → weaksauce joined | 23:23 |
| → BurningHuman joined | 23:23 |
| → pedahzur joined | 23:26 |
| ← travisghansen left | 23:29 |
| → travisghansen joined | 23:30 |
| ← user_____ left | 23:30 |
| ← rigid left | 23:34 |
| → rigid joined | 23:35 |
| → euouae joined | 23:36 |
|
euouae
| Hello I have a website template in a git project | 23:36 |
|
| I'm wondering if it is a good idea to script git to have the 'web' tag or branch automatically build the website and serve it? | 23:36 |
|
| and if that is something that sounds reasonable, how do I do it? | 23:37 |
|
| the idea would be that I can update my website by updating the tag/branch on the server | 23:37 |
| → rsx joined | 23:38 |
| ← rsx left | 23:38 |
| → lucasta joined | 23:40 |
| → thiago joined | 23:40 |
| ← jab416171 left | 23:41 |
| → jab416171 joined | 23:42 |
| ← Lord_of_Life left | 23:42 |
| → Lord_of_Life joined | 23:43 |
| ← BurningHuman left | 23:43 |
| ← CrunchyFlakes left | 23:44 |
| → CrunchyFlakes joined | 23:46 |
|
aninternettroll
| That's exactly how github pages works (depending on the configuration) | 23:48 |
|
euouae
| how do they do it then? | 23:49 |
|
aninternettroll
| https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-from-a-branch | 23:51 |
|
| Overly simplified you push the compiled static pages to a branch and github puts them on their servers | 23:52 |
|
euouae
| I'm not asking for how to do it on GH, I'm asking how GH does it | 23:52 |
|
| This is about git, not github | 23:52 |
|
| how do you trigger an action on git when branch/tag changes? | 23:52 |
|
aninternettroll
| Github doesn't use git the same way you do. They have custom servers that hook into the push process and trigger what they have to trigger with those. For all intents and purposes it's magic | 23:53 |
|
| though I guess git has the update hook | 23:54 |