| 2022-05-20 |
| ← great_taste left | 00:00 |
| → sickdyd joined | 00:01 |
| ← Lord_of_Life left | 00:03 |
| → cdown_ joined | 00:04 |
| ← cdown left | 00:08 |
| cdown_ → cdown | 00:08 |
| → mooz joined | 00:08 |
| ← rgrinberg left | 00:08 |
| → thebombzen joined | 00:09 |
| → foul_owl joined | 00:11 |
| ← vaio left | 00:14 |
| ← Sasazuka left | 00:14 |
| → vaio joined | 00:15 |
| → jenia2 joined | 00:18 |
| ← vdamewood left | 00:18 |
| → vdamewood joined | 00:19 |
| ← jclsn0 left | 00:23 |
| ← jenia2 left | 00:25 |
| ← vdamewood left | 00:26 |
| → vdamewood joined | 00:27 |
| → jclsn0 joined | 00:28 |
| ← TonyStone left | 00:32 |
| → great_taste joined | 00:34 |
| ← vicfred left | 00:35 |
| → kaiseisei joined | 00:35 |
| → Lord_of_Life joined | 00:38 |
| ← kaiseisei left | 00:40 |
| → kaiseisei joined | 00:40 |
| → TonyStone joined | 00:46 |
| ← DNH left | 00:49 |
| ← jclsn0 left | 01:00 |
| → jclsn0 joined | 01:01 |
| ← murii left | 01:02 |
| Guest2003 → blahboybaz | 01:03 |
|
blahboybaz
| I have a couple questions related to moving a repository that currently exists upstream and locally to a new / different repsository (upstream and locally). I have an idea what I think would work and be easy but I need some clarification on a couple things before I'd want to try it. I have pasted the questions: https://pastebin.com/Am4XiNgz would anyone be willing to take a look? | 01:04 |
|
| I have created a new repository upstream that I wish for it to reside in and I have the current repository locally and upstream (separate repository) at this time | 01:06 |
| ← cdown left | 01:08 |
| ← jclsn0 left | 01:08 |
| → jclsn0 joined | 01:13 |
| ← pretty_dumm_guy left | 01:13 |
| ← jclsn0 left | 01:20 |
| → jclsn0 joined | 01:21 |
| → hbautista joined | 01:26 |
| → llh joined | 01:28 |
| → murii joined | 01:29 |
|
blahboybaz
| I found a better way | 01:32 |
|
| thanks anyway | 01:32 |
| ← jclsn0 left | 01:33 |
| → DNH joined | 01:33 |
| → xkuru joined | 01:34 |
| ← murii left | 01:34 |
| ← xkuru left | 01:37 |
| → jclsn0 joined | 01:38 |
|
blahboybaz
| What if I want to cut lop off the top half of the repository? (please try not to laugh). Its just got some bs in it that I don't think should be there. Theres a couple branches above where I want the new tip to be. Would I do something like reset HEAD hard or something like that? Then how to make it haul away that chopped off trash after that? Or is there some other way to do it? | 01:38 |
|
| is git prune what deletes danglers? | 01:39 |
|
nedbat
| blahboybaz: "git reset --hard <OLD_COMMIT>" is how you would move the head back to an old commit. | 01:40 |
|
| blahboybaz: then eventually the abandoned commits will be garbage collected | 01:41 |
|
blahboybaz
| nedbat: right on. Is there any way to make it do gc by executing some command? I thought I remember being prompted by git to run a command that does that but I don't recall what the command was | 01:44 |
|
| And what about the remote? | 01:44 |
|
nedbat
| blahboybaz: you can run "git gc", but there's not much reason to. | 01:45 |
|
blahboybaz
| ok | 01:45 |
|
nedbat
| blahboybaz: when you "git push --force-with-lease" the remote head will also move back | 01:45 |
|
blahboybaz
| ahh | 01:45 |
|
| cool | 01:45 |
|
| thanks | 01:45 |
| ← DNH left | 01:48 |
| ← kaiseisei left | 01:51 |
| → kaiseisei joined | 01:51 |
|
blahboybaz
| nedbat: I guess there are a couple commits I would want to keep (rebase?) some of them lie in the middle of what would be discarded later (not at the tip). Rebase onto the top of the <OLD-COMMIT> ? then restet the head on top of those added commits? | 01:51 |
| ← jclsn0 left | 01:52 |
|
blahboybaz
| rebase --onto ? | 01:54 |
|
nedbat
| blahboybaz: you have a few ways to do that. One way would be to use "rebase -i" and drop the commits you don't want | 01:54 |
| ← LuxuryMode left | 01:57 |
| → jclsn0 joined | 01:57 |
| → sa0 joined | 01:58 |
| ← GNUmoon2 left | 01:58 |
| → bloody joined | 02:01 |
| ← romesrf left | 02:01 |
| ← FinnElija left | 02:03 |
| → finn_elija joined | 02:03 |
| finn_elija → FinnElija | 02:03 |
| → murii joined | 02:04 |
| → JMcDon joined | 02:06 |
| → romesrf joined | 02:09 |
| ← sa0 left | 02:21 |
| ← bertvvvs left | 02:24 |
| ← igemnace left | 02:26 |
| → igemnace joined | 02:26 |
| → luckman212 joined | 02:28 |
| → realies joined | 02:35 |
| → rgrinberg joined | 02:41 |
| ← ferdna left | 02:43 |
| ← jclsn0 left | 02:43 |
| ← JMcDon left | 02:43 |
| → jclsn0 joined | 02:48 |
| ← terrorjack left | 02:52 |
| → terrorjack joined | 02:53 |
| ← jclsn0 left | 02:53 |
| ← vdamewood left | 02:55 |
| → vdamewood joined | 02:57 |
|
blahboybaz
| nedbat: There just no way for me to describe what I'm wanting to do by typing it. I just don't have a way to describe that won't lead to further confusion. Already I had to really stop and look at what is there and see that my initial assumption would not have been the right thing to do (what I asked about the first time). If you don't want to look at it I understand - it's like 4 min long - but I made a | 02:57 |
|
| video using the graph of the repo to point out what I'm wanting to do. Its just a little more than I've ever tried to do with git and I'm not sure which commands to look into and what order to perform them. If you feel like taking a look its here: https://youtu.be/kjoXuiDnMKY if not I get that too. | 02:58 |
|
| And the screenshot I used in the vid is here too: https://imgur.com/a/98xZyL4 | 02:58 |
| → jclsn0 joined | 02:59 |
| ← Murr left | 02:59 |
| → Murr joined | 02:59 |
| ← FinnElija left | 02:59 |
| → finn_elija joined | 02:59 |
| finn_elija → FinnElija | 02:59 |
| → YuGiOhJCJ joined | 03:00 |
|
blahboybaz
| Don't bother messing with it. Every time I consider what I'm aiming to do I see how its not quite right. I'm still working through what to do. That video is a waste of time - sorry | 03:03 |
| ← jclsn0 left | 03:04 |
| ← murii left | 03:07 |
| → jclsn0 joined | 03:09 |
| → kaartic joined | 03:11 |
| ← kaartic left | 03:16 |
| → musti joined | 03:17 |
|
blahboybaz
| Ok I got it figured out (for sure) what I think I ought to do just not sure how to go about it.. I'll just put it out there if anyone wants to take a look. I got it down to just a hair over one minute (so short). | 03:17 |
|
| https://youtu.be/pHhjmmS1pPU | 03:17 |
| ← musti left | 03:20 |
| → derfflinger_ joined | 03:24 |
| ← derfflinger_ left | 03:24 |
| ← zebrag left | 03:24 |
| → co-JOMBLO-39- joined | 03:26 |
|
blahboybaz
| Even if I just had the right references or articles to read or even the right ones to look for. I'm sure I'd learn a lot better by reading / studying it | 03:27 |
| → celphi joined | 03:30 |
| ← stef204 left | 03:32 |
| ← rgrinberg left | 03:36 |
| → murii joined | 03:36 |
| ← vdamewood left | 03:37 |
| → vdamewood joined | 03:37 |
| ← squirrel left | 03:39 |
| → kaartic joined | 03:45 |
| ← bloody left | 03:47 |
| → gco joined | 03:49 |
| ← riposte left | 03:54 |
| → riposte joined | 03:54 |
| ← kaartic left | 03:55 |
| ← gast0n left | 03:57 |
| → kaartic joined | 03:57 |
| → szkl joined | 03:58 |
| ← The_Blode_ left | 03:59 |
| → Dotz0cat_ joined | 03:59 |
| ← kaartic left | 04:01 |
| Dotz0cat_ → Dotz0cat | 04:02 |
| → rgrinberg joined | 04:02 |
| ← rgrinberg left | 04:07 |
| ← Sulky__ left | 04:11 |
| → kaartic joined | 04:11 |
| ← ChmEarl left | 04:12 |
| → Sulky__ joined | 04:12 |
| → The_Blode joined | 04:13 |
| ← kaartic left | 04:16 |
| → yeirr joined | 04:18 |
| → GNUmoon joined | 04:19 |
| ← skered left | 04:21 |
| ← elastic_dog left | 04:21 |
| → k_sze joined | 04:21 |
| ← k_sze left | 04:21 |
| → k_sze joined | 04:24 |
| → elastic_dog joined | 04:28 |
| → coot joined | 04:30 |
| → skered joined | 04:32 |
| ← tyson2 left | 04:38 |
| ← jinsun left | 04:40 |
| ← murii left | 04:42 |
| ← gco left | 04:48 |
| → jazzy2 joined | 05:00 |
| ← jazzy left | 05:03 |
| → gurkenglas joined | 05:05 |
| ← great_taste left | 05:06 |
| ← jazzy2 left | 05:07 |
| → madewokherd` joined | 05:08 |
| → kaartic joined | 05:10 |
| ← madewokherd left | 05:12 |
| → murii joined | 05:12 |
| → jinsun joined | 05:17 |
| ← murii left | 05:17 |
| ← GNUmoon left | 05:18 |
| → mjt0k joined | 05:23 |
| ← kaartic left | 05:25 |
| ← igemnace left | 05:25 |
| → igemnace joined | 05:25 |
| → kaartic joined | 05:28 |
| → murii joined | 05:30 |
| → ice9 joined | 05:31 |
| ← Dotz0cat left | 05:31 |
| → murii_ joined | 05:31 |
| → Dotz0cat joined | 05:32 |
| → GNUmoon joined | 05:32 |
| ← murii left | 05:35 |
| → theoceaniscool joined | 05:36 |
| ← Dotz0cat left | 05:37 |
| → Dotz0cat joined | 05:37 |
| ← kaiseisei left | 05:37 |
| → kaiseisei joined | 05:39 |
| ← ice9 left | 05:41 |
| ← igemnace left | 05:42 |
| → igemnace joined | 05:42 |
| → vanessa joined | 05:43 |
| ← kaartic left | 05:44 |
| → kaartic joined | 05:44 |
| ← hoochmonger left | 05:48 |
| ← kaiseisei left | 05:50 |
| → kaiseisei joined | 05:52 |
| ← co-JOMBLO-39- left | 05:52 |
| → mexen joined | 05:52 |
| → magic_ninja joined | 05:53 |
| → co-JOMBLO-39- joined | 05:53 |
| ← GNUmoon left | 05:53 |
| ← kaartic left | 05:54 |
| ← Sulky__ left | 05:55 |
| → Sulky__ joined | 05:56 |
| → GNUmoon joined | 05:56 |
| → carl--- joined | 05:57 |
| ← GNUmoon left | 05:59 |
| → kaartic joined | 06:00 |
| ← carl-- left | 06:00 |
| → _vanessa_ joined | 06:01 |
| ← Sulky__ left | 06:02 |
| ← riposte left | 06:02 |
| ← _vanessa_ left | 06:02 |
| → Sulky__ joined | 06:02 |
| → GNUmoon joined | 06:02 |
| ← vanessa left | 06:04 |
| ← howdoi left | 06:04 |
| ← kaartic left | 06:05 |
| ← w_lehinsun left | 06:06 |
| → roadie joined | 06:07 |
| → sa0 joined | 06:13 |
| ← thiago left | 06:13 |
| → toluene joined | 06:15 |
| → pulse_ joined | 06:17 |
| → eroux joined | 06:17 |
| ← pulse left | 06:20 |
| → a joined | 06:20 |
| a → Guest7126 | 06:20 |
| ← co-JOMBLO-39- left | 06:21 |
| ← atrigent left | 06:22 |
| → atrigent joined | 06:23 |
| ← Sulky__ left | 06:24 |
| → Sulky__ joined | 06:25 |
| ← reset left | 06:25 |
| ← eroux left | 06:30 |
| → hstct joined | 06:32 |
| → peterhull90 joined | 06:36 |
| ← Sulky__ left | 06:36 |
| → Sulky__ joined | 06:37 |
| → co-JOMBLO-39- joined | 06:38 |
| ← Guest7126 left | 06:40 |
| → palasso joined | 06:40 |
| ← Sulky__ left | 06:40 |
| → Sulky__ joined | 06:41 |
| ← szkl left | 06:42 |
| → kaartic joined | 06:46 |
| ← sa0 left | 06:46 |
| ← Sulky__ left | 06:48 |
| → masber joined | 06:48 |
| ← coot left | 06:48 |
| → riposte joined | 06:48 |
| → Sulky__ joined | 06:48 |
| ← kaartic left | 06:50 |
| → john_johnk joined | 06:56 |
| → mseidl joined | 06:56 |
| ← Murr left | 06:59 |
| ← masber left | 06:59 |
| → Murr joined | 06:59 |
| → sa0 joined | 07:02 |
| → eroux joined | 07:02 |
| → jazzy joined | 07:02 |
| → AnapodoPsalidaki joined | 07:03 |
| ← AnapodoPsalidi left | 07:04 |
| → rfuentess joined | 07:05 |
| → coot joined | 07:11 |
| ← skapata left | 07:12 |
| → kenan-office joined | 07:13 |
| → otisolsen70 joined | 07:13 |
| → ___nick___ joined | 07:13 |
| ← co-JOMBLO-39- left | 07:13 |
| → kaartic joined | 07:16 |
| → EvilDMP joined | 07:18 |
| ← kaartic left | 07:20 |
| ← eroux left | 07:20 |
| → jim87 joined | 07:20 |
| ← atrigent left | 07:23 |
| → masber joined | 07:23 |
| ← Betal left | 07:24 |
|
bgs
| I got "error: sha1 information is lacking or useless (<filename>)" when trying to apply a patch with git am | 07:25 |
|
| what exactly does that mean? | 07:25 |
| → atrigent joined | 07:25 |
| → abu joined | 07:26 |
| → iomari891 joined | 07:27 |
| ← john_johnk left | 07:33 |
|
bookworm
| that you don't have the commit that is referenced by the patch | 07:34 |
| ← sa0 left | 07:35 |
| → sa0 joined | 07:35 |
| → Lich17 joined | 07:35 |
| → eroux joined | 07:35 |
| ← Lich17 left | 07:38 |
| → csm3105 joined | 07:42 |
| ← abu left | 07:42 |
| → drogas joined | 07:45 |
| → feriman joined | 07:46 |
| → john_johnk joined | 07:47 |
| → DibbTubberOne joined | 07:48 |
| → rsx joined | 07:48 |
| ← romesrf left | 07:52 |
| ← roadie left | 07:56 |
| ← DibbTubberOne left | 07:58 |
| ← FinnElija left | 07:58 |
| ← gxt left | 07:58 |
| → FinnElija joined | 07:59 |
| → gxt joined | 07:59 |
| ← jim87 left | 08:03 |
| → dionysus69 joined | 08:07 |
| ← GNUmoon left | 08:08 |
| ← blahboybaz left | 08:09 |
| → tulpa_ joined | 08:09 |
| ← pulse_ left | 08:10 |
| ← drogas left | 08:10 |
| ← gurkenglas left | 08:11 |
| → Celelibi joined | 08:11 |
| → drogas joined | 08:12 |
| → TheCatBehemoth joined | 08:14 |
| → romesrf joined | 08:15 |
| ← Sulky__ left | 08:17 |
| ← atrigent left | 08:26 |
| → ethrl joined | 08:27 |
| → atrigent joined | 08:28 |
| → roadie joined | 08:31 |
| ← sudoforge left | 08:36 |
| ← henko left | 08:36 |
| → sudoforge joined | 08:38 |
| → GNUmoon joined | 08:40 |
| ← roadie left | 08:41 |
| ← ackyshake left | 08:47 |
| → kaiseisei1 joined | 08:48 |
| → nuala2 joined | 08:49 |
| ← kaiseisei left | 08:49 |
| kaiseisei1 → kaiseisei | 08:49 |
| → ackyshake joined | 08:55 |
| → zeenk joined | 08:55 |
| → Sulky joined | 08:55 |
| ← romesrf left | 08:58 |
| ← Murr left | 08:59 |
| → Murr joined | 08:59 |
| → romesrf joined | 08:59 |
| → Soulfire joined | 08:59 |
| → roadie joined | 09:07 |
| → Sulky_ joined | 09:11 |
| → TomyWork joined | 09:14 |
| ← Sulky left | 09:14 |
| → OJFord joined | 09:21 |
| → kaartic joined | 09:24 |
| → cdown joined | 09:24 |
| → nyah joined | 09:27 |
| ← kaartic left | 09:28 |
| ← bkircher left | 09:28 |
| → Rashad joined | 09:29 |
| ← atrigent left | 09:29 |
| → humanface joined | 09:29 |
| → atrigent joined | 09:30 |
| → m0viefreak joined | 09:36 |
| → bkircher joined | 09:36 |
| ← Soulfire left | 09:37 |
| ← sickdyd left | 09:37 |
| → Soulfire joined | 09:37 |
| ← Soulfire left | 09:37 |
| → DNH joined | 09:40 |
| → Soulfire joined | 09:41 |
| ← Soulfire left | 09:44 |
| ← jazzy left | 09:48 |
| ← romesrf left | 09:53 |
| ← DNH left | 09:54 |
| ← rfuentess left | 09:58 |
| ← yeirr left | 09:59 |
| → machaddr joined | 10:00 |
| ← humanface left | 10:02 |
| → sickdyd joined | 10:03 |
| → rfuentess joined | 10:08 |
| ← sickdyd left | 10:08 |
| ← wolf left | 10:10 |
| ← TheCatBehemoth left | 10:12 |
| → kaartic joined | 10:13 |
| ← bigendian left | 10:15 |
| → squirrel joined | 10:15 |
| → gas51627 joined | 10:15 |
| → ad__ joined | 10:15 |
| ← OJFord left | 10:17 |
| ← ad__ left | 10:21 |
| → ad__ joined | 10:21 |
| → romesrf joined | 10:23 |
| → DNH joined | 10:24 |
| ← ad__ left | 10:27 |
| ← kaartic left | 10:28 |
| → ad__ joined | 10:28 |
| ← drogas left | 10:29 |
| ← atrigent left | 10:30 |
| → wolf joined | 10:33 |
| → atrigent joined | 10:33 |
| → machaddr_ joined | 10:34 |
| ← machaddr left | 10:36 |
| → kaartic joined | 10:37 |
| → sickdyd joined | 10:38 |
| ← romesrf left | 10:40 |
| → romesrf joined | 10:41 |
| ← sickdyd left | 10:43 |
| ← kaartic left | 10:45 |
| ← roadie left | 10:46 |
| → kaartic joined | 10:50 |
| → forgotmynick joined | 10:51 |
| → roadie joined | 10:51 |
| → gurkenglas joined | 10:52 |
| ← kaiseisei left | 10:52 |
| ← masber left | 10:53 |
| ← kaartic left | 10:54 |
| → kaartic joined | 10:56 |
| ← vishal left | 10:56 |
| ← Ajax146 left | 10:58 |
| → Ajax1461 joined | 10:58 |
| → vishal joined | 10:59 |
| ← kaartic left | 11:00 |
| ← romesrf left | 11:02 |
| → romesrf joined | 11:04 |
| → kaartic joined | 11:04 |
| → sickdyd joined | 11:11 |
| ← kaartic left | 11:16 |
| ← sickdyd left | 11:16 |
| ← gurkenglas left | 11:19 |
| ← romesrf left | 11:20 |
| ← ackyshake left | 11:24 |
| → romesrf joined | 11:28 |
| → luckman212_ joined | 11:28 |
| → tyson2 joined | 11:28 |
| ← luckman212 left | 11:28 |
| → boka joined | 11:29 |
| ← atrigent left | 11:33 |
| ← romesrf left | 11:34 |
| → atrigent joined | 11:34 |
| → romesrf joined | 11:35 |
| ← peterhull90 left | 11:37 |
| → ice9 joined | 11:38 |
|
ice9
| how to clone repo by providing username/password interactively without using public key? | 11:38 |
| ← sudoforge left | 11:41 |
|
osse
| use the https URL | 11:41 |
| → wakeup joined | 11:43 |
| → kaartic joined | 11:44 |
| → pflanze joined | 11:48 |
| ← romesrf left | 11:48 |
| ← kaartic left | 11:49 |
| ← machaddr_ left | 11:49 |
| → peterhull90 joined | 11:50 |
| → sudoforge joined | 11:53 |
| → micah joined | 11:55 |
|
furrymcgee
| see man gitcredentials "REQUESTING CREDENTIALS" | 11:56 |
|
gitinfo
| the gitcredentials manpage is available at https://gitirc.eu/gitcredentials.html | 11:56 |
|
micah
| i've got a .gitignore that has one entry for a binary and nothing else. i've created a directory 'conf' and added files there, but git is ignoring them and I don't understand why | 11:56 |
|
| if I try to add the files, git says they are ignored, and to pass -f if I really want to do it | 11:56 |
|
| ok i see that the binary that I'm ignoring is the same name as a directory under conf, so I guess that is why it is ignoring it | 11:58 |
| ← sudoforge left | 11:58 |
| → Noisytoot joined | 11:58 |
| ← vicecea left | 11:59 |
|
osse
| micah: you can use git check-ignore | 11:59 |
| → vicecea joined | 11:59 |
|
micah
| osse: that was what I was looking for, thanks! | 12:00 |
| → sudoforge joined | 12:01 |
| → sickdyd joined | 12:01 |
| → bertvvvs joined | 12:02 |
| ← wakeup left | 12:02 |
| → Ajax14615 joined | 12:03 |
| ← Ajax1461 left | 12:05 |
| Ajax14615 → Ajax1461 | 12:05 |
| ← sickdyd left | 12:06 |
| → romesrf joined | 12:07 |
| → jinsun__ joined | 12:08 |
| ← csm3105 left | 12:08 |
| ← jinsun left | 12:09 |
| ← nickel715 left | 12:11 |
| → abu joined | 12:12 |
| ← coot left | 12:12 |
| → opow joined | 12:13 |
| → nickel715 joined | 12:13 |
| → coot joined | 12:14 |
| → csm3105 joined | 12:14 |
| → yeirr joined | 12:15 |
| ← csm3105 left | 12:16 |
| ← gas51627 left | 12:24 |
| → pulse_ joined | 12:26 |
| ← astlep left | 12:27 |
| pulse_ → pulse | 12:27 |
| ← malteger left | 12:28 |
| → malteger joined | 12:31 |
| ← opow left | 12:33 |
| ← atrigent left | 12:35 |
| ← otisolsen70 left | 12:38 |
| ← boka left | 12:38 |
| → atrigent joined | 12:46 |
| → rgrinberg joined | 12:50 |
| → samuelbernardo joined | 12:51 |
| → bloody joined | 12:53 |
| ← rgrinberg left | 12:55 |
| ← p3rry left | 12:56 |
| ← Murr left | 12:58 |
| → Murr joined | 12:59 |
| ← roadie left | 13:00 |
| → gildasio joined | 13:01 |
| → vladoski joined | 13:01 |
| → OnkelTem joined | 13:04 |
| → vimal joined | 13:04 |
| → vodkra joined | 13:05 |
| → RiFo joined | 13:07 |
| ← eroux left | 13:08 |
| ← forgotmynick left | 13:10 |
| → odoood joined | 13:12 |
|
stutz
| git:// uses tcp right? | 13:13 |
| → kaartic joined | 13:13 |
| → hoochmonger joined | 13:13 |
| → a1eaiactaest joined | 13:14 |
|
bremner
| yes | 13:15 |
|
stutz
| thanks, so the problem is not that :D | 13:16 |
| ← kaartic left | 13:17 |
| ← odoood left | 13:19 |
| ← jinsun__ left | 13:20 |
| → jinsun joined | 13:20 |
| → odoood joined | 13:21 |
| ← a1eaiactaest left | 13:21 |
| ← vodkra left | 13:23 |
| → vodkra joined | 13:23 |
| → roadie joined | 13:25 |
| → cousteau_ joined | 13:28 |
| ← romesrf left | 13:30 |
| → junktext joined | 13:30 |
|
cousteau_
| Merging a branch will require using a newer version of a tool, so I will need to modify the documentation in master to say "Use Tool v2.0 or newer" instead of v1.0. | 13:30 |
|
| Should I modify the doc and then merge, or merge and then modify the doc? | 13:31 |
| ← roadie left | 13:31 |
|
selckin
| modify it on the branch? | 13:32 |
|
cousteau_
| (also, a silly reason I want to change something before merging is that I have already merged master into the feature branch, and I kinda want the graph to show this merge going two ways and to give me the opportunity to write a proper merge commit message, but if I merge directly it'll fast-forward... Not sure if I should --no-ff only because of that) | 13:33 |
| ← hstct left | 13:33 |
|
cousteau_
| selckin: that'd make sense, yeah... But the truth is that the change also affects the current branch (I should've introduced it earlier) | 13:34 |
| → cvmn joined | 13:34 |
|
selckin
| roll a dice | 13:34 |
| → sickdyd joined | 13:35 |
|
cousteau_
| I think I'll --no-ff, for the sake of the graph | 13:36 |
| → zebrag joined | 13:36 |
| → roadie joined | 13:37 |
| → fillx joined | 13:40 |
| ← sickdyd left | 13:40 |
| → drogas joined | 13:41 |
|
karstensrage
| say i know a commit id like f3abe8533c3, how do you show the commit before that one | 13:42 |
|
| or the diffs from the one before to the one you know | 13:42 |
|
osse
| karstensrage: the commit before foo is foo~1 | 13:43 |
|
| the commit before that is foo~2 | 13:43 |
|
karstensrage
| is that a tilde? | 13:43 |
|
osse
| so you can do git diff foo~1 foo | 13:43 |
|
karstensrage
| or dash | 13:43 |
|
osse
| That is a tilde | 13:43 |
|
karstensrage
| ok | 13:43 |
|
osse
| man gitrevisions | 13:44 |
|
gitinfo
| the gitrevisions manpage is available at https://gitirc.eu/gitrevisions.html | 13:44 |
| ← Rhonda left | 13:44 |
|
karstensrage
| thank you osse thats what i needed | 13:45 |
| → Rhonda joined | 13:45 |
| ← fillx left | 13:46 |
| → fillx joined | 13:46 |
| → cdown_ joined | 13:48 |
| → roadie` joined | 13:49 |
| → han-solo joined | 13:49 |
| ← cdown left | 13:51 |
| cdown_ → cdown | 13:51 |
| ← OnkelTem left | 13:51 |
| ← roadie left | 13:52 |
| → reset joined | 13:52 |
| → OnkelTem joined | 13:54 |
| ← kenan-office left | 13:59 |
| ← bodiccea left | 14:01 |
| → opow joined | 14:03 |
| ← roadie` left | 14:05 |
| ← vdamewood left | 14:06 |
|
nedbat
| karstensrage, osse: also: foo^ iiuc | 14:08 |
| → ChmEarl joined | 14:09 |
| → romesrf joined | 14:12 |
| ← fillx left | 14:12 |
| → filly joined | 14:12 |
|
mackerman
| There is a difference. ~2 is first parent of first parent, but ^2 is second parent | 14:12 |
| → thiago joined | 14:14 |
|
osse
| indeedily doodely | 14:14 |
| ← romesrf left | 14:16 |
| → bodiccea joined | 14:17 |
| → gurkenglas joined | 14:19 |
| ← opow left | 14:20 |
| → madewokherd joined | 14:22 |
| ← madewokherd` left | 14:24 |
| → pretty_dumm_guy joined | 14:25 |
| ← remedan left | 14:30 |
| ← filly left | 14:31 |
| → filly joined | 14:32 |
| → LuxuryMode joined | 14:32 |
| → fillx joined | 14:36 |
| → remedan joined | 14:37 |
| → opow joined | 14:38 |
| ← filly left | 14:38 |
| → rkta__ joined | 14:41 |
| → gast0n joined | 14:42 |
| → romesrf joined | 14:42 |
| rkta__ → rkta | 14:44 |
| ← bertvvvs left | 14:44 |
| ← Rashad left | 14:48 |
|
cousteau_
| ^1 ^2 etc are useful for merge commits, so if you want to specify "the commit before" but there are several "commit before"s, you may want to specify foo^1 or foo^2. Alas, I have no idea which is which. | 14:48 |
| ← opow left | 14:48 |
|
cousteau_
| I suppose ^1 will be the branch into which the merge was done, and ^2 the merged branch. | 14:49 |
| ← rkta left | 14:50 |
|
Marmotte
| cousteau_: there is an illustration of that in the manpage but... not really useful IMO :D | 14:51 |
| ← cvmn left | 14:52 |
|
Marmotte
| (in the "git revisions" manpage) | 14:52 |
| → rkta_ joined | 14:52 |
| rkta_ → rkta | 14:52 |
|
matthewcroughan_
| how do you ignore all files below the root, by a certain name? Is that possible? | 14:52 |
|
| I want to ban the file "foo" from being anywhere other than the root | 14:52 |
|
| "foo" is only allowed at the root. | 14:52 |
|
cousteau_
| foo !/foo | 14:54 |
| → rgrinberg joined | 14:54 |
|
cousteau_
| (in two separate lines in .gitignore) | 14:54 |
|
| I.e., "ignore all files/folders named 'foo', but don't ignore files/folders named 'foo' in root" | 14:55 |
| → kenanmarasli joined | 14:56 |
|
cousteau_
| Or... Maybe you can do just /*/**/foo | 14:56 |
|
| "ignore foo any number of levels below any subfolder of root" | 14:57 |
|
cambrian_invader
| is it possible to disable submodule.recurse only for particular submodules? | 14:57 |
| → jokerface joined | 15:01 |
|
jokerface
| Please join to my new channel #stockmarkets | 15:01 |
| ← jokerface left | 15:01 |
| → summercampusr01 joined | 15:05 |
|
summercampusr01
| looking for summer camps for elementary grade kids, Is there any git related learning summer camps for kids or materials available? | 15:06 |
| → sickdyd joined | 15:07 |
|
| cousteau_ now feels ashamed for only learning git in the last years of college | 15:07 |
| ← sickdyd left | 15:12 |
| ← fillx left | 15:18 |
| ← rgrinberg left | 15:22 |
| ← ice9 left | 15:25 |
| → KnoP joined | 15:27 |
| ← vladoski left | 15:29 |
| → dimi1947 joined | 15:32 |
| ← OnkelTem left | 15:33 |
| ← mitrokov left | 15:35 |
| ← theoceaniscool left | 15:35 |
| ← lilgopher left | 15:35 |
| → OnkelTem joined | 15:36 |
| → theoceaniscool joined | 15:38 |
| ← dtux left | 15:40 |
| → dtux joined | 15:40 |
| ← mseidl left | 15:41 |
| → szkl joined | 15:41 |
| → vitali64 joined | 15:41 |
| ← dtux left | 15:41 |
| → haise01 joined | 15:42 |
| ← gast0n left | 15:42 |
| → iamtheranger joined | 15:44 |
| → t0mm13b_ joined | 15:45 |
| → gh34 joined | 15:45 |
| → dtux joined | 15:46 |
| ← t0mm13b left | 15:46 |
| → ws2k3 joined | 15:46 |
| → iffraff joined | 15:47 |
| → wakeup joined | 15:47 |
| ← madewokherd left | 15:48 |
| ← dtux left | 15:49 |
| → kaartic joined | 15:52 |
| → dtux joined | 15:52 |
| → jim87 joined | 15:54 |
| ← rsx left | 15:54 |
| ← kaartic left | 15:56 |
| ← junktext left | 15:56 |
| → bertvvvs joined | 15:57 |
| → opow joined | 15:58 |
| ← Visor left | 15:59 |
| → Visor joined | 15:59 |
| ← peterhull90 left | 16:02 |
| ← jim87 left | 16:05 |
| ← opow left | 16:08 |
| → machaddr joined | 16:08 |
| ← machaddr left | 16:09 |
| → hstct joined | 16:11 |
| ← odoood left | 16:13 |
| → rgrinberg joined | 16:16 |
| ← rgrinberg left | 16:20 |
| → great_taste joined | 16:23 |
| ← zeenk left | 16:24 |
| → dos_ joined | 16:26 |
| → vicfred joined | 16:26 |
| ← drogas left | 16:29 |
| ← carl--- left | 16:30 |
| → slaughter joined | 16:31 |
| ← theoceaniscool left | 16:32 |
| ← micah left | 16:33 |
| → Guest8417 joined | 16:35 |
| ← pflanze left | 16:38 |
| ← tyson2 left | 16:39 |
| ← rfuentess left | 16:40 |
| → rkta__ joined | 16:41 |
| ← rkta__ left | 16:42 |
| ← tulpa_ left | 16:42 |
| ← dos_ left | 16:43 |
| ← slaughter left | 16:44 |
| → rkta__ joined | 16:46 |
| ← atrigent left | 16:47 |
| → atrigent joined | 16:48 |
| ← YuGiOhJCJ left | 16:50 |
| → howdoi joined | 16:51 |
| ← cousteau_ left | 16:51 |
| → madewokherd joined | 16:54 |
| ← rkta__ left | 16:58 |
| → rkta__ joined | 16:59 |
| ← coot left | 17:00 |
| → dos_ joined | 17:00 |
| ← dos_ left | 17:01 |
| → dos_ joined | 17:01 |
| → Sasazuka joined | 17:05 |
| ← ano left | 17:14 |
| → skapata joined | 17:14 |
| ← skapata left | 17:14 |
| → skapata joined | 17:14 |
| → ano joined | 17:16 |
| → Anarchic joined | 17:19 |
| → megamus_prime_ joined | 17:19 |
| → rgrinberg joined | 17:19 |
| ← Anarchic` left | 17:20 |
| ← yeirr left | 17:23 |
| → jinsun__ joined | 17:27 |
| ← GNUmoon left | 17:29 |
| → GNUmoon joined | 17:30 |
| ← jinsun left | 17:30 |
| → Sasazuka__ joined | 17:30 |
| → tyson2 joined | 17:32 |
| ← Sasazuka left | 17:32 |
| ← dimi1947 left | 17:33 |
| ← Sasazuka__ left | 17:35 |
| → Sasazuka joined | 17:36 |
| ← blaklistd left | 17:36 |
| → sickdyd joined | 17:36 |
| → blaklistd joined | 17:36 |
| ← sickdyd left | 17:41 |
| → sobkas joined | 17:42 |
| → Betal joined | 17:43 |
| → mseidl joined | 17:45 |
| ← dionysus69 left | 17:47 |
| ← atrigent left | 17:48 |
| ← mseidl left | 17:49 |
| → atrigent joined | 17:49 |
| → AriESQ joined | 17:54 |
|
AriESQ
| does anyone have a .gitconfig that uses an `includeif` directive to load different git config profiles? | 17:54 |
|
ikke
| yes | 18:00 |
| ← OnkelTem left | 18:06 |
| → justsomeguy joined | 18:06 |
| ← GNUmoon left | 18:07 |
| → OnkelTem joined | 18:08 |
| → bambanxx joined | 18:13 |
| → carl--- joined | 18:13 |
|
AriESQ
| could I ask you to throw up a gist/pastebin (anonymized)? I've been working on this for ~2 hours and I can't get it to work | 18:16 |
|
ikke
| https://tpaste.us/oODY | 18:18 |
| → murii joined | 18:19 |
| → coot joined | 18:19 |
| → GNUmoon joined | 18:20 |
| ← mexen left | 18:21 |
| ← bambanxx left | 18:22 |
| ← dtux left | 18:22 |
| ← murii_ left | 18:23 |
|
AriESQ
| Hrm. mine fails even if I omit your second line. And I made sure the dir `gitdir` references 1) exists and 2) has a repo in it. IDK, I think i've run into a macos bug :/ Next step is to try it on linux | 18:24 |
| ← rgrinberg left | 18:31 |
| → teut joined | 18:33 |
| ← jiffe1 left | 18:34 |
| → jiffe1 joined | 18:36 |
| ← coot left | 18:37 |
| ← locrian9 left | 18:38 |
| → bambanxx joined | 18:39 |
| → ramblebamble joined | 18:40 |
| → XV8 joined | 18:42 |
| ← adanwan left | 18:42 |
| → adanwan joined | 18:42 |
| → molt joined | 18:48 |
| → leon joined | 18:48 |
| → ackyshake joined | 18:49 |
| ← Guest8417 left | 18:49 |
| → odoood joined | 18:49 |
| ← atrigent left | 18:49 |
| → atrigent joined | 18:56 |
| → Jong joined | 18:57 |
| ← iomari891 left | 18:58 |
| ← Murr left | 18:58 |
| → Murr joined | 18:58 |
| → zer0bitz joined | 18:58 |
| → fillx joined | 18:59 |
| ← zebrag left | 19:01 |
| → rgrinberg joined | 19:05 |
| → ice9 joined | 19:09 |
| ← t0mm13b_ left | 19:10 |
| → ice99 joined | 19:12 |
| ← ramblebamble left | 19:12 |
| → jazzy joined | 19:13 |
| ← ice9 left | 19:14 |
| → ice9 joined | 19:15 |
| ← DNH left | 19:16 |
| ← ice99 left | 19:17 |
| ← odoood left | 19:17 |
| → causasui joined | 19:20 |
| ← TomyWork left | 19:20 |
| ← XV8 left | 19:22 |
| → XV8 joined | 19:23 |
| ← Jck_true left | 19:23 |
| → Jck_true joined | 19:23 |
| ← rkta__ left | 19:24 |
| → rkta__ joined | 19:24 |
| ← rkta__ left | 19:25 |
| → wpcarro joined | 19:28 |
|
wpcarro
| someone committed sensitive data, and I used `git rebase` to change it to "REDACTED". gitleaks still reports a commit as having that info, but `git show-ref` returns nothing... how can I further purge this from my repo? | 19:30 |
| → lukedashjr joined | 19:32 |
|
wpcarro
| I tried expiring the reflog and garbage-collecting, but it's sticking around (zombie commit!) | 19:33 |
|
| how can I dig deeper to understand what's referencing this commit? | 19:33 |
| ← luke-jr left | 19:33 |
| lukedashjr → luke-jr | 19:33 |
|
ikke
| wpcarro: can you try git prune --expire now | 19:35 |
| ← justsomeguy left | 19:36 |
|
| wpcarro trying | 19:36 |
|
wpcarro
| should I gc after? | 19:36 |
| ← kenanmarasli left | 19:36 |
|
ikke
| No, git prune is part of git gc | 19:36 |
|
wpcarro
| hmm okay - commit still exists :( | 19:37 |
| ← tyson2 left | 19:37 |
|
wpcarro
| git show confirms the sensitive data still therein | 19:37 |
| ← bkircher left | 19:38 |
|
ikke
| wpcarro: can you find the commit with `git log --oneline --no-walk --source --all`? | 19:39 |
|
selckin
| my script to remove everything has unreachable is 'git reflog expire --expire=now --all && git gc --prune=now' but ikke probably knows better | 19:40 |
|
wpcarro
| git branch -a --contains commit doesn't report anything either | 19:40 |
| ← teut left | 19:42 |
| ← foul_owl left | 19:42 |
| → pflanze joined | 19:43 |
|
wpcarro
| not sure why `git show-ref $commit` exits non-zero but `git show $commit` shows the diff | 19:45 |
|
ikke
| a commit is not a ref | 19:46 |
|
wpcarro
| ah okay :facepalm: | 19:46 |
|
| I assumed it showed references to the commit | 19:46 |
| ← KlungelSmurf left | 19:47 |
| → KlungelSmurf joined | 19:47 |
|
wpcarro
| `git for-each-ref --contains $commit` seems to report a few things | 19:47 |
| ← rgrinberg left | 19:49 |
| ← john_johnk left | 19:51 |
| → john_johnk joined | 19:51 |
| → kaartic joined | 19:52 |
| ← molt left | 19:53 |
| ← dos_ left | 19:53 |
| → foul_owl joined | 19:56 |
| ← kaartic left | 19:57 |
| → junktext joined | 19:58 |
| ← summercampusr01 left | 19:59 |
| ← ___nick___ left | 20:04 |
| → NeilRG joined | 20:06 |
|
NeilRG
| how do I revert a file in a branch to the version from main? | 20:06 |
|
| (without using checkout) | 20:06 |
|
| git reset doesn't seem to work? | 20:06 |
|
ikke
| NeilRG: What is wrong with checkout? | 20:06 |
|
NeilRG
| ah n | 20:06 |
|
| nm | 20:06 |
|
| ikke, I disabled it | 20:06 |
|
| I'm trying to learn to do everythign with git switch and git reset | 20:07 |
| → teut joined | 20:07 |
|
ikke
| you want restore, not reset | 20:07 |
| → sickdyd joined | 20:07 |
|
NeilRG
| sorry I meant git restore and git switch | 20:07 |
|
| but in this cas,e I had to use reset? | 20:07 |
|
| git reset main -- path-to-file | 20:07 |
|
ikke
| That would not update the file in your working tree | 20:08 |
| → machaddr joined | 20:08 |
|
ikke
| git checkout <commit> <file> or git restore -s <commit> -SW <file> | 20:09 |
|
NeilRG
| ikke, yeah it's confusing me | 20:09 |
|
| ikke, I disabled checkout | 20:09 |
|
| ah -s | 20:09 |
|
| okay thanks | 20:09 |
|
| grs -s main -SW file? | 20:10 |
|
ikke
| ? | 20:11 |
| ← han-solo left | 20:13 |
| ← sickdyd left | 20:14 |
| → t0mm13b joined | 20:17 |
| → locrian9 joined | 20:17 |
| → Shentino_ joined | 20:24 |
| ← Shentino_ left | 20:25 |
| ← Shentino left | 20:26 |
| ← machaddr left | 20:29 |
| ← Vonter left | 20:33 |
| → coot joined | 20:35 |
| ← hoochmonger left | 20:39 |
| → Sulky__ joined | 20:45 |
| → nate1 joined | 20:46 |
| ← Sulky_ left | 20:47 |
| ← ano left | 20:49 |
| ← fling left | 20:49 |
| ← chexum left | 20:49 |
| → ano joined | 20:50 |
| → chexum joined | 20:50 |
| → fling joined | 20:50 |
|
wpcarro
| I think all of the references are in refs/replace... does git-filter-repo create those maybe? | 20:51 |
| ← txtsd1 left | 20:51 |
| → moldorcoder7 joined | 20:52 |
| → txtsd1 joined | 20:53 |
|
wpcarro
| is there a danger is deleting all replace refs? | 20:55 |
| ← sobkas left | 20:55 |
| ← coot left | 20:57 |
| ← atrigent left | 20:58 |
| → atrigent joined | 20:58 |
| → odoood joined | 20:58 |
| ← odoood left | 20:59 |
| ← ano left | 21:00 |
| → ano joined | 21:01 |
|
wpcarro
| solution - `git replace -d $(git for-each-ref --contains $commit | awk '{print $3}' | sed 's/refs\/replace\///')` | 21:01 |
| → midnight joined | 21:02 |
|
midnight
| I have ancient mirrors of git repositories which are long-ago labelled private now, or otherwise defunct on github. Now, when I attempt to git fetch --all, it sits there waiting for me to key in a user/pass. I would like to just short-circuit fail this. Is there some setting that I can't find, like --batch or something which will skip that and just fail? | 21:03 |
| ← LuxuryMode left | 21:03 |
| ← madewokherd left | 21:04 |
| ← feriman left | 21:05 |
| ← romesrf left | 21:08 |
| ← Tabmow left | 21:08 |
|
midnight
| nvm, found GIT_ASKPASS and I have a small script just output nonsense vars. Thanks! | 21:09 |
| ← midnight left | 21:09 |
| ← bertvvvs left | 21:09 |
| → Tabmow joined | 21:10 |
| ← szkl left | 21:10 |
| ← ethrl left | 21:13 |
| ← bambanxx left | 21:14 |
| → zebrag joined | 21:14 |
| → tyson2 joined | 21:15 |
| ← crabbedhaloablut left | 21:21 |
| → crabbedhaloablut joined | 21:22 |
| ← vitali64 left | 21:23 |
| ← gh34 left | 21:23 |
| ← NeilRG left | 21:27 |
| → Guest9018 joined | 21:29 |
| → madewokherd joined | 21:33 |
| ← causasui left | 21:33 |
| ← Guest9018 left | 21:34 |
| ← fillx left | 21:38 |
| ← zer0bitz left | 21:38 |
| ← OnkelTem left | 21:38 |
| → blahboybaz joined | 21:39 |
| ← blahboybaz left | 21:39 |
| → blahboybaz joined | 21:39 |
| → OnkelTem joined | 21:41 |
| → bambanxx joined | 21:48 |
| ← nate1 left | 21:48 |
| → queue- joined | 21:50 |
| ← wakeup left | 21:51 |
| ← great_taste left | 21:56 |
| ← adanwan left | 21:56 |
| → adanwan joined | 21:57 |
| ← atrigent left | 21:59 |
| → atrigent joined | 22:00 |
| ← palasso left | 22:03 |
| ← teut left | 22:04 |
| → teut joined | 22:04 |
| → Echoz joined | 22:08 |
| → vancz joined | 22:14 |
| ← john_johnk left | 22:18 |
|
wpcarro
| any reason `git-filter-repo --path 'path/to/__pycache__' --invert-paths` wouldn't delete path/to/__pycache__ from a repo? | 22:20 |
|
| I've even tried `git-filter-repo --path-regex '.*__pycache__.*' --invert-path`... is there special behavior with directories? Help page says dir or file | 22:20 |
| ← derfj left | 22:25 |
| ← ice9 left | 22:29 |
| → derfj joined | 22:29 |
| ← Sulky__ left | 22:30 |
| ← crabbedhaloablut left | 22:32 |
| → crabbedhaloablut joined | 22:33 |
| ← crabbedhaloablut left | 22:33 |
| → crabbedhaloablut joined | 22:33 |
| ← murii left | 22:37 |
| → sickdyd joined | 22:38 |
| ← riposte left | 22:38 |
| ← bambanxx left | 22:41 |
| ← sickdyd left | 22:43 |
| ← locrian9 left | 22:44 |
| → rgrinberg joined | 22:48 |
| → bambanxx joined | 22:52 |
| ← bambanxx left | 22:52 |
| ← m0viefreak left | 22:53 |
| → mw_ joined | 22:55 |
| → riposte joined | 22:57 |
| → wolfshappen joined | 23:00 |
| → fillx joined | 23:03 |
| ← teut left | 23:04 |
| ← fillx left | 23:08 |
| ← sa0 left | 23:09 |
| ← FinnElija left | 23:10 |
| → Azem joined | 23:13 |
| → Shentino joined | 23:13 |
| → ferdna joined | 23:15 |
| ← haise01 left | 23:15 |
| → sickdyd joined | 23:16 |
| ← ferdna left | 23:25 |
| → ferdna_ joined | 23:25 |
| → sa0 joined | 23:29 |
| ← onizu left | 23:29 |
| ← OnlineCop left | 23:32 |
| → FinnElija joined | 23:32 |
| ← sa0 left | 23:33 |
| ← carl--- left | 23:34 |
| → drew joined | 23:37 |
| ← Azem left | 23:38 |
| ← LuKaRo left | 23:40 |
| → LuKaRo joined | 23:45 |
| ← ferdna_ left | 23:48 |
| ← wolfshappen left | 23:48 |
| → ferdna joined | 23:48 |
| → szkl joined | 23:50 |
| → piwu joined | 23:51 |
| ← blahboybaz left | 23:53 |