| 2021-03-30 |
| ← monk12 left | 00:01 |
| → gry joined | 00:04 |
| ← thisismo left | 00:04 |
|
gry
| can git push to a repo via sftp, without ssh? | 00:05 |
| qpdb → Guest7928 | 00:09 |
| ← Guest7928 left | 00:09 |
| → qpdb joined | 00:09 |
| ← thebope left | 00:15 |
| ← tiin57 left | 00:16 |
| ← oriba left | 00:16 |
|
mackerman
| gry: Not natively. You could git bundle into an archive, upload that, then on the other host unbundle and fetch | 00:16 |
|
gry
| ok | 00:17 |
| → Dotz0cat_ joined | 00:17 |
| ← Dotz0cat left | 00:18 |
| → tiin57 joined | 00:19 |
| → arcatech joined | 00:19 |
| → redcaptrickster joined | 00:20 |
| → ferdna joined | 00:21 |
| → kiweun joined | 00:23 |
| ← arcatech left | 00:24 |
| → twb joined | 00:26 |
| ← rewrited left | 00:27 |
| ← fission6 left | 00:29 |
| ← SebastianFlyte left | 00:39 |
| ← gearnode left | 00:41 |
| ← luke-jr left | 00:42 |
| → krofe joined | 00:43 |
| → SebastianFlyte joined | 00:44 |
| ← redcaptrickster left | 00:45 |
| ← tiin57 left | 00:46 |
| → luke-jr joined | 00:47 |
| ← leprechau left | 00:47 |
| → arcatech joined | 00:47 |
| ← random_yanek left | 00:48 |
| ← kupi left | 00:48 |
| → tiin57 joined | 00:49 |
| → jstimm joined | 00:51 |
| ← arcatech left | 00:52 |
| ← shush left | 00:52 |
| → nabil__ joined | 00:55 |
| → leprechau joined | 00:55 |
| ← Xenguy left | 00:56 |
| → Xenguy joined | 00:57 |
| ← nabil_ left | 00:58 |
| → random_yanek joined | 00:59 |
| ← PJBoy left | 01:00 |
| → nabil joined | 01:00 |
| ← nabil__ left | 01:00 |
| ← cyrus_mc_ left | 01:01 |
| ← stats4647 left | 01:01 |
| ← gast0n left | 01:10 |
| ← blyat-73 left | 01:12 |
| → gast0n joined | 01:13 |
| → nabil_ joined | 01:13 |
| ← cdown left | 01:13 |
| → BSaboia joined | 01:16 |
| ← tiin57 left | 01:16 |
| ← nabil left | 01:16 |
| → hussam joined | 01:16 |
| → dka joined | 01:16 |
| ← nabil_ left | 01:17 |
| ← irc_user left | 01:18 |
| → nabil joined | 01:18 |
| ← mowcat left | 01:19 |
| → tiin57 joined | 01:19 |
| ← Seveas_ left | 01:22 |
| → Seveas joined | 01:23 |
| ← BSaboia left | 01:25 |
| ← crose left | 01:27 |
| ← jstimm left | 01:29 |
| ← fax left | 01:33 |
| → nsc_ joined | 01:39 |
| ← CryptoClub left | 01:39 |
| ← SebastianFlyte left | 01:40 |
| → CryptoClub joined | 01:41 |
| ← nsc left | 01:42 |
| → SebastianFlyte joined | 01:44 |
| → Muimi joined | 01:46 |
| ← tiin57 left | 01:46 |
| → tiin57 joined | 01:49 |
| ← jesusJesse left | 01:54 |
| ← mar77i left | 01:54 |
| → jesusJesse joined | 01:54 |
| → skyikot joined | 01:58 |
| ← Aquazi left | 01:59 |
| ← jstein left | 02:00 |
| ← zebrag left | 02:02 |
| → FinnElija joined | 02:05 |
| finn_elija → Guest26053 | 02:05 |
| FinnElija → finn_elija | 02:05 |
| → vicfred_ joined | 02:06 |
| ← vicfred left | 02:06 |
| → hd1 joined | 02:07 |
|
hd1
| can I run a pre-push hook only on a given remote? | 02:07 |
|
| rather, how can I do this? | 02:07 |
| ← Guest26053 left | 02:08 |
| ← fercell left | 02:12 |
| → thomas_2_ joined | 02:12 |
| → fercell joined | 02:12 |
| ← thomas_25 left | 02:13 |
| ← tiin57 left | 02:16 |
| → tiin57 joined | 02:19 |
| → nabil_ joined | 02:19 |
| → drbean_ joined | 02:21 |
| ← nabil left | 02:22 |
| ← danielcg left | 02:24 |
| → danielcg joined | 02:28 |
| → nabil__ joined | 02:29 |
| ← nabil_ left | 02:32 |
| ← vicfred_ left | 02:33 |
| ← SebastianFlyte left | 02:39 |
| → SebastianFlyte joined | 02:44 |
| ← tiin57 left | 02:45 |
| → Goplat joined | 02:47 |
| → tiin57 joined | 02:49 |
| ← yrzr95508257854 left | 02:50 |
| → yrzr95508257854 joined | 02:51 |
| ← kjartan left | 02:52 |
| ← yrzr95508257854 left | 02:53 |
| ← pac1 left | 02:54 |
| → kjartan joined | 02:54 |
| → yrzr95508257854 joined | 02:55 |
| ← mindCrime_ left | 02:57 |
| → c4017 joined | 02:59 |
| ← AlpineLlama left | 03:00 |
| → AlpineLlama joined | 03:02 |
| ← shailangsa left | 03:02 |
| ← EvanCarroll left | 03:03 |
| ← hussam left | 03:03 |
| ← rustyshackleford left | 03:13 |
| ← causasui left | 03:15 |
| ← tiin57 left | 03:16 |
| → thisismo joined | 03:17 |
| → tiin57 joined | 03:19 |
| → shailangsa joined | 03:20 |
| ← lucasb left | 03:20 |
| ← Xenguy left | 03:24 |
| ← skyikot left | 03:24 |
| ← haritz left | 03:33 |
| ← n3wborn left | 03:33 |
| → mindCrime_ joined | 03:33 |
| ← AnAverageHuman left | 03:35 |
| ← vorona left | 03:38 |
| ← SebastianFlyte left | 03:39 |
| → AnAverageHuman joined | 03:42 |
| ← LuxuryMode left | 03:42 |
| ← leprechau left | 03:43 |
| → SebastianFlyte joined | 03:44 |
| ← hidedagger left | 03:45 |
| ← tiin57 left | 03:45 |
| → leprechau joined | 03:49 |
| → tiin57 joined | 03:49 |
| ← Wetmelon left | 03:51 |
| → Nitrousoxide joined | 03:55 |
| → fahadash joined | 03:59 |
| → LuxuryMode joined | 04:00 |
| ← mindCrime_ left | 04:02 |
| → arcatech joined | 04:13 |
| → Guest20 joined | 04:15 |
| ← tiin57 left | 04:16 |
| ← howdoi left | 04:16 |
| → tiin57 joined | 04:19 |
| ← arcatech left | 04:19 |
| → FH_thecat joined | 04:23 |
| ← yrzr95508257854 left | 04:27 |
| → yrzr95508257854 joined | 04:28 |
| ← SebastianFlyte left | 04:39 |
| ← long4mud left | 04:41 |
| → nabil_ joined | 04:43 |
| → long4mud joined | 04:43 |
| ← Dotz0cat_ left | 04:43 |
| → Dotz0cat joined | 04:44 |
| → SebastianFlyte joined | 04:44 |
| ← nabil__ left | 04:45 |
| ← tiin57 left | 04:45 |
| → mindCrime_ joined | 04:47 |
| → tiin57 joined | 04:49 |
| ← madewokherd left | 04:49 |
| → samjq893 joined | 04:49 |
| ← thiago left | 04:55 |
| ← mindCrime_ left | 04:58 |
| → thisismo1 joined | 04:59 |
| → ilmostro joined | 05:04 |
| → atharvaraykar joined | 05:06 |
| eb0t_ → eblip | 05:08 |
| ← hd1 left | 05:08 |
| ← kiweun left | 05:10 |
| ← AnAverageHuman left | 05:15 |
| ← tiin57 left | 05:15 |
|
ikke
| I don't think there is a way | 05:18 |
|
| oh,gone | 05:18 |
| ← samjq893 left | 05:19 |
| → samjq893 joined | 05:19 |
| → tiin57 joined | 05:19 |
| ← samjq893 left | 05:19 |
| ← xissburg left | 05:21 |
| ← gast0n left | 05:22 |
|
twb
| wouldn't you patch the hook script to test some variable | 05:23 |
|
| if $destination != github; exit; fi | 05:23 |
|
ikke
| How to get $destination? | 05:24 |
|
| you only get the local ref, the remote ref and the hash | 05:25 |
|
| refs/heads/master 67890 refs/heads/foreign 12345 | 05:25 |
|
| oh, I missed | 05:26 |
|
| it does get the name of the remote through args | 05:26 |
|
| then yes | 05:26 |
|
twb
| ikke: last time I looked at hooks (a long time ago) there was a bunch of crap in environment | 05:29 |
| ← gry left | 05:29 |
|
twb
| ikke: never mind, you answered your own question :-) | 05:29 |
| → Metalsutton joined | 05:30 |
|
twb
| Is there something I can set in ~/.gitconfig so that all new git metadata is validated as being well-formed UTF-8? | 05:37 |
|
| I am sick of crap like https://github.com/torvalds/linux/commit/12e66f6573be breaking my statistics scripts | 05:38 |
| gigasu_shida → gigas_cedar | 05:38 |
| ← SebastianFlyte left | 05:39 |
|
twb
| Obviously I can't fix historical commits, but if I can catch commits early, I can go yell at people and make them fix their dotfiles before it's too late | 05:39 |
| ← cliluw left | 05:40 |
| → cliluw joined | 05:40 |
|
ikke
| what is wrong with that commit? | 05:43 |
| → SebastianFlyte joined | 05:44 |
| → jaziz joined | 05:45 |
| ← tiin57 left | 05:46 |
|
twb
| ikke: it's in ISO-8859-1 | 05:46 |
|
| I don't mean the changes to the file, I mean the commit author | 05:47 |
| ← long4mud left | 05:47 |
|
twb
| a straightforward test is "git show 12e66f6573be | iconv" (or iconv --from utf-8 --to utf-8, if your environment is weird) | 05:48 |
| → sord937 joined | 05:49 |
| → long4mud joined | 05:49 |
| → tiin57 joined | 05:49 |
| → n3wborn joined | 05:50 |
| ← durham_ left | 05:51 |
| ← Guest20 left | 05:52 |
| ← cliluw left | 05:54 |
| → cliluw joined | 05:54 |
| ← cliluw left | 06:00 |
| → cliluw joined | 06:00 |
| ← jesusJesse left | 06:02 |
| ← dmvrtx left | 06:08 |
| → dmvrtx joined | 06:09 |
| → rcoote joined | 06:13 |
| → rfuentess joined | 06:15 |
| ← tiin57 left | 06:16 |
| → tiin57 joined | 06:19 |
| → nabil__ joined | 06:21 |
| → Repox joined | 06:21 |
| → shabius joined | 06:22 |
| ← nabil_ left | 06:24 |
| → Marvin75 joined | 06:24 |
| ← thisismo1 left | 06:26 |
| ← thisismo left | 06:26 |
| ← Hello71 left | 06:29 |
| ← hololeap left | 06:29 |
| → Hello71 joined | 06:30 |
| → LetoThe2nd joined | 06:30 |
| ← Goplat left | 06:33 |
| → meropyri- joined | 06:36 |
| → wgrant joined | 06:37 |
| ← meropyri left | 06:37 |
| meropyri- → meropyri | 06:37 |
| ← SebastianFlyte left | 06:39 |
| → rsx joined | 06:42 |
| → SebastianFlyte joined | 06:44 |
| ← tiin57 left | 06:45 |
| ← Repox left | 06:48 |
| → tiin57 joined | 06:49 |
| → kiweun joined | 06:50 |
| ← cliluw left | 06:54 |
| ← kiweun left | 06:55 |
| → KnoP joined | 06:55 |
| ← LuxuryMode left | 07:02 |
| ← unluckyshrubbery left | 07:03 |
| → chele joined | 07:12 |
| → olx69 joined | 07:15 |
| ← tiin57 left | 07:15 |
| ← alex88 left | 07:17 |
| → alex88 joined | 07:17 |
| → kadoban__ joined | 07:17 |
| → noidea joined | 07:19 |
| → tiin57 joined | 07:19 |
| → Lord_of_Life joined | 07:22 |
| → Guest20 joined | 07:24 |
| ← pcarphin left | 07:24 |
| → sebas057 joined | 07:24 |
| → mr_francois3 joined | 07:24 |
| → sagagnon40 joined | 07:24 |
| → pcarphin joined | 07:24 |
| ← krofe left | 07:24 |
| → oxymoron93 joined | 07:25 |
| ← mr_francois left | 07:25 |
| ← sagagnon4 left | 07:25 |
| ← sebas05 left | 07:25 |
| → amahl joined | 07:31 |
| → TomyWork joined | 07:33 |
| ← nsh left | 07:36 |
| → Haohmaru joined | 07:36 |
| → nsh joined | 07:38 |
| ← SebastianFlyte left | 07:39 |
| ← nsh left | 07:40 |
| → jarodit joined | 07:40 |
| → elSueco3 joined | 07:42 |
| → tgunr_ joined | 07:43 |
| → nashimus_ joined | 07:43 |
| → chrisml` joined | 07:43 |
| → dpl- joined | 07:43 |
| → canton7_ joined | 07:44 |
| ← Xiti left | 07:44 |
| → shored1 joined | 07:44 |
| → kshockey joined | 07:44 |
| ← kshockey left | 07:44 |
| → kshockey joined | 07:44 |
| → SebastianFlyte joined | 07:44 |
| → ddevault_ joined | 07:45 |
| → waveclaw_ joined | 07:45 |
| → test joined | 07:45 |
| ← tiin57 left | 07:45 |
| test → Guest94470 | 07:46 |
| ← nashimus left | 07:46 |
| ← tgunr left | 07:46 |
| → nsh joined | 07:47 |
| ← nsh left | 07:47 |
| ← cbreak left | 07:47 |
| canton7_ → canton7 | 07:47 |
| ← ddevault left | 07:47 |
| ← fibo_mach left | 07:47 |
| ← meLon left | 07:47 |
| ← elSueco left | 07:47 |
| ← kevr left | 07:47 |
| ← mu left | 07:47 |
| elSueco3 → elSueco | 07:47 |
| ddevault_ → ddevault | 07:47 |
| → kevr` joined | 07:47 |
| → cbreak joined | 07:47 |
| → meLon joined | 07:47 |
| → fibo_mach joined | 07:48 |
| ← anddam left | 07:48 |
| ← wgrant left | 07:49 |
| → tiin57 joined | 07:49 |
| → nsh joined | 07:49 |
| → mu joined | 07:50 |
| ← jarodit left | 07:51 |
| → manjaroi3 joined | 07:51 |
| ← pcarphin left | 07:56 |
| ← sebas057 left | 07:56 |
| ← sagagnon40 left | 07:56 |
| ← mr_francois3 left | 07:56 |
| → sagagnon40 joined | 07:56 |
| → sebas057 joined | 07:56 |
| → pcarphin joined | 07:56 |
| ← Guest20 left | 07:56 |
| → mr_francois3 joined | 07:56 |
| kevr` → kevr | 07:57 |
| → mobidrop_ joined | 08:01 |
| → mar77i joined | 08:01 |
| → nabil_ joined | 08:02 |
| ← mobidrop left | 08:03 |
| ← nabil__ left | 08:04 |
| ← mar77i left | 08:05 |
| ← cd left | 08:06 |
| → _flow_ joined | 08:06 |
| → vingel joined | 08:06 |
| ← vingel left | 08:07 |
| ← k3yp left | 08:08 |
| → Guest20 joined | 08:09 |
| → jarodit joined | 08:10 |
| ← jarodit left | 08:12 |
| → jarodit joined | 08:12 |
| ← manjaroi3 left | 08:13 |
| ← jarodit left | 08:13 |
| → jarodit joined | 08:13 |
| ← nsh left | 08:14 |
| → hinderaker joined | 08:14 |
| → haymawk joined | 08:14 |
| ← cbreak left | 08:14 |
| → cbreak joined | 08:14 |
| ← jarodit left | 08:14 |
| ← natechan left | 08:14 |
| → jarodit joined | 08:14 |
| → anddam joined | 08:15 |
| ← tiin57 left | 08:16 |
| → natechan joined | 08:16 |
| → agio joined | 08:17 |
| → jaroditi joined | 08:17 |
| ← jarodit left | 08:17 |
| ← jaroditi left | 08:17 |
| → z8z joined | 08:18 |
| → Muimi_ joined | 08:18 |
| ← Muimi_ left | 08:18 |
| → nsh joined | 08:18 |
| → jesseTree joined | 08:18 |
| → Muimi_ joined | 08:18 |
| ← Muimi_ left | 08:18 |
| → tiin57 joined | 08:19 |
| ← Muimi left | 08:21 |
| → nabil__ joined | 08:26 |
| → Aquazi joined | 08:27 |
| ← nabil_ left | 08:29 |
| → nabil_ joined | 08:29 |
| ← nabil_ left | 08:30 |
| → nabil_ joined | 08:30 |
| ← mat001 left | 08:32 |
| ← nabil__ left | 08:32 |
| ← rfuentess left | 08:35 |
| → wgrant joined | 08:38 |
| ← SebastianFlyte left | 08:39 |
| ← drbean_ left | 08:41 |
| ← ferdna left | 08:42 |
| ← terabyte left | 08:42 |
| → nabil joined | 08:43 |
| ← Metalsutton left | 08:43 |
| → SebastianFlyte joined | 08:45 |
| ← nabil_ left | 08:45 |
| ← tiin57 left | 08:45 |
| → gearnode joined | 08:48 |
| → unluckyshrubbery joined | 08:51 |
| ← z8z left | 08:51 |
| → tiin57 joined | 08:51 |
| → jaggz joined | 08:53 |
|
jaggz
| can I have git sudo when it gets to a remote host to clone/pull? | 08:53 |
|
| I have a repo owned by root but need to ssh in as a normal user first | 08:54 |
| ← Marvin75 left | 08:54 |
| → z8z joined | 08:55 |
|
henk
| maybe you can do something with ssh’s -J/ProxyJump | 08:58 |
| → PJBoy joined | 09:01 |
|
twb
| -J can't run sudo, although in principle ProxyCommand could | 09:07 |
|
| What you want is the equivalent of rsync --rsync-path='sudo nice rsync' | 09:08 |
|
| You could also do this with a force command, if you're prepared to use a separate certificate for git's SSH | 09:09 |
| ← gigas_cedar left | 09:10 |
|
twb
| "man git remote-helpers" looks relevant, if you want something like ssh+sudo://alice@example.com/etc/.git | 09:11 |
|
gitinfo
| the git-remote-helpers manpage is available at https://gitirc.eu/git-remote-helpers.html | 09:11 |
| ← danielcg left | 09:12 |
| → john_johnk joined | 09:12 |
|
jaggz
| hmm | 09:14 |
|
| I'd want to keep the setup simple. I think I should just move that repo into the user's dir and have root access that one | 09:15 |
| ← tiin57 left | 09:15 |
|
jaggz
| (it's my server setup scripts, in a repo, which need to be run by root.. so I just created the repo as root.. but I can do it as a normal user and root use it, or the normal user sudo to run the scripts) | 09:15 |
| ← hnOsmium0001 left | 09:15 |
|
jaggz
| thanks homies | 09:15 |
|
| someone teach me the new slang | 09:16 |
|
twb
| jaggz: is this for etckeeper? | 09:16 |
|
| oh it's reinvented ansible | 09:16 |
| ← Rhonda left | 09:19 |
| → tiin57 joined | 09:19 |
| → Rhonda joined | 09:20 |
| ← Nitrousoxide left | 09:21 |
| ← atharvaraykar left | 09:23 |
| → nee joined | 09:24 |
|
jaggz
| twb, hm? nah, unfortunately I'm not familiar with any of that stuff yet | 09:25 |
| ← dsrt^ left | 09:25 |
|
jaggz
| so it was just some bash scripts | 09:25 |
|
twb
| jaggz: if you do a nontrivial amoutn of that I recommend ansible, or puppet, or salt | 09:25 |
| ← mobidrop_ left | 09:26 |
| → onizu joined | 09:26 |
|
jaggz
| twb, trying to get there, yeah. would like to be able to set up nodes in an automated (or at least turnkey) way | 09:28 |
|
| looking into those options now, thanks a bunch | 09:28 |
| ← z8z left | 09:30 |
| ← jetchisel left | 09:33 |
| ← zdravko61 left | 09:33 |
| → bolovanos joined | 09:35 |
| → atharvaraykar joined | 09:36 |
| → calcul0n_ joined | 09:39 |
| ← SebastianFlyte left | 09:39 |
| ← atharvaraykar left | 09:41 |
| → SebastianFlyte joined | 09:44 |
| ← tiin57 left | 09:46 |
| → macaronus joined | 09:48 |
| → tiin57 joined | 09:48 |
| → lungaro_ joined | 09:53 |
| → flying_sausages joined | 09:53 |
| ← lungaro left | 09:54 |
| → atharvaraykar joined | 09:55 |
| ← FH_thecat left | 09:58 |
| → FH_thecat joined | 09:59 |
| ← atharvaraykar left | 09:59 |
| → theoceaniscool joined | 09:59 |
| ← CryptoClub left | 10:01 |
| → CryptoClub joined | 10:02 |
| ← Guest98829 left | 10:03 |
| → atharvaraykar joined | 10:03 |
| → TheMeltdown joined | 10:03 |
| TheMeltdown → Guest84395 | 10:03 |
| ← igemnace left | 10:07 |
| ← FH_thecat left | 10:08 |
| → calcul0n__ joined | 10:10 |
| ← calcul0n_ left | 10:12 |
| ← tiin57 left | 10:16 |
| → wallacer joined | 10:17 |
| ← wallacer left | 10:17 |
| → wallacer joined | 10:17 |
| ← wallacer left | 10:17 |
| ← macaronus left | 10:19 |
| → pastucci joined | 10:19 |
| → tiin57 joined | 10:19 |
| ← pastucci left | 10:23 |
| ← Betal left | 10:24 |
| → macaronus joined | 10:25 |
| → pastucci joined | 10:26 |
| ← macaronus left | 10:26 |
| ← twb left | 10:31 |
| → jimmiehansson joined | 10:34 |
| ← SebastianFlyte left | 10:39 |
| → royal_screwup21 joined | 10:40 |
| → SebastianFlyte joined | 10:45 |
| ← tiin57 left | 10:45 |
| → tiin57 joined | 10:48 |
| ← sudoforge left | 10:49 |
| ← shailangsa left | 10:50 |
| ← royal_screwup21 left | 10:56 |
| → royal_screwup21 joined | 10:56 |
| ← john_johnk left | 10:57 |
| ← fling left | 11:00 |
| ← royal_screwup21 left | 11:01 |
| → computeiro joined | 11:04 |
| → royal_screwup21 joined | 11:05 |
| → eb0t joined | 11:15 |
| → eb0t_ joined | 11:15 |
| ← tiin57 left | 11:15 |
| ← def_jam left | 11:15 |
| ← eblip left | 11:16 |
| → shailangsa joined | 11:18 |
| ← jesseTree left | 11:19 |
| → michele| joined | 11:19 |
| → tiin57 joined | 11:19 |
| → jesseTree joined | 11:19 |
| ← kevr left | 11:20 |
| ← oxymoron93 left | 11:21 |
| → Gustavo6046_ joined | 11:21 |
| → kevr joined | 11:21 |
| ← Gustavo6046 left | 11:21 |
| → teut joined | 11:21 |
| ← rook_flo1 left | 11:22 |
| ← michele left | 11:22 |
| → sven^ joined | 11:22 |
| Gustavo6046_ → Gustavo6046 | 11:23 |
| → rook_flo1 joined | 11:23 |
|
teut
| https://dpaste.org/eUg4 I had to try out some features and thus switched to a new branch, now I need to merge few commits out of these into the master | 11:24 |
|
| can I get some help? | 11:24 |
|
| https://dpaste.org/eUg4#L2,4 I just want to keep these 2 commits | 11:24 |
|
| I was not able to integrate the scrollbar in this version | 11:25 |
|
| I tried to use git rebase -i but I was getting lots of merge conflicts | 11:26 |
|
| whats the way out? | 11:26 |
| → solarjoe4 joined | 11:28 |
| → raven-au_ joined | 11:28 |
| ← raven-au left | 11:29 |
| raven-au_ → raven-au | 11:29 |
|
OMGOMG
| !cherry-pick > teut | 11:33 |
|
| !cherrypick > teut | 11:33 |
|
teut
| ok let me check | 11:33 |
|
OMGOMG
| man git-cherry-pick | 11:33 |
|
gitinfo
| the git-cherry-pick manpage is available at https://gitirc.eu/git-cherry-pick.html | 11:33 |
| → bolovanos_ joined | 11:35 |
| ← Guest20 left | 11:35 |
| → Repox joined | 11:37 |
|
teut
| $ git cherry-pick 6cbc84e | 11:38 |
|
| Auto-merging mailer/mailer.kv | 11:38 |
|
| CONFLICT (content): Merge conflict in mailer/mailer.kv | 11:38 |
|
| error: could not apply 6cbc84e... added scrollbar | 11:38 |
| ← bolovanos left | 11:38 |
| ← royal_screwup21 left | 11:38 |
| → royal_screwup21 joined | 11:39 |
| ← SebastianFlyte left | 11:39 |
|
teut
| what does merge conflict mean here? | 11:41 |
|
OMGOMG
| run git mergetool and see | 11:42 |
|
teut
| this command afaik picks the files in some new folder with a hash code | 11:42 |
| → Guest20 joined | 11:42 |
|
teut
| This message is displayed because 'merge.tool' is not configured. | 11:43 |
| ← royal_screwup21 left | 11:43 |
| → SebastianFlyte joined | 11:45 |
| ← tiin57 left | 11:45 |
|
teut
| Uploaded file: https://uploads.kiwiirc.com/files/6adaa2bd4226e7ed7b1cd80878a4bb72/image.png | 11:45 |
|
| how to interpret this? | 11:46 |
|
| I remember I did Accept Incoming changes last time and it deleted a lot of code | 11:48 |
|
OMGOMG
| !book > teut | 11:49 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 11:49 |
| → tiin57 joined | 11:49 |
|
teut
| docs are better than book | 11:49 |
|
| you got any youtube video? | 11:50 |
|
| like the jsconf, or pythonconf? | 11:50 |
| ← wgrant left | 11:52 |
|
teut
| I actually read that book couple of months ago but it didnt help much | 11:53 |
| → wgrant joined | 11:53 |
| ← wgrant left | 11:56 |
|
OMGOMG
| you're asking basic questions about conflicts that are answered in that book | 11:56 |
| → wgrant joined | 11:56 |
| ← jaggz left | 11:57 |
| ← kjartan left | 11:57 |
|
teut
| cherry-pick section was in the last few chapters | 11:57 |
|
| along with filter command | 11:58 |
|
| it cant be basic | 11:58 |
| → kjartan joined | 11:59 |
|
osse
| !eek | 11:59 |
|
gitinfo
| [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II | 11:59 |
| ← ghoti left | 11:59 |
|
mackerman
| !backup first before trying some kind of tool, mergetool in this case | 12:00 |
|
gitinfo
| Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups | 12:00 |
| ← Guest20 left | 12:00 |
| → john_johnk joined | 12:01 |
| ← teut left | 12:02 |
| → ghoti joined | 12:02 |
| → haritz joined | 12:02 |
| ← haritz left | 12:02 |
| → haritz joined | 12:02 |
| → fling joined | 12:02 |
|
| OMGOMG worries occasionally about trying too hard to teach someone to fish | 12:06 |
|
selckin
| gotta sell those fishing rods | 12:06 |
|
osse
| "what does merge conflict mean here?" indicates that the person doesn't really know what fishing means | 12:06 |
|
| gotta take another step back | 12:07 |
| ← atharvaraykar left | 12:08 |
| → enoq joined | 12:08 |
| → atharvaraykar joined | 12:11 |
| → bolovanos__ joined | 12:11 |
| nee → mobidrop | 12:14 |
| ← bolovanos_ left | 12:15 |
| ← tiin57 left | 12:15 |
| → tiin57 joined | 12:19 |
| → thebope joined | 12:19 |
| → cfoch joined | 12:21 |
| ← bamdad left | 12:21 |
| → bamdad joined | 12:23 |
| → SerialSmile joined | 12:23 |
| → fercell- joined | 12:26 |
| ← fercell left | 12:26 |
| ← magpi left | 12:29 |
| ← sweatsuit left | 12:30 |
| → magpi joined | 12:31 |
| → dengbojing joined | 12:31 |
| → samjq893 joined | 12:34 |
| ← samjq893 left | 12:35 |
| → gareppa joined | 12:36 |
| → samjq893 joined | 12:37 |
| ← thebope left | 12:38 |
| → thebope joined | 12:39 |
| ← SebastianFlyte left | 12:39 |
| → rewrited joined | 12:41 |
| → fission6 joined | 12:41 |
| ← thebope left | 12:42 |
| → thebope joined | 12:43 |
| → SebastianFlyte joined | 12:45 |
| ← tiin57 left | 12:45 |
| → kalin_ joined | 12:46 |
| ← gareppa left | 12:48 |
| ← thebope left | 12:48 |
| → tiin57 joined | 12:49 |
| → teut joined | 12:49 |
| → sweatsuit joined | 12:53 |
| ← fission6 left | 12:54 |
| ← samjq893 left | 12:56 |
| ← n3wborn left | 12:56 |
| → n3wborn joined | 12:58 |
| → thebope joined | 12:59 |
| ← thebope left | 12:59 |
| → thebope joined | 13:00 |
| ← solarjoe4 left | 13:00 |
| ← thebope left | 13:01 |
| → thebope joined | 13:01 |
| → CodeSlingerPaul joined | 13:02 |
| ← atharvaraykar left | 13:05 |
| → nabil_ joined | 13:09 |
| → royal_screwup21 joined | 13:10 |
| ← nabil left | 13:12 |
| → aliss joined | 13:12 |
| ← tiin57 left | 13:15 |
| ← Tobbi_ left | 13:16 |
| → atharvaraykar joined | 13:16 |
| → Tobbi_ joined | 13:19 |
| → tiin57 joined | 13:19 |
| ← teut left | 13:20 |
| ← ghoti left | 13:25 |
|
fuchstronaut
| Is it safe to just follow the instructions and rune git prune? | 13:26 |
| → Vadrigar_ joined | 13:27 |
|
selckin
| usually | 13:27 |
| → ghoti joined | 13:27 |
| → hussam joined | 13:29 |
| → drbean_ joined | 13:29 |
| → mat001 joined | 13:31 |
| → gast0n joined | 13:33 |
| ← royal_screwup21 left | 13:33 |
| → fission6 joined | 13:34 |
| → royal_screwup21 joined | 13:34 |
| ← mattt_ left | 13:37 |
| ← royal_screwup21 left | 13:38 |
| ← SebastianFlyte left | 13:39 |
|
Kobaz
| i'm trying to get a speciifc file from a specific commit... git checkout <hash> <file> isn't working... i also tried <hash>:<file> and <hash> -- <file> | 13:42 |
|
selckin
| latter should work | 13:42 |
| → causasui joined | 13:42 |
| → nrh^ joined | 13:43 |
|
ikke
| Does git ls-tree -r <commit> return that file? | 13:43 |
|
Kobaz
| oh | 13:44 |
|
| i need to go one commit back | 13:44 |
|
| that was the commit it was deleted in | 13:44 |
|
ikke
| I suspected as much | 13:44 |
| → SebastianFlyte joined | 13:45 |
| ← TomyWork left | 13:45 |
| ← tiin57 left | 13:45 |
| → TomyWork joined | 13:45 |
| → royal_screwup21 joined | 13:46 |
| ← rcoote left | 13:47 |
| → pmcnabb8 joined | 13:49 |
| → tiin57 joined | 13:49 |
|
fuchstronaut
| selckin: ty | 13:50 |
| → daysun joined | 13:50 |
| → rcoote joined | 13:50 |
| ← SerialSmile left | 13:50 |
|
daysun
| doesn't pull ruin your progress? What if you work on something, and decide to pull before you commit+push to be up to date before pushing? Could that potentially ruin your work? | 13:50 |
| ← pmcnabb left | 13:51 |
| pmcnabb8 → pmcnabb | 13:51 |
| ← drbean_ left | 13:52 |
| → airgap joined | 13:52 |
|
mackerman
| Conflicts would need to be resolved, like any other merge. | 13:53 |
| → Guest20 joined | 13:53 |
| ← atharvaraykar left | 13:54 |
| → AnAverageHuman joined | 13:57 |
| → thiago joined | 13:59 |
| → mowcat joined | 13:59 |
| → xissburg joined | 13:59 |
| ← fission6 left | 13:59 |
| → BrunoSpr joined | 14:00 |
|
Kobaz
| okay next question | 14:05 |
|
| git in windows cygwin... when i do a git commit -v... it's showing me all the ^M endings... how do I hide that? | 14:05 |
| → madewokherd joined | 14:07 |
|
Kobaz
| git config --global core.autocrlf true does not do it | 14:08 |
| ← gearnode left | 14:12 |
| ← Vadrigar_ left | 14:13 |
| ← CryptoClub left | 14:13 |
| Noisytoot → noisytoot[x] | 14:13 |
| noisytoot[x] → Noisytoot | 14:13 |
| ← Repox left | 14:14 |
| → gearnode joined | 14:15 |
| ← tiin57 left | 14:15 |
| → CryptoClub joined | 14:16 |
| ← BrunoSpr left | 14:16 |
| → BrunoSpr joined | 14:17 |
| → tiin57 joined | 14:19 |
| ← royal_screwup21 left | 14:19 |
| → royal_screwup21 joined | 14:19 |
| → kiltzman joined | 14:19 |
| ← haritz left | 14:21 |
| ← royal_screwup21 left | 14:22 |
| → royal_screwup21 joined | 14:22 |
| ← andreas31 left | 14:22 |
| → andreas31 joined | 14:26 |
| ← BrunoSpr left | 14:28 |
| → whitefly joined | 14:31 |
| → atharvaraykar joined | 14:35 |
| ← causasui left | 14:36 |
| ← royal_screwup21 left | 14:38 |
| → royal_screwup21 joined | 14:38 |
| → wrobinson joined | 14:39 |
| ← SebastianFlyte left | 14:39 |
| ← wrobinso1 left | 14:41 |
|
daysun
| Kobaz: I don't want to be that guy, but if you can, get ubuntu for windows (from the windows app store) and run that in another window. | 14:43 |
| ← royal_screwup21 left | 14:43 |
|
daysun
| most prefer to use an editor on ubuntu as well when they're forced to dev on windows. | 14:43 |
| → BrunoSpr joined | 14:44 |
| ← hussam left | 14:44 |
|
daysun
| it tends to solve half (not all) of your problems. | 14:44 |
| ← atharvaraykar left | 14:44 |
| → SebastianFlyte joined | 14:45 |
| → dimi1947 joined | 14:45 |
| ← tiin57 left | 14:45 |
| ← long4mud left | 14:45 |
| → haritz joined | 14:46 |
| ← haritz left | 14:46 |
| → haritz joined | 14:46 |
| → cousteau joined | 14:48 |
| ← haritz left | 14:48 |
| → FH_thecat joined | 14:48 |
| ← FH_thecat left | 14:48 |
| → tiin57 joined | 14:49 |
|
davve
| dos2unix is a good tool for cleaning them up. i would set up a pre-commit hook which does it- not sure if its available with cygwin | 14:49 |
|
Noisytoot
| Just install GNU/Linux! | 14:49 |
|
cousteau
| Huh, funny, I think you're talking exactly about the question I was about to make | 14:50 |
| ← cfoch left | 14:51 |
| → AppleGaming joined | 14:51 |
| → haritz joined | 14:51 |
| ← haritz left | 14:51 |
| → haritz joined | 14:51 |
|
cousteau
| If I've globally disabled autocrlf, can I clone a repository enabling it? Or how would I do that? | 14:52 |
| ← haritz left | 14:52 |
| → haritz joined | 14:52 |
| ← haritz left | 14:52 |
| → haritz joined | 14:52 |
|
cousteau
| Clone the repository, set autocrlf locally to my clone, delete all files and check them out again? | 14:52 |
| → rustyshackleford joined | 14:59 |
| ← rcoote left | 15:01 |
|
Hello71
| should work in theory but terribly inefficient | 15:02 |
| → crose joined | 15:03 |
|
Hello71
| if nothing else than git -c core.autocrlf clone should work | 15:03 |
| ← mowcat left | 15:03 |
| → mowcat joined | 15:03 |
|
Hello71
| or you can use that feature for setting different options based on directory tree | 15:03 |
| ← mobidrop left | 15:03 |
|
Hello71
| normally used for user.name/email but could be applicable here too | 15:04 |
| ← mowcat left | 15:05 |
| ← dimi1947 left | 15:06 |
| → k3yp joined | 15:07 |
| ← tiin57 left | 15:15 |
| → mowcat joined | 15:16 |
| → jinsun joined | 15:17 |
| → tiin57 joined | 15:19 |
| ← foul_owl left | 15:21 |
| ← xrisovalantis left | 15:23 |
| → mozgalom joined | 15:25 |
| → themayor joined | 15:26 |
| ← fling left | 15:28 |
| ← tgunr_ left | 15:29 |
| → tgunr joined | 15:29 |
| → durham joined | 15:30 |
| ← chele left | 15:35 |
| ← john_johnk left | 15:37 |
| ← jinsun left | 15:39 |
| ← SebastianFlyte left | 15:39 |
| → tgunr_ joined | 15:40 |
| ← tgunr left | 15:40 |
| → SebastianFlyte joined | 15:45 |
| ← tiin57 left | 15:45 |
| → jetchisel joined | 15:46 |
| ← jas4711 left | 15:48 |
| ← whitefly left | 15:49 |
| → tiin57 joined | 15:49 |
| ← BrunoSpr left | 15:50 |
| ← fflam left | 15:50 |
| ← durham left | 15:50 |
| → durham joined | 15:51 |
| → blyat-73 joined | 15:51 |
| ← AppleGaming left | 15:52 |
| → AppleGaming joined | 15:53 |
| → sudoforge joined | 15:55 |
| → CIAZ joined | 16:00 |
| ← CIAZ left | 16:00 |
| → thisismo joined | 16:04 |
| → fflam joined | 16:04 |
| → hnOsmium0001 joined | 16:04 |
| ← mowcat left | 16:05 |
| → nyxyn joined | 16:06 |
| ← mozgalom left | 16:08 |
| ← blyat-73 left | 16:13 |
| → blyat-73 joined | 16:15 |
| ← tiin57 left | 16:15 |
| → samjq893 joined | 16:15 |
| → irrgit joined | 16:16 |
| → fling joined | 16:16 |
| ← aliss left | 16:16 |
| → causasui joined | 16:17 |
| → mindCrime_ joined | 16:18 |
| → tiin57 joined | 16:19 |
| ← jaziz left | 16:19 |
| → Raja joined | 16:20 |
| → Xiti joined | 16:21 |
| ← Raja left | 16:22 |
| → raman_vaidya joined | 16:23 |
| ← raman_vaidya left | 16:24 |
| ← Haohmaru left | 16:29 |
| ← causasui left | 16:37 |
| ← SebastianFlyte left | 16:39 |
| ← gothicserpent left | 16:41 |
| → Betal joined | 16:41 |
| ← samjq893 left | 16:42 |
| → gothicserpent joined | 16:44 |
| → SebastianFlyte joined | 16:45 |
| → vicfred joined | 16:45 |
| ← PJBoy left | 16:45 |
| ← gothicserpent left | 16:45 |
| ← tiin57 left | 16:45 |
| → supercoven joined | 16:47 |
| ← rsx left | 16:47 |
| → PJBoy joined | 16:48 |
| → tiin57 joined | 16:49 |
| ← nyxyn left | 16:52 |
| → stats4647 joined | 16:52 |
| → royal_screwup21 joined | 16:53 |
| → mowcat joined | 16:54 |
| → butter_ joined | 16:54 |
| → howdoi joined | 16:54 |
|
butter_
| Hi. Is there an option for this: https://stackoverflow.com/q/66875169/4632019 | 16:55 |
| → krofe joined | 16:59 |
|
j416
| butter_: git show | 17:00 |
| → shush joined | 17:00 |
|
j416
| for that exact syntax, look at format options for git-log, or use git rev-list -1 HEAD for just a hash | 17:01 |
| → nyxyn joined | 17:01 |
| → cousteau_ joined | 17:01 |
| → atharvaraykar joined | 17:02 |
| → jas4711 joined | 17:02 |
| → dpl joined | 17:02 |
| → xelxebar joined | 17:03 |
| ← cousteau left | 17:04 |
| ← butter_ left | 17:04 |
| → Newami joined | 17:07 |
| ← Newami left | 17:08 |
| → butter_ joined | 17:08 |
|
butter_
| j416 thank you | 17:09 |
| ← butter_ left | 17:09 |
| ← TomyWork left | 17:09 |
| → chuseman joined | 17:09 |
| → TomyWork joined | 17:10 |
| ← TomyWork left | 17:11 |
| → TomyWork joined | 17:12 |
| → hussam joined | 17:14 |
| ← tiin57 left | 17:15 |
| ← royal_screwup21 left | 17:16 |
| → royal_screwup21 joined | 17:16 |
| ← thisismo left | 17:17 |
|
j416
| perhaps misunderstood the question. but, he left. | 17:18 |
| ← DevAntoine left | 17:19 |
| → tiin57 joined | 17:19 |
| → DevAntoine joined | 17:19 |
| ← TomyWork left | 17:21 |
| ← dengbojing left | 17:21 |
| → TomyWork joined | 17:21 |
| ← royal_screwup21 left | 17:21 |
| ← TomyWork left | 17:23 |
| ← DevAntoine left | 17:24 |
| → TomyWork joined | 17:25 |
| → DevAntoine joined | 17:29 |
| ← mowcat left | 17:30 |
| ← TomyWork left | 17:30 |
| → TomyWork joined | 17:31 |
| → cousteau joined | 17:32 |
| cousteau → Guest59548 | 17:32 |
| ← nyxyn left | 17:33 |
| ← cousteau_ left | 17:34 |
| ← DevAntoine left | 17:34 |
| → bolovanos_ joined | 17:35 |
| → john_johnk joined | 17:36 |
| ← bolovanos__ left | 17:38 |
| ← LetoThe2nd left | 17:39 |
| → DevAntoine joined | 17:39 |
| ← SebastianFlyte left | 17:40 |
| → causasui joined | 17:43 |
| → arcatech joined | 17:43 |
| ← DevAntoine left | 17:44 |
| ← Guest59548 left | 17:44 |
| → SebastianFlyte joined | 17:45 |
| ← tiin57 left | 17:45 |
| ← Guest20 left | 17:46 |
| → Guest20 joined | 17:47 |
| ← causasui left | 17:48 |
| → tiin57 joined | 17:49 |
| → causasui joined | 17:50 |
| → cliluw joined | 17:52 |
| → royal_screwup21 joined | 17:52 |
| → viko joined | 17:52 |
| → rond_ joined | 17:57 |
| → gothicserpent joined | 18:00 |
| ← gothicserpent left | 18:01 |
| → jarodit joined | 18:01 |
| → oriba joined | 18:03 |
| ← olx69 left | 18:03 |
| ← atharvaraykar left | 18:07 |
| ← arcatech left | 18:07 |
| → DevAntoine joined | 18:09 |
| → Vadrigar_ joined | 18:09 |
|
rangergord
| I'm about to use git-filter-repo to rewrite my repo's history to apply the linter/beautifier script on all history, so I never have cosmetic changes show up in diff. I also insert a .editorconfig, and going forward add clang-format for future commits, Any recommendations before I dive in? | 18:10 |
| ← DevAntoine left | 18:13 |
| ← Vadrigar_ left | 18:13 |
|
j416
| rangergord: !backup | 18:15 |
|
gitinfo
| rangergord: Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups | 18:15 |
| → thisismo joined | 18:15 |
| → BSaboia joined | 18:15 |
| → jaggz joined | 18:15 |
| ← tiin57 left | 18:15 |
| ← BSaboia left | 18:16 |
| → FH_thecat joined | 18:16 |
|
rangergord
| oh for sure | 18:16 |
| ← FH_thecat left | 18:16 |
|
rangergord
| I meant more for the linting task | 18:16 |
|
| and rewriting history | 18:17 |
| → tiin57 joined | 18:18 |
| → DevAntoine joined | 18:19 |
| ← DevAntoine left | 18:23 |
| ← Guest20 left | 18:23 |
| ← CryptoClub left | 18:25 |
| → samjq893 joined | 18:26 |
| eb0t_ → eblip | 18:27 |
| ← TomyWork left | 18:27 |
| → CryptoClub joined | 18:28 |
| ← fabs left | 18:28 |
| → royal_screwup216 joined | 18:28 |
| ← jas4711 left | 18:29 |
| → fabs joined | 18:29 |
| → is_null joined | 18:37 |
| → arcatech joined | 18:37 |
| → muhaha joined | 18:38 |
| → mozgalom joined | 18:39 |
| ← royal_screwup21 left | 18:39 |
| ← royal_screwup216 left | 18:39 |
| → royal_screwup21 joined | 18:39 |
| ← SebastianFlyte left | 18:40 |
| ← cliluw left | 18:44 |
| → cdown joined | 18:44 |
| ← royal_screwup21 left | 18:44 |
| → SebastianFlyte joined | 18:45 |
| → royal_screwup21 joined | 18:45 |
| ← tiin57 left | 18:45 |
| → tiin57 joined | 18:48 |
| → long4mud joined | 18:49 |
| → m0viefreak joined | 18:50 |
| ← n3wborn left | 18:51 |
| → n3wborn joined | 18:53 |
| → foul_owl joined | 18:58 |
| ← rond_ left | 19:00 |
| → smartsirius joined | 19:04 |
| → cd joined | 19:05 |
| → BSaboia joined | 19:07 |
| ← tiin57 left | 19:15 |
| ← noidea left | 19:17 |
| ← cambrian_invader left | 19:17 |
| ← BSaboia left | 19:18 |
| → tiin57 joined | 19:19 |
| ← muhaha left | 19:20 |
| → mowcat joined | 19:20 |
| → BSaboia joined | 19:21 |
| → muhaha joined | 19:24 |
| ← arcatech left | 19:25 |
| → fax joined | 19:30 |
| ← supercoven left | 19:31 |
| ← SebastianFlyte left | 19:39 |
| ← onizu left | 19:42 |
| → Lord_of_Life_ joined | 19:43 |
| → gigasu_shida joined | 19:43 |
| ← Lord_of_Life left | 19:43 |
| Lord_of_Life_ → Lord_of_Life | 19:44 |
| → SebastianFlyte joined | 19:45 |
| ← tiin57 left | 19:45 |
| ← thisismo left | 19:47 |
| → iffraff joined | 19:49 |
| → tiin57 joined | 19:49 |
| ← cdown left | 19:49 |
| ← muhaha left | 20:09 |
| → dviola joined | 20:10 |
| ← dviola left | 20:13 |
| → dviola joined | 20:13 |
| → teut joined | 20:14 |
| ← tiin57 left | 20:15 |
|
teut
| Uploaded file: https://uploads.kiwiirc.com/files/f04bc800d575a71cc245f467df6950d1/image.png | 20:18 |
|
| how to remove that dashed portion of master? | 20:18 |
| → tiin57 joined | 20:19 |
|
ikke
| git checkout master && git reset --hard $(git merge-base master other-branch) | 20:21 |
|
teut
| && , is that to be written? | 20:22 |
|
| ok , its something | 20:22 |
|
| oops that did not happen as expected, can I undo it? | 20:25 |
| ← KnoP left | 20:25 |
|
teut
| https://dpaste.org/cjQr#L12 I want this commit to be on the head of master | 20:25 |
|
| I can check it out, maybe I can cherry-pick it | 20:27 |
|
| have you used the "Accept incoming changes" in git rebase in vscode? | 20:30 |
| ← sord937 left | 20:30 |
|
teut
| it gives unobvious results? | 20:30 |
|
| results.* | 20:30 |
| ← Nokurn left | 20:30 |
|
ikke
| I haved not | 20:31 |
|
teut
| then how to you remove merge conflicts? | 20:32 |
|
| I like the console | 20:32 |
| ← mozgalom left | 20:32 |
| ← daysun left | 20:32 |
|
teut
| gui is too tough to work with | 20:32 |
|
ikke
| in my editor, sometimes I use a mergetool | 20:34 |
|
teut
| I opened that today but is it any good? | 20:34 |
| → Nokurn joined | 20:35 |
|
teut
| in vscode I tried to merge , but actually I had nested a folder into another folder on some other branch and modified few files, when I clicked "Accept incoming changes" it actually kept that old folder.it's amess | 20:36 |
|
| a mess | 20:36 |
|
| I can show you can you help then? | 20:36 |
|
ikke
| it's hard to help with merge conflicts if you don't know the context | 20:37 |
|
teut
| I will need to show my dir structure first | 20:38 |
|
| hey, half of my files are gone fk | 20:38 |
|
| i need to fox that first now sorry | 20:38 |
|
| fix | 20:38 |
| ← SebastianFlyte left | 20:39 |
|
teut
| https://dpaste.org/qRP5 this is current output | 20:40 |
|
| Uploaded file: https://uploads.kiwiirc.com/files/713e3a0d79766653148c5384d039afcb/image.png | 20:40 |
|
| this is current dir structure | 20:40 |
|
| 2 files are lost, they had all the code, rest is packaging material | 20:41 |
|
ikke
| did you commit them? | 20:41 |
|
teut
| https://dpaste.org/wmrk#L41 earlier when I shared this link, during this I actually ctrl+C the whole repo | 20:42 |
|
| ofcourse | 20:42 |
|
ikke
| then you added those files in the commits that you tried to get rid of? | 20:42 |
|
teut
| Uploaded file: https://uploads.kiwiirc.com/files/ff996526bc1934b0bebebe1e93442d8f/image.png | 20:42 |
|
| this is the actual commit | 20:42 |
| → mozgalom joined | 20:43 |
|
teut
| but its lost, what I did was cherry picked that commit | 20:43 |
|
| in line 41 | 20:44 |
| → codehotter joined | 20:44 |
|
teut
| in that git pro book there was written git doesnt follow tactics what other tools use | 20:44 |
|
| it duplicates all your files | 20:44 |
|
| it doesnt seems to be doing that | 20:45 |
| → SebastianFlyte joined | 20:45 |
| ← krofe left | 20:45 |
|
teut
| it rather seem to be storing the modifications only | 20:45 |
| ← tiin57 left | 20:45 |
|
ikke
| initially, git stores the entire content of each version of each file | 20:46 |
|
| but, git can and will pack together objects in a way to reduce space (delta compression) | 20:46 |
| ← Nokurn left | 20:47 |
|
teut
| file, but how are folders managed? | 20:48 |
| → Nokurn joined | 20:48 |
| → tiin57 joined | 20:48 |
|
teut
| Uploaded file: https://uploads.kiwiirc.com/files/8a4370c04e6246ae3956d6c5b24ee718/image.png | 20:49 |
|
| in all my earlier commits, there ware no src/ directory | 20:49 |
|
| but it is somehow on `HEAD is now at cd58162 installing plyer` | 20:49 |
|
| its completely messed up | 20:50 |
|
| setup.py was not there . so that is correct that it is deleted | 20:50 |
|
| oh, is it due to the pycache that confusing is coming to me? *pycache is in gitignore | 20:51 |
| ← oriba left | 20:52 |
| → arcatech joined | 20:54 |
| ← Graypup_ left | 20:57 |
| ← Nokurn left | 20:57 |
| ← royal_screwup21 left | 20:57 |
| → royal_screwup21 joined | 20:58 |
| → danielcg joined | 20:59 |
| ← arcatech left | 20:59 |
|
teut
| thanks ikke , for now I m starting a fresh which that duplicated folder | 21:00 |
| → Nokurn joined | 21:00 |
|
teut
| with* | 21:01 |
| ← royal_screwup21 left | 21:02 |
| ← hussam left | 21:06 |
| → gusgg joined | 21:07 |
| → imaginos joined | 21:10 |
|
gusgg
| Preambe: I have a repository. I have it cloned as a submodule. I also have it `git clone --mirror` as a bare repository. In that repository I ran `bfg --convert-to-git-lfs [...]` and push forced to the remote. Things didn't work as expected. Then I tried to use `git lfs migrate` instead. Also some weirdness ensued. | 21:10 |
| ← imaginos left | 21:11 |
| ← enoq left | 21:12 |
|
gusgg
| I am looking at `.git/objects` of my repository and trying to understand some internals. But that directory only has `pack` and `info`, and nothing else. Where would the object files for my repository be? | 21:12 |
| ← Lord_of_Life left | 21:12 |
|
ikke
| in the packfile | 21:13 |
|
| packed | 21:13 |
| → arcatech joined | 21:13 |
| ← viko left | 21:13 |
| ← tiin57 left | 21:15 |
|
gusgg
| ikke: I see! Thank you | 21:16 |
| → tiin57 joined | 21:19 |
| ← arcatech left | 21:22 |
|
gusgg
| I believe I should use `git rev-parse HEAD:path/to/file.txt` to get the content hash of a file, which then corresponds to the object id. For a given object id, how can I see if it's tracked my `git lfs` or not? | 21:23 |
|
| I thought `git cat-file -p $object_id` might show me either the file contents, or the lfs pointer. But I am not sure. I'm getting file contents right now, and I'm trying to debug whether files are tracked by lfs or not. | 21:24 |
| → audiofreeze joined | 21:24 |
|
audiofreeze
| I'm in the branch called `dev`. I just pulled the newest changes from my remote repo, there were a lot. I started making more changes, but now I just want ONLY my newest changes in a new branch. How can I create a branch that will ONLY carry my newest changes, and not the changes I pulled from the remote repo? | 21:25 |
|
gusgg
| audiofreeze: have you made commits with your "newest changes" yet? | 21:27 |
|
audiofreeze
| gusgg, no | 21:27 |
|
| gusgg, if i did, it would also commit the changes i pulled form the remote repo | 21:28 |
|
| which is what i'm trying to avoid | 21:28 |
|
gusgg
| I would 1. `git stash -p` to interactively "stash" those changes. 2. `git checkout $base_branch` for whatever branch you want to work off. 3. `git checkout -b $new_branch_name`. Finally, 4. `git stash pop` | 21:29 |
|
| The changes you pulled from the remote repo necessarily are already committed, to be clear. Do you mean that you have some changes in your working directory due to merge conflicts or something like that? | 21:31 |
|
audiofreeze
| no | 21:32 |
|
| one time, when i did git checkout -b mybranch after pulling newest changes from remote repo, and then made changes and committed, mybranch contained EVERYTHING pulled from the remote repo pulled. which is undesirable gusgg | 21:33 |
|
| gusgg, will your solution for sure work for me? | 21:33 |
|
gusgg
| audiofreeze: I cannot guarantee that. | 21:34 |
| → royal_screwup21 joined | 21:34 |
|
gusgg
| I had asked if you had made commits with your newest changes, and you responded no. Now you just said you "made changes and committed". So, which one is it? | 21:34 |
| ← smartsirius left | 21:35 |
|
audiofreeze
| gusgg, "one time" means that something had happened in the past | 21:35 |
|
| gusgg, i still have not committed | 21:35 |
|
| i have my changes and i'm ready to do something | 21:36 |
|
| don't know what to do | 21:36 |
| ← jimmiehansson left | 21:36 |
|
audiofreeze
| i don't want to mess things up | 21:36 |
|
| i refered to this "one time" because you asked why i was doing what i was doing | 21:36 |
|
| i don't want what happened to happen again | 21:37 |
| ← teut left | 21:38 |
|
gusgg
| If you wanted to "move" a handful of commits from one branch to another, you can use `git cherry-pick`. That would have applied in the "one time" scenario you were in. | 21:38 |
| ← dpl left | 21:38 |
|
audiofreeze
| thats the opposite of what i want to do | 21:38 |
| → dpl joined | 21:39 |
| ← SebastianFlyte left | 21:39 |
|
audiofreeze
| i'll just git checkout -b and hope for the best | 21:39 |
|
gusgg
| Good luck | 21:39 |
| ← royal_screwup21 left | 21:40 |
|
audiofreeze
| huh, that worked | 21:40 |
|
| wonder what happened last time | 21:40 |
| → royal_screwup21 joined | 21:44 |
| → SebastianFlyte joined | 21:45 |
| ← tiin57 left | 21:45 |
| ← m0viefreak left | 21:47 |
| → tiin57 joined | 21:49 |
| ← shabius left | 21:49 |
| ← amahl left | 21:50 |
| ← HumanG33k left | 21:50 |
| → HumanG33k joined | 21:51 |
|
gusgg
| To answer my previous question, `git cat-file -p $object_id` shows the lfs pointer when the object corresponds to a file tracked by lfs | 21:52 |
| → shabius joined | 21:53 |
| → arcatech joined | 21:59 |
| ← arcatech left | 21:59 |
| ← airgap left | 22:07 |
| → airgap joined | 22:08 |
| → Vadrigar_ joined | 22:10 |
| → nyxyn joined | 22:14 |
| ← Vadrigar_ left | 22:14 |
| ← jarodit left | 22:15 |
| ← tiin57 left | 22:15 |
| ← CodeSlingerPaul left | 22:16 |
| ← gusgg left | 22:17 |
| → tiin57 joined | 22:18 |
| → krofe joined | 22:18 |
| ← Hello71 left | 22:19 |
| ← nyxyn left | 22:20 |
| ← tang^ left | 22:21 |
| → macaronus joined | 22:27 |
| ← fax left | 22:28 |
| ← pastucci left | 22:30 |
| → Hello71 joined | 22:34 |
| ← rkta left | 22:35 |
| ← c4017w_ left | 22:36 |
| → rkta joined | 22:36 |
| → c4017w_ joined | 22:36 |
| → finnb5 joined | 22:37 |
| → Duckle0 joined | 22:38 |
| → riksu-raksu joined | 22:38 |
| → codingquark_ joined | 22:38 |
| → Shentino_ joined | 22:38 |
| → dslegend1 joined | 22:38 |
| → Anthaas_ joined | 22:38 |
| → egos_ joined | 22:39 |
| → cyberanger_ joined | 22:39 |
| ← jetchisel left | 22:39 |
| → bdeferme_ joined | 22:39 |
| ← SebastianFlyte left | 22:39 |
| → Lunatrius` joined | 22:39 |
| ← AppleGaming left | 22:39 |
| → cim2094 joined | 22:39 |
| → L1Cafe9 joined | 22:39 |
| → yourfate_ joined | 22:40 |
| → AppleGaming joined | 22:40 |
| → Live_ joined | 22:40 |
| → LiENUX joined | 22:40 |
| → av0idr joined | 22:40 |
| → apragmatist_ joined | 22:40 |
| → qgTG_ joined | 22:40 |
| → gildarts joined | 22:40 |
| → seanBE_ joined | 22:40 |
| → ntnn_ joined | 22:40 |
| → joako_ joined | 22:40 |
| → rigid- joined | 22:40 |
| → holdsworth_ joined | 22:40 |
| → n001g joined | 22:41 |
| → getha joined | 22:41 |
| ← finnb left | 22:41 |
| ← riksteri left | 22:41 |
| ← qgTG left | 22:41 |
| ← ablackack left | 22:41 |
| ← ericnoan left | 22:41 |
| ← a3Dman left | 22:41 |
| ← LiENUS left | 22:41 |
| ← apragmatist left | 22:41 |
| ← Lunatrius left | 22:41 |
| ← seanBE left | 22:41 |
| ← mjh4386 left | 22:41 |
| ← bond left | 22:41 |
| ← synthmeat left | 22:41 |
| ← joako left | 22:41 |
| Lunatrius` → Lunatrius | 22:41 |
| joako_ → joako | 22:41 |
| ← crmaurei left | 22:41 |
| → jetchisel joined | 22:41 |
| → DuClare_ joined | 22:41 |
| ← fingercomp left | 22:41 |
| → bond joined | 22:41 |
| ← Cork left | 22:41 |
| → qsx` joined | 22:41 |
| ← Anthaas left | 22:41 |
| ← qsx left | 22:41 |
| ← holdsworth left | 22:41 |
| ← codingquark left | 22:41 |
| → kantlive- joined | 22:41 |
| → crmaurei joined | 22:41 |
| bond → Guest33302 | 22:41 |
| → ablackack joined | 22:42 |
| → ericnoan joined | 22:42 |
| ← cybrNaut left | 22:42 |
| → ColdKeyb- joined | 22:42 |
| → Ekho- joined | 22:42 |
| ← n000g left | 22:42 |
| ← cim209 left | 22:42 |
| ← Techcable left | 22:42 |
| ← Shentino left | 22:42 |
| ← SuperLag left | 22:42 |
| ← Ekho left | 22:42 |
| ← lrvick left | 22:42 |
| cim2094 → cim209 | 22:42 |
| n001g → n000g | 22:42 |
| kantlive- → kantlivelong | 22:42 |
| → YellowSu1 joined | 22:42 |
| → jarodit joined | 22:42 |
| ← av0idr left | 22:42 |
| → av0idr joined | 22:42 |
| → tureba_ joined | 22:42 |
| → axisys_ joined | 22:42 |
| → cybrNaut joined | 22:42 |
| ← cybrNaut left | 22:42 |
| → cybrNaut joined | 22:42 |
| → pandem1 joined | 22:42 |
| → cxreg joined | 22:42 |
| → foo___ joined | 22:43 |
| → Chetique joined | 22:43 |
| → sgn1 joined | 22:43 |
| → SuperLag joined | 22:43 |
| → deltab_ joined | 22:43 |
| → stfn1 joined | 22:43 |
| ← Live left | 22:43 |
| ← rigid left | 22:43 |
| ← alip left | 22:43 |
| ← axisys left | 22:43 |
| ← L1Cafe left | 22:43 |
| ← sgn left | 22:43 |
| ← YellowSuB left | 22:43 |
| ← gildarts_ left | 22:43 |
| → alip joined | 22:43 |
| ← avoidr left | 22:43 |
| ← dslegends left | 22:43 |
| ← stfn left | 22:43 |
| ← alip left | 22:43 |
| → alip joined | 22:43 |
| Duckle0 → Duckle | 22:43 |
| yourfate_ → yourfate | 22:43 |
| L1Cafe9 → L1Cafe | 22:43 |
| rigid- → rigid | 22:43 |
| ← audiofreeze left | 22:43 |
| av0idr → avoidr | 22:43 |
| → Squarism joined | 22:43 |
| ← Squarism left | 22:43 |
| → Squarism joined | 22:43 |
| → goodburner joined | 22:43 |
| → caffeinatedcode joined | 22:43 |
| → Techcable joined | 22:43 |
| ← caffeinatedcode left | 22:43 |
| → caffeinatedcode joined | 22:43 |
| → Whiskey joined | 22:43 |
| → roger_raymond joined | 22:43 |
| → Cork joined | 22:43 |
| → lrvick joined | 22:43 |
| → energizer joined | 22:44 |
| → badeball joined | 22:44 |
| → mjh4386 joined | 22:44 |
| → SebastianFlyte joined | 22:45 |
| ← tiin57 left | 22:45 |
| → fingercomp joined | 22:46 |
| → a3Dman_ joined | 22:46 |
| Ekho- → Ekho | 22:47 |
| ← lawid left | 22:48 |
| → fax joined | 22:49 |
| → tiin57 joined | 22:49 |
| ← macaronus left | 22:49 |
| ← raven-au left | 22:49 |
| → raven-au joined | 22:51 |
| → macaronus joined | 22:51 |
| → cliluw joined | 22:52 |
| → lawid joined | 22:53 |
| → nyxyn joined | 22:57 |
| ← perrier-jouet left | 22:58 |
| → perrier-jouet joined | 23:00 |
| → Xenguy joined | 23:02 |
| → synthmeat joined | 23:08 |
| ← teward left | 23:09 |
| ← tiin57 left | 23:15 |
| → tiin57 joined | 23:18 |
| ← BSaboia left | 23:19 |
| → teward joined | 23:20 |
| ← teward left | 23:21 |
| → teward joined | 23:23 |
| ← fax left | 23:25 |
| ← jarodit left | 23:26 |
| ← royal_screwup21 left | 23:26 |
| → royal_screwup21 joined | 23:27 |
| → arcatech joined | 23:29 |
| ← nyxyn left | 23:30 |
| ← Xenguy left | 23:31 |
| ← royal_screwup21 left | 23:32 |
| ← arcatech left | 23:32 |
| ← teward left | 23:34 |
| ← tureba_ left | 23:35 |
| → arcatech joined | 23:35 |
| → tureba joined | 23:35 |
| ← SebastianFlyte left | 23:39 |
| deltab_ → deltab | 23:40 |
| → thisismo joined | 23:40 |
| ← mat001 left | 23:42 |
| → gothicserpent joined | 23:44 |
| → mat001 joined | 23:45 |
| → SebastianFlyte joined | 23:45 |
| ← thisismo left | 23:45 |
| ← tiin57 left | 23:45 |
| → ferdna joined | 23:46 |
| → tiin57 joined | 23:49 |
| ← cliluw left | 23:57 |