| 2022-10-14 |
| ← lucasta left | 00:01 |
| → tomboy64 joined | 00:03 |
| → lucasta joined | 00:03 |
| ← rama left | 00:04 |
| → rama joined | 00:05 |
| → Arokh joined | 00:05 |
| ← lucasta left | 00:08 |
| → TonyStone joined | 00:08 |
| → lucasta joined | 00:09 |
| ← atrigent left | 00:12 |
| → atrigent_ joined | 00:12 |
| → hiroot joined | 00:12 |
| ← gas51627 left | 00:13 |
| ← skylize left | 00:13 |
| → roadie joined | 00:14 |
| → arch_angel joined | 00:15 |
| → skylize joined | 00:16 |
| ← arch_angel left | 00:16 |
| ← lucasta left | 00:16 |
| → lucasta joined | 00:16 |
| → arch_angel joined | 00:17 |
| ← BlessJah left | 00:18 |
| ← roadie left | 00:19 |
| → zebrag joined | 00:19 |
| → BlessJah joined | 00:20 |
| ← lucasta left | 00:20 |
| ← rama left | 00:21 |
| → lucasta joined | 00:21 |
| → rama joined | 00:21 |
| ← dfee left | 00:24 |
| ← m0viefreak left | 00:24 |
| ← xx left | 00:26 |
| → gsi_ joined | 00:29 |
| → derpydoo joined | 00:29 |
| ← gsi left | 00:32 |
| ← epony left | 00:33 |
| ← anarcat left | 00:36 |
| ← mat001 left | 00:36 |
| ← nyah left | 00:37 |
| ← lucasta left | 00:38 |
| → lucasta joined | 00:38 |
| → epony joined | 00:48 |
| ← rama left | 00:50 |
| → rama joined | 00:50 |
| → dfee joined | 00:55 |
| ← Lord_of_Life left | 00:55 |
| → Lord_of_Life_ joined | 00:55 |
| ← lucasta left | 00:55 |
| → lucasta joined | 00:55 |
| Lord_of_Life_ → Lord_of_Life | 00:56 |
| → pyeverything joined | 00:57 |
| → forgotmynick joined | 00:59 |
| ← gvg left | 01:00 |
| → roadie joined | 01:00 |
| → Maxattax joined | 01:03 |
| ← Sasazuka left | 01:03 |
| ← roadie left | 01:05 |
| → ajshell1 joined | 01:23 |
| ← Cleverness left | 01:25 |
| ← gsgx left | 01:29 |
| ← umbramalison left | 01:31 |
| → umbramalison joined | 01:32 |
| ← umbramalison left | 01:36 |
| → umbramalison joined | 01:37 |
| ← rama left | 01:37 |
| → rama joined | 01:38 |
| ← arescorpio left | 01:39 |
| ← hans_ left | 01:42 |
| ← rama left | 01:45 |
| → nate1 joined | 01:45 |
| → rama joined | 01:45 |
| ← rama left | 01:47 |
| → elastic_1 joined | 01:55 |
| elastic_dog → Guest1530 | 01:55 |
| ← Guest1530 left | 01:55 |
| elastic_1 → elastic_dog | 01:55 |
| ← pulse left | 02:00 |
| ← rurtty left | 02:05 |
| ← lucasta left | 02:06 |
| → lucasta joined | 02:08 |
|
ztrawhcse
| bad git history -- and I assume fossil as well -- includes several hundred commits in which you add, then edit, then re-edit, then remove, a bunch of debug printfs and CI workflow logging statements | 02:09 |
|
| and I wonder, what is fossil's solution to "oops I just accidentally committed a 50mb binary 4 commits back, and I'd rather that not bloat the history and burden the object storage" | 02:11 |
|
| it's not like you can make an editorial comment on that. And accidentally committing the wrong file isn't useful history to tell you how a feature was created "false starts and all" | 02:12 |
| ← lucasta left | 02:14 |
| → rama joined | 02:15 |
| ← rama left | 02:15 |
| → structoha joined | 02:17 |
| → thebombzen joined | 02:18 |
| → riposte joined | 02:19 |
| ← dfee left | 02:21 |
| ← ajshell1 left | 02:24 |
| → sjoshi joined | 02:27 |
| ← sjoshi left | 02:28 |
| → roadie joined | 02:30 |
| → Guest81 joined | 02:32 |
| → finn_elija joined | 02:33 |
| ← FinnElija left | 02:33 |
| finn_elija → FinnElija | 02:33 |
| → sjoshi joined | 02:33 |
| ← sjoshi left | 02:34 |
| → YuGiOhJCJ joined | 02:36 |
| → gildasio joined | 02:36 |
| → ajshell1 joined | 02:38 |
| ← structoha left | 02:39 |
| → dfee joined | 02:39 |
| ← ajshell1 left | 02:40 |
| → gvg joined | 02:42 |
| → sjoshi joined | 02:42 |
| ← roadie left | 02:42 |
| → ajshell1 joined | 02:42 |
| ← sjoshi left | 02:43 |
| ← terrorjack left | 02:45 |
| → junebug joined | 02:46 |
| → terrorjack joined | 02:46 |
| → winter joined | 02:47 |
| ← dfee left | 02:48 |
| ← nate1 left | 02:48 |
| → mat001 joined | 02:52 |
| → roadie joined | 02:55 |
| ← Murr left | 02:58 |
| → Murr joined | 02:58 |
| ← Guest81 left | 03:00 |
| ← cbreak left | 03:00 |
| ← roadie left | 03:02 |
| ← mat001 left | 03:05 |
| → mat001 joined | 03:06 |
| ← derpydoo left | 03:08 |
| ← gast0n left | 03:16 |
| → sjoshi joined | 03:17 |
| ← forgotmynick left | 03:19 |
| sjoshi → c0dehu1k | 03:20 |
| ← Betal left | 03:23 |
| ← hiroot left | 03:26 |
| → hiroot joined | 03:27 |
| → ProperNoun joined | 03:28 |
| → bket joined | 03:34 |
| ← sudoforge left | 03:42 |
| ← moldorcoder7 left | 03:45 |
| → Dotz0cat joined | 03:50 |
| ← atrigent_ left | 03:55 |
| → atrigent joined | 03:55 |
| → roadie joined | 04:06 |
| → xaxas joined | 04:06 |
| ← pyeverything left | 04:06 |
| → pyeveryt_ joined | 04:07 |
| ← bloody left | 04:08 |
| → KimK joined | 04:11 |
| → dfee joined | 04:11 |
| ← pyeveryt_ left | 04:12 |
|
intelfx
| Is it possible to instruct `git-send-email` to back up the final edited messages somewhere, and pick them up again when re-invoked after a network failure? | 04:14 |
|
| E. g. I type `git send-email ... --annotate --cover-letter`, write a nice and detailed cover letter, maybe fix up some other patches, hit send and then some sort of SMTP error happens and all my edits are basically gone to /dev/null. How do I avoid that? | 04:14 |
|
| Or am I doing it wrong? | 04:14 |
|
bookworm
| you can use format-patch rather than send-email | 04:15 |
|
| then send them manually with something that can retry | 04:15 |
|
| there might be a better way | 04:16 |
|
intelfx
| I hope there is; I would really prefer to avoid setting up a separate command-line mailer. Surely there is a way everyone is doing it? | 04:17 |
| → Vonter joined | 04:19 |
| ← roadie left | 04:20 |
|
bookworm
| I mean, you can just point send-email to your preferred smtp client that has a queue | 04:26 |
|
| local postfix say | 04:26 |
|
| or whatever the addon of msmtp is that can queie | 04:26 |
|
ztrawhcse
| intelfx: you can run format-patch, edit your files, and then git send-email *.patch | 04:27 |
|
intelfx
| ztrawhcse: oh, that sounds workable I guess | 04:28 |
|
| thanks | 04:28 |
|
ztrawhcse
| > Takes the patches given on the command line and emails them out. Patches can be specified as files, directories (which will send all files in the directory), or directly as a revision list. In the last case, any format accepted by git-format-patch[1] can be passed to git send-email | 04:28 |
|
intelfx
| Yeah, I completely overlooked that. | 04:29 |
|
ztrawhcse
| see, technically speaking the main use of send-email is actually running it on the files output by format-patch ;) | 04:29 |
|
intelfx
| Now that I actually think about it, you're right of course | 04:29 |
|
| I guess I was taught to use `send-email <format-patch options>` and never stopped to see that there's another way | 04:30 |
|
ztrawhcse
| it was an eye-opening experience for me too, back in the day. | 04:30 |
|
| that being said. | 04:31 |
|
| it's sort of dumb that send-email doesn't save the temp directory if sending failed. | 04:31 |
|
| the authors probably assumed that you could just re-export the patches, but this is awkward if you've added timely commentary and cover letters to them... | 04:32 |
|
intelfx
| now that I think about it a bit more, it should be a ridiculously easy thing to support, just save the temp dir and print a helpful message along the lines of "There was a problem mailing your patches out; fix it and re-run git send-email ${WORKDIR}" | 04:33 |
|
| right? | 04:33 |
| → sudoforge joined | 04:36 |
| ← dfee left | 04:37 |
| ← fling left | 04:38 |
|
intelfx
| maybe even only do it if --annotate or --cover-letter was passed, or even hash the patches and only do it if the contents differ after invoking the editor (but this is probably too automagic) | 04:40 |
| → fling joined | 04:40 |
| ← clime left | 04:41 |
| → cdown joined | 04:41 |
| → roadie joined | 04:46 |
| → pyeveryt_ joined | 04:47 |
| ← zumba_addict left | 04:53 |
| ← arch_angel left | 04:54 |
| ← Coop left | 04:59 |
| ← roadie left | 05:01 |
| → madewokherd` joined | 05:09 |
| → codaraxis__ joined | 05:09 |
| ← madewokherd left | 05:12 |
| ← codaraxis___ left | 05:13 |
| ← jazz-o-lantern left | 05:21 |
| ← junebug left | 05:30 |
| ← zebrag left | 05:34 |
| ← riposte left | 05:37 |
| → riposte joined | 05:38 |
| → jiffe joined | 05:38 |
| → IRChatter joined | 05:41 |
| ← jiffe left | 05:46 |
| → jiffe joined | 05:48 |
| ← jiffe left | 05:53 |
| ← dsrt^ left | 05:54 |
| → jiffe joined | 05:54 |
| → srinidhi joined | 05:56 |
| → lgc joined | 05:57 |
| ← lgc left | 05:57 |
| ← gryffus left | 05:59 |
| → roadie joined | 06:03 |
| ← cyberpear left | 06:05 |
| → cyberpear joined | 06:06 |
| → whatsupdoc joined | 06:08 |
| → coot joined | 06:10 |
| ← pyeveryt_ left | 06:18 |
| ← mrmango17 left | 06:29 |
| → mrmango17 joined | 06:29 |
| → lucasta joined | 06:30 |
| → igemnace joined | 06:36 |
| → kenanmarasli joined | 06:41 |
| ← momomo left | 06:42 |
| ← fling left | 06:45 |
| → nate1 joined | 06:46 |
| → rfuentess joined | 06:46 |
| → pyeverything joined | 06:48 |
| → fling joined | 06:48 |
| ← pyeverything left | 06:49 |
| → pyeverything joined | 06:49 |
| ← pyeverything left | 06:49 |
| → pyeverything joined | 06:50 |
| ← nate1 left | 06:51 |
| → paddymahoney joined | 06:51 |
| ← pyeverything left | 06:55 |
| ← Vonter left | 06:55 |
| ← sudoforge left | 06:57 |
| ← cdown left | 07:02 |
| ← LuxuryMode left | 07:05 |
| → Telmud joined | 07:08 |
| → sudoforge joined | 07:08 |
| → TomyWork joined | 07:13 |
| ← thiago left | 07:13 |
| ← hamburgler left | 07:13 |
| ← lucasta left | 07:19 |
| → elastic_1 joined | 07:19 |
| ← elastic_dog left | 07:19 |
| elastic_1 → elastic_dog | 07:19 |
| ← riposte left | 07:19 |
| → lucasta joined | 07:19 |
| → sa0 joined | 07:22 |
| ← zan left | 07:24 |
| → Guest3 joined | 07:25 |
|
mcon
| nedbat: Thanks. Works like a charm! | 07:28 |
| → MajorBiscuit joined | 07:30 |
| ← fling left | 07:31 |
| → pyeveryt_ joined | 07:32 |
| → fling joined | 07:32 |
| → agarr joined | 07:32 |
| → Major_Biscuit joined | 07:33 |
| ← c0dehu1k left | 07:34 |
| → Ugrastil277 joined | 07:35 |
| ← lucasta left | 07:36 |
| → lucasta joined | 07:36 |
| ← MajorBiscuit left | 07:37 |
| → Guest82 joined | 07:37 |
| → Vonter joined | 07:38 |
| → Guest6246 joined | 07:40 |
| ← Guest6246 left | 07:40 |
| → zan joined | 07:40 |
| ← pyeveryt_ left | 07:41 |
| ← roadie left | 07:43 |
| ← YuGiOhJCJ left | 07:43 |
| ← lucasta left | 07:45 |
| → feriman joined | 07:45 |
| → lucasta joined | 07:45 |
| → YuGiOhJCJ joined | 07:46 |
| ← lucasta left | 07:50 |
| → lucasta joined | 07:52 |
| → VaniaPy joined | 07:54 |
| → riposte joined | 07:54 |
| ← vdamewood left | 07:55 |
| → vinleod joined | 07:55 |
| → roadie joined | 08:08 |
| → carl- joined | 08:09 |
| ← lucasta left | 08:11 |
| ← adanwan left | 08:13 |
| → adanwan joined | 08:14 |
| → pyeveryt_ joined | 08:15 |
| ← riposte left | 08:15 |
| → lucasta joined | 08:15 |
| ← roadie left | 08:16 |
| ← skapata left | 08:16 |
| → riposte joined | 08:16 |
| → __xor joined | 08:22 |
| ← pyeveryt_ left | 08:22 |
| ← lucasta left | 08:23 |
| ← hiroot left | 08:25 |
| → lucasta joined | 08:25 |
| → DibbTubberOne joined | 08:25 |
| → mastarija joined | 08:27 |
|
mastarija
| Is there a way to check if a git repository is empty? When I clone an empty git repo I get "You appear to have cloned an empty repository." | 08:28 |
|
| How can I test for that in my script? | 08:28 |
| → dionysus69 joined | 08:30 |
|
osse
| mastarija: How Git interally does it is to check whether HEAD points to a valid branch | 08:30 |
|
mastarija
| Is there a command for that check? Something I can test? | 08:31 |
|
osse
| o something like git rev-parse --verify $(git symbolic-ref HEAD) I guess | 08:31 |
|
mastarija
| Ok, thanks! | 08:32 |
| → gas51627 joined | 08:32 |
| → nyah joined | 08:32 |
|
osse
| Or you can test if git clone prints that message? :P | 08:33 |
| → iomari891 joined | 08:33 |
|
mastarija
| I need to test it after cloning | 08:35 |
| ← DonRichie left | 08:40 |
| → roadie joined | 08:41 |
| → IRChatter0 joined | 08:43 |
| ← lucasta left | 08:43 |
| → lucasta joined | 08:44 |
| ← IRChatter left | 08:45 |
| IRChatter0 → IRChatter | 08:45 |
| → rsx joined | 08:46 |
| ← KimK left | 08:46 |
| ← roadie left | 08:46 |
| → murii joined | 08:47 |
| ← dionysus69 left | 08:48 |
| → dionysus69 joined | 08:48 |
| → Masklin__Gurder joined | 08:49 |
| → Anticom joined | 08:49 |
| ← Vonter left | 08:51 |
| → clime joined | 08:51 |
| ← Masklin left | 08:52 |
| Masklin__Gurder → Masklin | 08:54 |
| ← Telmud left | 08:55 |
| → DonRichie joined | 08:58 |
| ← Murr left | 08:58 |
| → Murr joined | 08:58 |
| → roadie joined | 08:59 |
| → pyeveryt_ joined | 08:59 |
| → Flow joined | 08:59 |
| ← DonRichie left | 08:59 |
| ← lucasta left | 09:00 |
| → lucasta joined | 09:00 |
| → DonRichie joined | 09:00 |
| ← roadie left | 09:05 |
| ← pyeveryt_ left | 09:07 |
| → travisghansen joined | 09:15 |
| ← lucasta left | 09:15 |
| → lucasta joined | 09:17 |
| → roadie joined | 09:18 |
| ← roadie left | 09:20 |
| → roadie` joined | 09:20 |
| ← travisghansen left | 09:22 |
| ← reset left | 09:22 |
| → travisghansen joined | 09:23 |
| → Vonter joined | 09:24 |
| ← Vonter left | 09:32 |
| ← dob1 left | 09:33 |
| → dob1 joined | 09:33 |
| ← sudoforge left | 09:34 |
| ← DibbTubberOne left | 09:38 |
| ← Masklin left | 09:39 |
| ← Guest82 left | 09:39 |
| → pyeveryt_ joined | 09:40 |
| ← roadie` left | 09:41 |
| → roadie joined | 09:42 |
| → lu joined | 09:46 |
| → Masklin__Gurder joined | 09:47 |
| ← pyeveryt_ left | 09:47 |
| Masklin__Gurder → Masklin | 09:53 |
| ← theobjectivedad left | 09:56 |
| → theobjectivedad joined | 09:58 |
| ← YuGiOhJCJ left | 10:00 |
| → masber joined | 10:02 |
| ← roadie left | 10:04 |
| → zeroes joined | 10:07 |
| ← lucasta left | 10:09 |
| → lucasta joined | 10:10 |
| → Vonter joined | 10:14 |
| → skfax joined | 10:15 |
| → DibbTubberOne joined | 10:16 |
| ← mastarija left | 10:19 |
| → rosco joined | 10:21 |
| → pyeveryt_ joined | 10:22 |
| → theoceaniscool joined | 10:22 |
| → theoceaniscool_ joined | 10:23 |
| ← hoochmonger left | 10:29 |
| ← pyeveryt_ left | 10:29 |
| → eroux joined | 10:29 |
| → thuna` joined | 10:30 |
| ← __xor left | 10:30 |
| → vitali64 joined | 10:32 |
| ← skfax left | 10:33 |
| ← Guest3 left | 10:34 |
| ← rosco left | 10:39 |
| ← DibbTubberOne left | 10:40 |
| → pulse joined | 10:45 |
| ← iomari891 left | 10:45 |
| → nate1 joined | 10:47 |
| → iomari891 joined | 10:51 |
| ← nate1 left | 10:52 |
| ← Anticom left | 10:55 |
| ← Murr left | 10:57 |
| → Murr joined | 10:57 |
| → Cienisty joined | 10:59 |
| → pyeverything joined | 11:02 |
| ← lu left | 11:02 |
|
zeroes
| I tried to resolve conflicts by executing "git mergetool", but forgot to specify a tool for it. So I exitted vim editor, and tried "git mergetool --tool=vimdiff3", but nothing happended "No files need merging". | 11:05 |
| → Anticom joined | 11:06 |
|
zeroes
| How I can re-enter vim for resolving conflicts? | 11:06 |
|
| I could undo changes, and do the same changes again. Looking for more elegent solution. | 11:07 |
|
farzat
| My first guess would be delete the .orig files | 11:09 |
|
| Just a guess though | 11:09 |
| → cbreak joined | 11:10 |
| ← pyeverything left | 11:10 |
| ← Anticom left | 11:10 |
|
zeroes
| farzat: Just removed *.orig files, but still "No files need merging" | 11:15 |
|
farzat
| Ok idk then | 11:16 |
| → memoryleak joined | 11:17 |
|
J_Darnley
| Abort the merge and redo | 11:21 |
| → c0dehu1k joined | 11:22 |
| → transhumanist joined | 11:27 |
| → mastarija joined | 11:29 |
| ← vitali64 left | 11:30 |
| → sd5 joined | 11:34 |
| → moldorcoder7 joined | 11:35 |
| → pyeverything joined | 11:39 |
| → phylaz joined | 11:43 |
| → jinsun joined | 11:44 |
| → fflam joined | 11:45 |
| → Coop joined | 11:48 |
| ← pyeverything left | 11:49 |
| ← nullroute left | 11:56 |
| → peterhil joined | 11:57 |
| → structoha joined | 11:57 |
| → Anticom joined | 12:00 |
| ← TonyStone left | 12:00 |
| ← murii left | 12:02 |
| ← indy_ left | 12:09 |
| ← feriman left | 12:12 |
| → nullroute joined | 12:12 |
| ← nullroute left | 12:12 |
| → nullroute joined | 12:12 |
| → pyeveryt_ joined | 12:17 |
| → spacenautx joined | 12:20 |
| ← pyeveryt_ left | 12:23 |
| → pyeveryt_ joined | 12:23 |
| → rustyshackleford joined | 12:24 |
| → cebor joined | 12:25 |
| ← cebor left | 12:25 |
| → cebor joined | 12:26 |
| ← lucasta left | 12:26 |
| → lucasta joined | 12:26 |
| ← pyeveryt_ left | 12:29 |
| vinleod → vdamewood | 12:31 |
| → xx joined | 12:32 |
| → peirik_ joined | 12:34 |
| ← lucasta left | 12:35 |
| → lucasta joined | 12:36 |
| ← carl- left | 12:36 |
| ← mastarija left | 12:37 |
| ← lucasta left | 12:37 |
| → pyeveryt_ joined | 12:38 |
| → Visor joined | 12:40 |
| ← pyeveryt_ left | 12:43 |
| ← peirik_ left | 12:44 |
| ← jetchisel left | 12:50 |
| ← agarr left | 12:51 |
| → jetchisel joined | 12:53 |
| → derpydoo joined | 12:56 |
| ← Murr left | 12:57 |
| → cdown joined | 12:57 |
| → Murr joined | 12:58 |
| → odoood joined | 13:02 |
| ← spacenautx left | 13:04 |
| → ozoned joined | 13:06 |
| → mw_ joined | 13:06 |
| ← odoood left | 13:09 |
| → pyeverything joined | 13:11 |
| ← pyeverything left | 13:22 |
| ← Xenguy left | 13:23 |
| ← ajshell1 left | 13:37 |
| → ajshell1 joined | 13:39 |
| → atrigent_ joined | 13:40 |
| ← atrigent left | 13:41 |
| → pyeverything joined | 13:51 |
| → hoochmonger joined | 13:54 |
| ← ajshell1 left | 13:57 |
| → hololeap joined | 13:58 |
| → ajshell1 joined | 13:59 |
| → trace1918 joined | 14:00 |
| ← trace1918 left | 14:01 |
| ← pyeverything left | 14:02 |
| ← thuna` left | 14:03 |
| → trace1918 joined | 14:05 |
| → gh34 joined | 14:08 |
| ← rsx left | 14:12 |
| ← Vonter left | 14:14 |
| ← Deknos left | 14:19 |
| → rsx joined | 14:25 |
| ← derpydoo left | 14:27 |
| → junebug joined | 14:28 |
| ← GNUmoon left | 14:33 |
| → GNUmoon joined | 14:34 |
| ← masber left | 14:38 |
| → impermanence joined | 14:39 |
| → diverdude joined | 14:40 |
|
diverdude
| hello, i get the following when i do a pull: https://dpaste.org/BcYWs Which branches is referred to when it says: "You have divergent branches" ? | 14:42 |
| → IRChatter8 joined | 14:42 |
| → Visne joined | 14:42 |
| ← impermanence left | 14:44 |
| → arch_angel joined | 14:45 |
| ← IRChatter left | 14:46 |
| IRChatter8 → IRChatter | 14:46 |
| → nate1 joined | 14:49 |
| → pyeveryt_ joined | 14:50 |
| ← nate1 left | 14:54 |
| ← Murr left | 14:57 |
| → thiago joined | 14:58 |
| → Murr joined | 14:58 |
| → jazz-o-lantern joined | 15:00 |
| → rama joined | 15:01 |
| ← Voxel left | 15:05 |
| → Voxel joined | 15:05 |
| → Vonter joined | 15:06 |
| → rgrinberg joined | 15:07 |
| → delay joined | 15:11 |
| → impermanence joined | 15:13 |
| ← pyeveryt_ left | 15:15 |
| → lucasta joined | 15:15 |
| → madewokherd joined | 15:19 |
| ← madewokherd` left | 15:21 |
| → Rashad joined | 15:22 |
| → vitali64 joined | 15:23 |
| → rurtty joined | 15:25 |
| ← junebug left | 15:28 |
| → tflow joined | 15:28 |
| ← aidalgol left | 15:29 |
| → derpydoo joined | 15:31 |
| → junebug joined | 15:32 |
| → aidalgol joined | 15:32 |
| → atrigent joined | 15:32 |
| ← atrigent_ left | 15:32 |
| ← delay left | 15:32 |
| → delay joined | 15:33 |
| ← Coop left | 15:33 |
| ← coot left | 15:37 |
| ← lucasta left | 15:37 |
| → lucasta joined | 15:38 |
| → NSOL joined | 15:40 |
| ← NSOL left | 15:40 |
| ← lucasta left | 15:42 |
| → ajshell12 joined | 15:42 |
| ← ajshell1 left | 15:42 |
| ajshell12 → ajshell1 | 15:42 |
|
andi_
| diverdude: local and remote | 15:43 |
| → lucasta joined | 15:44 |
| → coot joined | 15:45 |
| → NSOL joined | 15:46 |
| ← coot left | 15:46 |
| ← VaniaPy left | 15:49 |
| ← rama left | 15:49 |
| → rama joined | 15:49 |
| ← rfuentess left | 15:49 |
| → ajshell17 joined | 15:50 |
| → pyeveryt_ joined | 15:50 |
| ← ajshell1 left | 15:51 |
| ajshell17 → ajshell1 | 15:51 |
| ← rama left | 15:51 |
| → rama joined | 15:51 |
| ← madewokherd left | 15:52 |
| → feriman joined | 15:55 |
| → ajshell13 joined | 15:59 |
| → hbautista joined | 15:59 |
| ← ajshell1 left | 15:59 |
| ajshell13 → ajshell1 | 15:59 |
| ← rama left | 15:59 |
| → indy joined | 16:00 |
| → rama joined | 16:00 |
| ← delay left | 16:01 |
| ← Anticom left | 16:01 |
| → delay joined | 16:01 |
| ← lucasta left | 16:05 |
| → lucasta joined | 16:05 |
| ← delay left | 16:08 |
| ← rama left | 16:09 |
| → rama joined | 16:09 |
| ← lucasta left | 16:09 |
| → lucasta joined | 16:10 |
| → ajshell11 joined | 16:16 |
| ← ajshell1 left | 16:16 |
| ajshell11 → ajshell1 | 16:16 |
| ← dionysus69 left | 16:20 |
| ← lucasta left | 16:21 |
| → lucasta joined | 16:22 |
| → Ram-Z joined | 16:22 |
| ← rsx left | 16:26 |
| ← lucasta left | 16:27 |
| → lucasta joined | 16:29 |
| ← rama left | 16:29 |
| → rama joined | 16:30 |
| → subopt joined | 16:31 |
| ← lucasta left | 16:32 |
| → lucasta joined | 16:34 |
| → Sasazuka joined | 16:38 |
| → Coop joined | 16:39 |
| → nhartman__ joined | 16:43 |
|
nhartman__
| Is there a good workflow for edit a commit in my history with changes to multiple files? I.e. I have commit A in my history. I modify files 'a' and 'b'. I want to amend commit A with my changes to file 'a'. Normally I would: git stash, interactive rebase, edit commit A, git stash pop. But this causes problems if file b has conflicts with the git stash pop. Is there a better way to do this? | 16:44 |
| ← pyeveryt_ left | 16:45 |
| → ick joined | 16:45 |
|
nhartman__
| s/edit/editing/ | 16:45 |
| ← zmt00 left | 16:45 |
|
ikke
| nhartman__: use git commit --fixup + git rebase -i --autosquash | 16:45 |
|
| you'd limit each fixup commit to the changes you want to the commit you want to fix | 16:46 |
| ← lucasta left | 16:46 |
| → coot joined | 16:46 |
| → lucasta joined | 16:46 |
| ← pickanick left | 16:48 |
|
nhartman__
| ikke: Wow, that's perfect. Thanks | 16:49 |
| → realies joined | 16:50 |
| → paul424 joined | 17:01 |
|
paul424
| Hello, how do I unstash the command git stash ? | 17:02 |
|
ajak
| `git stash -h` | 17:02 |
| ← leftyfb left | 17:03 |
| ← rama left | 17:03 |
| → rama joined | 17:03 |
| → leftyfb joined | 17:03 |
|
paul424
| ajak, and ? | 17:04 |
|
| then the most recent one right ? | 17:04 |
|
ajak
| hm? maybe `man git stash` is what you want | 17:05 |
|
gitinfo
| the git-stash manpage is available at https://gitirc.eu/git-stash.html | 17:05 |
| ← rurtty left | 17:06 |
| ← Visne left | 17:09 |
| ← sa0 left | 17:10 |
| → sa0 joined | 17:10 |
| ← junebug left | 17:11 |
|
paul424
| error: Your local changes to the following files would be overwritten by merge: source/render/ODFrameListener.cpp | 17:11 |
|
| Please commit your changes or stash them before you merge. | 17:11 |
| → Sasazuka__ joined | 17:12 |
| → Visne joined | 17:12 |
|
ajak
| yeah you want to stash your changes | 17:13 |
| ← Sasazuka left | 17:14 |
| → pyeverything joined | 17:14 |
|
paul424
| I just reverted back, and the git stash pop works as I wanted | 17:14 |
|
| many thakns | 17:14 |
| ← lucasta left | 17:16 |
| → lucasta joined | 17:17 |
| ← pyeverything left | 17:19 |
| ← vdamewood left | 17:23 |
| → Narrat joined | 17:24 |
| ← Major_Biscuit left | 17:25 |
| → madewokherd joined | 17:25 |
| → john_johnk joined | 17:26 |
| → magic_ninja joined | 17:27 |
| ← Rashad left | 17:28 |
| ← adanwan left | 17:31 |
| → han-solo joined | 17:31 |
| → adanwan joined | 17:32 |
| → zebrag joined | 17:34 |
| Sasazuka__ → Sasazuka | 17:34 |
| → tirnanog joined | 17:36 |
| ← paul424 left | 17:37 |
| → skapata joined | 17:40 |
| → thuna` joined | 17:41 |
| → hamburgler joined | 17:41 |
| → DoubleJ joined | 17:41 |
| → zmt00 joined | 17:42 |
| ← lucasta left | 17:44 |
| → lucasta joined | 17:46 |
| ← structoha left | 17:48 |
| → roadie joined | 17:48 |
| → Betal joined | 17:51 |
| → pyeverything joined | 17:51 |
| ← lucasta left | 17:51 |
| → lucasta joined | 17:52 |
|
nedbat
| i want to create some files while on the main branch, then add and stash the changes, switch to another branch, and "stash pop" the changes. but it's a merge conflict during the pop. I want to just clobber the files that are there. "stash pop" doesn't have a --hard switch. What should I do? | 17:55 |
| ← pyeverything left | 17:56 |
|
nedbat
| (looking at the scrollback, this seems very similar to the question an hour ago) | 17:57 |
|
| (or maybe not) | 17:57 |
| ← Visor left | 18:00 |
| ← indy left | 18:00 |
| → Visor joined | 18:01 |
| → Telmud joined | 18:01 |
| → indy joined | 18:02 |
|
ajak
| no, i think you understand how stashing works (but i don't know if there's a good solution for your situation) | 18:05 |
|
waterkip
| I would just do `git stash apply` fix the conflict and `git stash drop` and be done with it | 18:05 |
|
NSOL
| nedbat: you could also use a patch | 18:06 |
|
nedbat
| on stackoverflow I found git stash show -p | git apply | 18:06 |
|
| except for some reason it tells me: <stdin>:114: trailing whitespace. | 18:08 |
|
| for a few lines | 18:08 |
|
IRChatter
| nedbat, if what you want is to have the very same file you could `git checkout <stash> file` | 18:08 |
|
nedbat
| IRChatter: where is "git checkout stash" documented? | 18:09 |
| ← srinidhi left | 18:10 |
|
IRChatter
| nedbat, when you stash something, git creates essentially a commit that gets discarded after you pop the changes. If you show your git log without poping you should see the checksum of such commit. If that's too much work, you can just use `git checkout stash@{0} <file>` | 18:13 |
|
| stash@{n} (n = the index in the stash, 0 being the top/latest change stashed) | 18:15 |
| ← lucasta left | 18:17 |
|
nedbat
| i guess i didn't realize that "stash" was a ref to the stash | 18:17 |
| → lucasta joined | 18:18 |
|
IRChatter
| If you run `git stash list` you'll see each entry listed that way | 18:19 |
| ← rama left | 18:19 |
| → rama joined | 18:20 |
| ← tflow left | 18:20 |
|
mackerman
| I prefer copying changes to another branch with cherry-pick, but to each their own | 18:20 |
| ← ozoned left | 18:21 |
| → ozoned joined | 18:21 |
| → structoha joined | 18:22 |
|
IRChatter
| mackerman, yeah, that's an alternative. And if you'd like to keep working on it and avoid creating a new commit, is as simple as adding -n (--no-commit) to cherry-pick | 18:24 |
| ← nullroute left | 18:30 |
| → pyeverything joined | 18:30 |
| ← rgrinberg left | 18:31 |
| justHaunted → ffffffradiofree | 18:32 |
| ffffffradiofree → jusFffffffradiof | 18:32 |
| → nate1 joined | 18:33 |
| ← rama left | 18:33 |
| → rama joined | 18:33 |
| → srinidhi joined | 18:36 |
| ← lucasta left | 18:36 |
| → nullroute joined | 18:38 |
| ← nullroute left | 18:38 |
| → nullroute joined | 18:38 |
| ← nate1 left | 18:38 |
| → lucasta joined | 18:38 |
| ← jetchisel left | 18:39 |
| → velix joined | 18:43 |
|
velix
| Is this bad or right? https://stackoverflow.com/a/6407342 | 18:43 |
|
| oops, it's from 2011 :D | 18:43 |
|
ikke
| It's still accurate | 18:43 |
| → Rashad joined | 18:43 |
| ← pyeverything left | 18:47 |
|
velix
| okay. So "never use git pull"? | 18:47 |
|
ikke
| You _can_ use git pull | 18:48 |
| → loulou joined | 18:48 |
|
ikke
| You just need to be aware of what it does | 18:48 |
|
| Note that personally I always use git pull --rebase | 18:48 |
| → nvmd joined | 18:49 |
|
velix
| I think I need to do some experiments to understand the differences | 18:49 |
| → forgotmynick joined | 18:49 |
| → jetchisel joined | 18:51 |
| → FFY00_ joined | 18:55 |
| ← iomari891 left | 18:56 |
| ← Murr left | 18:57 |
| → Murr joined | 18:57 |
| → dom_ joined | 18:58 |
| ← FFY00 left | 18:58 |
| → KimK joined | 18:58 |
| ← dom_ left | 18:58 |
| → wallabra_ joined | 18:59 |
| → dom_ joined | 18:59 |
| wallabra_ → wallabra | 19:01 |
| ← thebombzen left | 19:02 |
| ← dom_ left | 19:05 |
| ← roadie left | 19:07 |
| → ___nick___ joined | 19:09 |
| ← structoha left | 19:10 |
| ← lucasta left | 19:11 |
| → wootehfoot joined | 19:14 |
| ← Narrat left | 19:15 |
| → g0zart joined | 19:15 |
| jusFffffffradiof → justThumbs | 19:17 |
| ← john_johnk left | 19:18 |
| ← Rashad left | 19:18 |
| → pyeveryt_ joined | 19:19 |
| justThumbs → justVain | 19:20 |
|
IRChatter
| velix, branches are just pointers that point to a specific point in history (aka commit). Your local repo and the remote one, they both have their own independent set of branches that most of the times get named the same way (because it's easier to associate that way). Their history may deviate while working in teams, so to get updates on what the | 19:20 |
|
| state of the remote branch is, one runs `git fetch`. That only updates the reference of the remote branch (e.g origin/my-branch). If you want to include/merge those new changes into your local version of the branch, you can then run `git merge origin/my-branch`. If you simply were behind in history, then git will try to just fast-forward your local | 19:20 |
|
| branch and point to the same commit. On the other hand, if there's commits in your local branch that are not remotely, then you won't be able to fast-forward and you are presented with 2 choices: either a non fast-forward merge `git merge origin/my-branch` that creates a commit, or `git rebase origin/my-branch` that moves the start of your branch | 19:20 |
|
| to the last commit of the remote one. In both cases (merge or rebase) if there's any conflicts, they'll need to get resolved before continuing. This process of fetching and merging is so common that git devs included `git pull` which essentially does `git fetch` and `git merge`. Alternatively, you can run `git pull --rebase` which does `git fetch` | 19:20 |
|
| and `git rebase` | 19:20 |
|
velix
| IRChatter: rebase is still a mystery to me SOMETIMES :D sometimes it does what I need, sometimes it does not ,) | 19:22 |
| ← rama left | 19:23 |
| → rama joined | 19:23 |
| → __nick__ joined | 19:25 |
| ← ___nick___ left | 19:25 |
| ← pyeveryt_ left | 19:28 |
|
IRChatter
| velix, rebase, re-base, set the base of your branch elsewhere in relation to where it came from. That's in a nutshell the idea. It can get a bit more complex if you throw in things like squashing, but it's definitely not as scary as it seems | 19:28 |
|
velix
| IRChatter: I have to say, I'm using gitkraken. It helps me, but it feels like fraud to me. Normally I'm a shell guy. But I'm too afraid to mess things up. | 19:30 |
|
| git is like the box of pandorra. | 19:30 |
|
| and full of toxic snakes | 19:30 |
|
| indiana jones wouldn't be happy about that. | 19:30 |
| → reset joined | 19:30 |
| → roadie joined | 19:32 |
| ← coot left | 19:33 |
|
IRChatter
| velix, no need to worry, once you've committed changes, it's unlikely that you're going to lose them. Even if you reset branches and a commit doesn't show up in your log, it's still there in gits database, and it can be recovered | 19:34 |
| → coot joined | 19:36 |
| ← roadie left | 19:37 |
| → Rashad joined | 19:39 |
|
IRChatter
| velix, try creating a new repo, committing a few files, `git reset --hard HEAD~`, and finally `git fsck --lost-found` | 19:39 |
| → rurtty joined | 19:40 |
| → roadie joined | 19:41 |
|
velix
| IRChatter: ok ;) | 19:41 |
|
| What really confuses me is that some rebases create "remote-tracking branches". Maybe this is displayed in GitKraken only. I actually see no use in this. | 19:43 |
| ← rama left | 19:43 |
| → rama joined | 19:43 |
| ← srinidhi left | 19:44 |
|
IRChatter
| velix, I don't see how's that possible. A rebase doesn't create new branches | 19:46 |
| ← loulou left | 19:46 |
|
velix
| Gitkraken allows to ways to push a rebase: "Force push" (no tracking) and "fast forwared" (with tracking) | 19:47 |
|
| Let's say, "main" has some hotfixes, that "feature" doesn't have. I'll then rebase "feature" on "main", won't I? "Github Desktop" does a "merge" when you update "feature" on "main". | 19:48 |
| → rama_ joined | 19:52 |
| ← rama left | 19:52 |
| ← rama_ left | 19:52 |
| ← g0zart left | 19:53 |
| → rama joined | 19:53 |
|
IRChatter
| velix, you can do both things to resolve that divergence in history, yes. The difference is that the merge will create a commit, whereas the rebase will simply put the feature branch on top of main | 19:54 |
|
velix
| In PRs, I often read "please do a rebase". So I think "rebase" is used more often. | 19:54 |
|
IRChatter
| velix, it definitely should be used more often, but my experience tells me otherwise | 19:55 |
|
velix
| A frontend guy told me, he doesn't like to rebase, since he often does many commits into a feature, which messes up the history. So he either squashes or merges. | 19:56 |
| → loulou joined | 19:56 |
| ← loulou left | 19:56 |
| → loulou joined | 19:56 |
| → pyeverything joined | 20:02 |
|
IRChatter
| velix, I don't see how rebasing messes up the history. Also, rebasing doesn't mean not merging. When you rebase the feature branch you'll still be merging it with the main one. You can decide if you want to just fast-forward main or create a commit, but a merge needs to happen. (I personally prefer to create a commit even when fast-forward is | 20:05 |
|
| possible: `git merge --no-ff feature-branch`) | 20:05 |
|
velix
| IRChatter: I need to read what's the sense of that tracking :D | 20:06 |
| ← han-solo left | 20:06 |
| → thebombzen joined | 20:07 |
| ← nvmd left | 20:07 |
|
velix
| The big benefit of merging main back into the feature is: a nice graph. you can see where it came from :D | 20:08 |
| → odoood__ joined | 20:09 |
| → TonyStone joined | 20:09 |
| ← atrigent left | 20:09 |
| → atrigent_ joined | 20:10 |
| ← ozoned left | 20:11 |
| ← __nick__ left | 20:12 |
|
IRChatter
| velix, the point of git is not to track how things get developed, but what the exact steps to do it need to be. That "nice graph" that you mention is ok if you have 1 or 2 short-lived topic branches, but I've seen way too many topic branches that take weeks to merge back into main, and that "nice graph" turns into a labyrinth pretty quickly | 20:13 |
| → ___nick___ joined | 20:14 |
|
velix
| makes sense | 20:15 |
| ← ___nick___ left | 20:15 |
| → ozoned joined | 20:16 |
| → ___nick___ joined | 20:17 |
| ← odoood__ left | 20:19 |
|
velix
| Ah, when doing "Pull (fast-forward if possible)", then Gitkraken creates a tracking thing. | 20:19 |
|
| When doing "push", it doesn't do. | 20:19 |
|
| erm | 20:19 |
|
| When doing "force push", it doesn't do. | 20:19 |
|
| Github Desktop also does a "force push" | 20:19 |
| → odoood joined | 20:20 |
| → Crispy joined | 20:20 |
| ← ozoned left | 20:22 |
| ← wallabra left | 20:22 |
| → wallabra joined | 20:23 |
| → ss4 joined | 20:23 |
|
IRChatter
| velix, "tracking" is just the action of associating a remote branch with a local one. When running the pull (in Gitkraken), since a remote branch is being merged with a local one, it's fair to assume that you're going to want to push that local branch to the remote one that got merged. So to avoid having to explicitly state the name of the remote | 20:26 |
|
| branch it was previously "tracked". If it's not tracked then you'll need to run `git push origin remote-branch`, when tracked you just need to `git push` | 20:26 |
| ← wootehfoot left | 20:26 |
|
velix
| IRChatter: see.. that's what I call "rocket science". | 20:27 |
| ← TomyWork left | 20:27 |
|
IRChatter
| velix, a piece of cake once you understand it | 20:27 |
| → rgrinberg joined | 20:28 |
| → wootehfoot joined | 20:28 |
|
ztrawhcse
| merge commits when merging a feature into master is fine. it's repeated merges from master into temporary feature branches that causes issues. | 20:30 |
|
IRChatter
| velix, the way that you manually start tracking a branch is by including the option --set-upstream (-u) to `git pull` (e.g. `git pull -u origin remote-branch`) | 20:30 |
|
| push | 20:30 |
|
| sorry | 20:31 |
| ← ss4 left | 20:31 |
|
IRChatter
| Muscle memory | 20:31 |
|
| `git push -u origin remote-branch` | 20:32 |
| → junebug joined | 20:32 |
| ← loulou left | 20:36 |
| ← gxt left | 20:36 |
| ← Sasazuka left | 20:36 |
| ← feriman left | 20:38 |
| ← bkircher left | 20:41 |
| → gxt joined | 20:41 |
| → skfax joined | 20:42 |
| → Tangent-Man joined | 20:44 |
| ← Tangent-Man left | 20:44 |
| ← derpydoo left | 20:45 |
| → Tangent-Man joined | 20:45 |
| → nate1 joined | 20:45 |
| → haritz joined | 20:45 |
| ← haritz left | 20:45 |
| → haritz joined | 20:45 |
| ← vitali64 left | 20:45 |
| ← hololeap left | 20:50 |
| → hololeap joined | 20:50 |
| ← rama left | 20:51 |
| → rama joined | 20:51 |
| ← rama left | 20:54 |
| → rama joined | 20:54 |
| ← gh34 left | 20:55 |
| → loulou joined | 21:00 |
| ← loulou left | 21:00 |
| → loulou joined | 21:00 |
| ← pyeverything left | 21:02 |
|
AmyMalik
| i am an insufferable git | 21:04 |
| → dom_ joined | 21:05 |
| ← dom_ left | 21:06 |
| ← kenanmarasli left | 21:06 |
| ← sd5 left | 21:06 |
| ← roadie left | 21:09 |
| → roadie joined | 21:09 |
| ← junebug left | 21:10 |
| → junebug joined | 21:10 |
| ← odoood left | 21:11 |
|
IRChatter
| AmyMalik git out of here then | 21:12 |
|
AmyMalik
| :D | 21:12 |
| ← rama left | 21:13 |
| → rama joined | 21:13 |
| ← roadie left | 21:14 |
| ← mw_ left | 21:18 |
| ← forgotmynick left | 21:19 |
| ← coot left | 21:19 |
| ← Telmud left | 21:22 |
| ← hoochmonger left | 21:23 |
| ← Jong left | 21:23 |
| ← zebrag left | 21:33 |
| → zebrag joined | 21:33 |
| → arescorpio joined | 21:33 |
| ← pikapika left | 21:39 |
| ← robo left | 21:40 |
| → pyeveryt_ joined | 21:40 |
| → vertreko joined | 21:40 |
| → roadie joined | 21:40 |
| ← loulou left | 21:40 |
| ← vertreko left | 21:46 |
| ← pyeveryt_ left | 21:46 |
| → robo joined | 21:47 |
| ← nate1 left | 21:48 |
| ← velix left | 21:49 |
| ← roadie left | 21:50 |
| ← igemnace left | 21:54 |
| ← rama left | 21:56 |
| → rama joined | 21:56 |
| → pikapika joined | 21:59 |
| → gast0n joined | 22:00 |
| → rsx joined | 22:06 |
| → Cleverness joined | 22:07 |
| → z1haze joined | 22:10 |
|
z1haze
| when trying to pull from a subtree that im used to pulling from, I am now getting an error of could not rev-parse split hash -- what could cause this? | 22:10 |
| → dionysus69 joined | 22:13 |
| → roadie joined | 22:16 |
| → pyeveryt_ joined | 22:19 |
| ← rama left | 22:19 |
| → rama joined | 22:20 |
| → Sasazuka joined | 22:22 |
| ← dionysus69 left | 22:23 |
| ← trace1918 left | 22:23 |
| ← hololeap left | 22:24 |
| → mw_ joined | 22:24 |
| ← gas51627 left | 22:24 |
| ← roadie left | 22:28 |
| ← pyeveryt_ left | 22:29 |
| ← rsx left | 22:33 |
| ← rama left | 22:36 |
| → rama joined | 22:36 |
| ← rama left | 22:40 |
| → rama joined | 22:41 |
| → cvmn joined | 22:50 |
| ← wootehfoot left | 22:54 |
| ← elastic_dog left | 22:55 |
| → roadie joined | 22:55 |
| → elastic_dog joined | 22:56 |
| ← skfax left | 22:56 |
| ← arescorpio left | 22:59 |
| ← rama left | 23:03 |
| → jed joined | 23:03 |
| → pyeveryt_ joined | 23:03 |
| → rama joined | 23:03 |
| ← roadie left | 23:04 |
| ← hbautista left | 23:06 |
| ← cvmn left | 23:08 |
| ← rama left | 23:09 |
| → rama joined | 23:09 |
| ← sa0 left | 23:09 |
| → cvmn joined | 23:10 |
| ← pyeveryt_ left | 23:12 |
| → pyeveryt_ joined | 23:12 |
| → sa0 joined | 23:13 |
| ← rama left | 23:15 |
| → rama joined | 23:15 |
| ← rama left | 23:17 |
| → rama joined | 23:17 |
| ← rama left | 23:18 |
| ← sa0 left | 23:18 |
| → rama joined | 23:18 |
| → roadie joined | 23:19 |
| ← rama left | 23:19 |
| → rama joined | 23:19 |
| → loulou joined | 23:20 |
| ← loulou left | 23:20 |
| → loulou joined | 23:20 |
| ← Tangent-Man left | 23:23 |
| ← cvmn left | 23:26 |
| ← IRChatter left | 23:29 |
| ← roadie left | 23:31 |
| → k8yun joined | 23:31 |
| ← epony left | 23:32 |
| ← cdown left | 23:37 |
| ← rurtty left | 23:37 |
| ← impermanence left | 23:38 |
| ← user left | 23:39 |
| → d1b joined | 23:42 |
| → user joined | 23:43 |
| → nate1 joined | 23:45 |
| ← rama left | 23:48 |
| → rama joined | 23:48 |
| ← jed left | 23:49 |
| → epony joined | 23:50 |
| ← nate1 left | 23:50 |
| ← junebug left | 23:53 |
| ← rama left | 23:54 |
| → m0viefreak joined | 23:55 |
| → roadie joined | 23:56 |