| 2022-07-11 |
| ← BrianBlaze left | 00:01 |
| → BrianBlaze joined | 00:02 |
| ← Soni left | 00:04 |
| ← bob518 left | 00:09 |
| → X-Scale` joined | 00:12 |
| ← X-Scale left | 00:12 |
| X-Scale` → X-Scale | 00:13 |
| ← dnh left | 00:15 |
| → hiroot joined | 00:17 |
| → gast0n joined | 00:23 |
| ← gurkenglas left | 00:27 |
| → ThorMojito joined | 00:30 |
| ← kenanmarasli left | 00:36 |
| ← pretty_dumm_guy left | 00:38 |
| ← jumpcutking left | 00:43 |
| ← LuKaRo left | 00:50 |
| → LuKaRo_ joined | 00:52 |
| → X-Scale` joined | 01:09 |
| ← X-Scale left | 01:10 |
| X-Scale` → X-Scale | 01:10 |
| ← ThorMojito left | 01:12 |
| ← bin101 left | 01:15 |
| → jaggz joined | 01:15 |
| → bin101 joined | 01:15 |
|
jaggz
| I'm in my branch, kinda far behind master now -- don't want to rebase at the moment | 01:15 |
|
| how do I see where my branch was last forked/rebased so I can do a diff to just see my branch's changes? | 01:16 |
|
| s#forked/## | 01:16 |
| → kaiseisei joined | 01:24 |
|
mackerman
| jaggz: git diff master... | 01:30 |
|
| Three dots in git diff means find a common ancestor, as in git merge-base | 01:30 |
| → Soni joined | 01:32 |
| ← keypusher left | 01:33 |
|
jaggz
| oh wow.. thanks :) | 01:35 |
| → ferdna joined | 01:35 |
| ← hiroot left | 01:37 |
| → hiroot joined | 01:38 |
| ← dsrt^ left | 01:55 |
| ← maroloccio left | 01:55 |
| → maroloccio joined | 01:56 |
| → rgrinberg joined | 01:56 |
| ← maroloccio left | 01:58 |
| → ThorMojito joined | 02:01 |
| ← umbramalison left | 02:02 |
| → umbramalison joined | 02:03 |
| ← lemonsni- left | 02:03 |
| ← konrados left | 02:05 |
| → dsrt^ joined | 02:06 |
| → opow joined | 02:07 |
| ← opow left | 02:07 |
|
TheDcoder
| nicolas17: Thank you for helping me out the other day, I was able to read the file content via the blob object :) | 02:17 |
|
nicolas17
| oh good :) | 02:18 |
| → opow joined | 02:19 |
| → lemonsnicks joined | 02:20 |
| → Wh0 joined | 02:24 |
| ← opow left | 02:25 |
| → opow joined | 02:25 |
| ← jonosterman left | 02:26 |
| ← tyson2 left | 02:30 |
| → V__ joined | 02:31 |
| ← vdamewood left | 02:34 |
| ← Wh0 left | 02:34 |
| → Wh0 joined | 02:35 |
| ← thiago left | 02:37 |
| ← V__ left | 02:37 |
| ← mw_ left | 02:41 |
| ← terrorjack left | 02:43 |
| → terrorjack joined | 02:44 |
| → mw_ joined | 02:45 |
| ← FinnElija left | 02:45 |
| → finn_elija joined | 02:45 |
| finn_elija → FinnElija | 02:45 |
| ← nivag left | 02:48 |
| ← opow left | 02:48 |
| → thiago joined | 02:48 |
| ← toluene left | 02:53 |
| → toluene joined | 02:54 |
| ← ThorMojito left | 03:01 |
| → cvmn joined | 03:03 |
| ← Wh0 left | 03:16 |
| ← pulse left | 03:20 |
| ← ferdna left | 03:27 |
| ← nicolas17 left | 03:29 |
| → solirc joined | 03:34 |
| solirc → sol__ | 03:35 |
| ← dsrt^ left | 03:40 |
| → junebug joined | 03:41 |
| → dsrt^ joined | 03:48 |
| ← bloody left | 03:48 |
| ← hbautista left | 03:48 |
| ← germ left | 03:53 |
| → germ joined | 04:00 |
| → Peng joined | 04:00 |
| ← junebug left | 04:02 |
| → junebug joined | 04:02 |
| ← junebug left | 04:06 |
| ← sudoforge left | 04:07 |
| ← magic_ninja left | 04:07 |
| → magic_ninja joined | 04:11 |
| → junebug joined | 04:15 |
| ← Xenguy left | 04:18 |
| ← magic_ninja left | 04:22 |
| → magic_ninja joined | 04:23 |
| ← R2robot left | 04:25 |
| ← magic_ninja left | 04:33 |
| ← toluene left | 04:33 |
| → magic_ninja joined | 04:34 |
| → toluene joined | 04:34 |
| ← ChmEarl left | 04:41 |
| → ChmEarl joined | 04:41 |
| ← dsrt^ left | 04:47 |
| ← rgrinberg left | 04:50 |
| → dsrt^ joined | 04:51 |
| → madewokherd joined | 04:55 |
| ← madewokherd` left | 04:57 |
| → dig_ joined | 05:04 |
| ← bookworm left | 05:05 |
| ← dig_ left | 05:05 |
| → bookworm joined | 05:05 |
| ← thiago left | 05:06 |
| ← gast0n left | 05:06 |
| ← pyeverything left | 05:06 |
| ← cvmn left | 05:08 |
| ← dsrt^ left | 05:11 |
| → mitrokov joined | 05:16 |
| ← Betal left | 05:22 |
| ← junebug left | 05:28 |
| → hqdruxn08_ joined | 05:39 |
| ← hqdruxn08 left | 05:42 |
| → mic4ael joined | 05:43 |
| ← V___ left | 05:48 |
| → bloody joined | 05:52 |
| → arch_angel joined | 05:52 |
| ← lcn left | 06:00 |
| → lcn joined | 06:00 |
|
jaggz
| okay ttyl y'all! | 06:04 |
|
| tx | 06:04 |
| ← jaggz left | 06:04 |
| → igemnace joined | 06:06 |
| ← Leonarbro left | 06:08 |
| ← Chaser left | 06:08 |
| ← supernovah left | 06:08 |
| ← Anarchic left | 06:08 |
| ← wagle left | 06:08 |
| ← leah2 left | 06:08 |
| ← Visor left | 06:08 |
| ← hinderaker left | 06:08 |
| ← MiguelX413 left | 06:08 |
| ← indy left | 06:08 |
| ← Kobaz left | 06:08 |
| ← tharkun left | 06:08 |
| ← Quack left | 06:08 |
| ← fcser left | 06:08 |
| ← eq_w left | 06:08 |
| ← nickel715 left | 06:08 |
| ← duoi left | 06:08 |
| ← kyshoc left | 06:08 |
| ← HumanG33k left | 06:08 |
| ← d1b_ left | 06:08 |
| ← mahler left | 06:08 |
| ← dmvrtx left | 06:08 |
| → GyrosGeier joined | 06:08 |
| → Chipzz joined | 06:08 |
| → tharkun joined | 06:08 |
| → matthewcroughan joined | 06:08 |
| → supernovah joined | 06:08 |
| → fcser joined | 06:08 |
| → bond joined | 06:08 |
| → mika joined | 06:08 |
| → wagle joined | 06:08 |
| → d1b joined | 06:08 |
| → duoi joined | 06:08 |
| → dmvrtx joined | 06:08 |
| → Quack joined | 06:08 |
| → kyshoc joined | 06:08 |
| ← d1b left | 06:08 |
| → d1b joined | 06:08 |
| → Kobaz joined | 06:08 |
| → nickel715 joined | 06:08 |
| → JumpinBanana joined | 06:08 |
| → Anarchic joined | 06:08 |
| ← duoi left | 06:08 |
| → duoi joined | 06:08 |
| → leah2 joined | 06:08 |
| → hinderaker joined | 06:08 |
| → eq_w joined | 06:09 |
| → flying_sausages joined | 06:09 |
| ← kyshoc left | 06:09 |
| → kyshoc joined | 06:09 |
| → indy joined | 06:09 |
| → Leonarbro joined | 06:09 |
| ← hinderaker left | 06:09 |
| → hinderaker joined | 06:09 |
| → Thaodan joined | 06:09 |
| → haskl joined | 06:09 |
| → phryk joined | 06:09 |
| → Aleksejs joined | 06:09 |
| → Visor joined | 06:09 |
| → Chaser joined | 06:10 |
| → HumanG33k joined | 06:10 |
| ← flying_sausages left | 06:10 |
| → flying_sausages joined | 06:10 |
| → Gamah joined | 06:10 |
| → hasley joined | 06:11 |
| ← Benett left | 06:12 |
| ← Wolf480pl left | 06:12 |
| ← wyre left | 06:12 |
| ← gajus left | 06:12 |
| ← yourfate left | 06:12 |
| ← wolf left | 06:12 |
| ← scottevtuch[m] left | 06:12 |
| ← eqw left | 06:12 |
| ← alfredb left | 06:12 |
| ← bgs left | 06:12 |
| ← roboirc left | 06:12 |
| ← s1b1 left | 06:12 |
| ← tinybronca[m] left | 06:12 |
| ← DreamweaverN left | 06:12 |
| ← NiKaN left | 06:12 |
| ← circuitbone left | 06:12 |
| ← bluekoopa left | 06:12 |
| → alfredb joined | 06:12 |
| → ninjin joined | 06:12 |
| → wolf joined | 06:12 |
| → MrMagic joined | 06:12 |
| → Dreamwea- joined | 06:12 |
| → GoGi joined | 06:12 |
| → robo- joined | 06:12 |
| → fury_ joined | 06:12 |
| → x88x88x joined | 06:12 |
| → alex88 joined | 06:12 |
| → rahl joined | 06:12 |
| ← GoGi left | 06:12 |
| → GoGi joined | 06:12 |
| → ykrons joined | 06:12 |
| → avu joined | 06:12 |
| → ThiefMasterrr joined | 06:12 |
| → Ionic joined | 06:12 |
| → bgs joined | 06:12 |
| → yourfate joined | 06:12 |
| → daurnimator joined | 06:12 |
| → NiKaN joined | 06:12 |
| → circuitbone joined | 06:12 |
| → parsnip0 joined | 06:12 |
| → ljharb joined | 06:12 |
| ← avu left | 06:12 |
| → avu joined | 06:12 |
| → mrtnt joined | 06:13 |
| ← ljharb left | 06:13 |
| → ljharb joined | 06:13 |
| ← parsnip0 left | 06:13 |
| → parsnip0 joined | 06:13 |
| → gajus joined | 06:13 |
| → sharpertool joined | 06:13 |
| → sa joined | 06:13 |
| ThiefMasterrr → ThiefMaster | 06:13 |
| → n-st joined | 06:13 |
| → noord joined | 06:13 |
| → Benett joined | 06:13 |
| → quesker joined | 06:13 |
| → remedan joined | 06:13 |
| → tinybronca[m] joined | 06:13 |
| → wyre joined | 06:13 |
| → Wolf480pl joined | 06:13 |
| → ueberall joined | 06:13 |
| → jor joined | 06:13 |
| → burakcank joined | 06:13 |
| → NightMonkey joined | 06:13 |
| → R2robot joined | 06:13 |
| → hololeap joined | 06:14 |
| → rkta joined | 06:14 |
| → scottevtuch[m] joined | 06:15 |
| → sybariten joined | 06:17 |
| → eqw joined | 06:17 |
| → s1b1 joined | 06:18 |
| ← toralf left | 06:19 |
| → toralf joined | 06:20 |
| ← daurnimator left | 06:21 |
| → daurnimator joined | 06:22 |
| ← wyre left | 06:30 |
| → wyre joined | 06:31 |
| → Rashad joined | 06:33 |
| ← bloody left | 06:37 |
| → CM_ joined | 06:41 |
| → EvilDMP joined | 06:45 |
| ← jazzy left | 06:47 |
| ← thebombzen left | 06:50 |
| → acebrianjuan joined | 06:50 |
| ← great_taste left | 06:53 |
| ← CM_ left | 06:58 |
| → thebombzen joined | 07:02 |
| → gurkenglas joined | 07:05 |
| ← chiselfuse left | 07:06 |
| → chiselfuse joined | 07:07 |
| ← howdoi left | 07:07 |
| ← thebombzen left | 07:07 |
| → thebombzen joined | 07:09 |
| ← thebombzen left | 07:10 |
| → V___ joined | 07:12 |
| → feriman joined | 07:12 |
| → mbalmer joined | 07:18 |
| robo- → roboirc | 07:19 |
|
momomo
| Is there a way to git checkout a branch and NOT having to commit shit ? like git checkout branch --soft | 07:21 |
|
| without having to do 10 commands / | 07:21 |
|
| ? | 07:21 |
| → onizu joined | 07:22 |
|
bookworm
| yes, stash | 07:22 |
|
momomo
| awkward | 07:22 |
|
bookworm
| why? | 07:22 |
|
momomo
| i have to issue three commands for that ? | 07:23 |
|
| git stash .. git checkout ... git unstash | 07:23 |
|
bookworm
| also git add -u && git commit -m 'wip' isn't exactly 10 steps either | 07:23 |
|
momomo
| i don't want it in the commit | 07:23 |
|
bookworm
| what do you want to use checkout for? | 07:23 |
|
momomo
| just get to another branch and retain my changes in the other branch basically .. | 07:24 |
|
| intellij do this by default | 07:24 |
|
bookworm
| you can happily create a new branch in a dirty repo | 07:24 |
|
| the only thing checkout won't let you do is change the worktree, as in switch | 07:24 |
|
momomo
| git stash .. git checkout .. git unstash is likely the way | 07:24 |
|
bookworm
| git stash pop* | 07:25 |
| ← Rashad left | 07:26 |
|
momomo
| I once wrote this : | 07:26 |
|
| # This will stash everything, but let the added ones remain | 07:26 |
|
| # stash@{1} | 07:26 |
|
| git stash --keep-index | 07:26 |
|
| but unsure what it means now | 07:26 |
|
| comment is not helping me | 07:26 |
|
| can you clarify ? | 07:26 |
|
bookworm
| the manpage can clarify it for you, but essentially it won't mess with the index | 07:27 |
|
| checkout won't let you switch then though iirc | 07:27 |
|
| ah, it will | 07:29 |
| → Rashad joined | 07:30 |
| → dionysus69 joined | 07:30 |
| → konrados joined | 07:31 |
| ← leah2 left | 07:32 |
| → leah2 joined | 07:32 |
| ← Jong left | 07:33 |
| ← Murr left | 07:34 |
| → Murr joined | 07:34 |
| → osse joined | 07:36 |
|
momomo
| is there a way to git apply stash and get it to merge automatically ? or merge and accept whatever is in the stash ? | 07:38 |
| → pretty_dumm_guy joined | 07:41 |
|
bookworm
| the merge happens automatically by default, you'll get the usual merge conflicts | 07:43 |
| → Jong joined | 07:44 |
| ← skapata left | 07:44 |
| ← gurkenglas left | 07:45 |
| ← konrados left | 07:48 |
|
momomo
| I don't want to deal with teh merge conflict | 07:53 |
|
| The stashed one is teh lastly edited one | 07:54 |
|
| If you git stash save "name" | 07:54 |
|
| how do you git stash drop "name" ? | 07:54 |
|
bookworm
| I'm not following... drop removes the stash without applying it, you are aware yes? | 07:55 |
|
| stash is really just a quick and dirty "get le to a clean state, I need to work on something else for a moment" command | 07:56 |
|
momomo
| yes | 07:56 |
|
bookworm
| if you need to get more fancy, use commits and branches | 07:56 |
|
momomo
| commits and branches .. not a really productive environment ... should i keep changes of tiny pieces in 20 branches and keep track of them or drag them along with me wherever I go? | 07:57 |
|
bookworm
| in your case you did work on the wrong parent, so just commit and rebase on the branch you actually want it to be on | 07:57 |
|
momomo
| I am working on a way to stash checkout and unstash | 07:57 |
| → loulou_ joined | 07:57 |
| ← loulou_ left | 07:57 |
| → loulou_ joined | 07:57 |
|
bookworm
| stash pop* | 07:57 |
|
momomo
| only issue is that if I commit something personal to a branch I do not intend to eventually push those commits too i am also going to have to revert shit | 07:58 |
|
| stash pop is only for the last | 07:58 |
|
bookworm
| reverting won't remove it from the history | 07:58 |
|
momomo
| you ssee | 07:58 |
|
| differnt messssssss | 07:58 |
|
bookworm
| stash apply* then ;) | 07:58 |
|
| in any case, you can use stash but you seem to be fighting git a bit rather than use it for what it's built to do | 07:59 |
| → Anticom joined | 08:04 |
| → keypusher joined | 08:06 |
| → jmabr joined | 08:10 |
| ← duoi left | 08:12 |
|
momomo
| it is the hell and curse of branch based development | 08:13 |
|
| utter crap | 08:13 |
| → austin987 joined | 08:15 |
|
momomo
| I can apperantly do this after: | 08:15 |
|
| git checkout --theirs lite-recs-page-provider-user.conf | 08:15 |
|
| However, I would like to have been able to supply that to stash pop | 08:15 |
| → wakeup joined | 08:15 |
|
momomo
| seems there is possibly this: | 08:16 |
|
| git checkout --theirs . | 08:16 |
| ← wakeup left | 08:17 |
|
momomo
| is thee are way to git stash and not loose the stuff tha was stashed? like git stash retain | 08:17 |
| ← daurnimator left | 08:18 |
|
momomo
| i can do git stash and then git apply stash@{0} ... but that is tgwo commands | 08:18 |
|
bookworm
| why are you stashing things you still want to keep? That's not what stash is for | 08:19 |
| ← hoochmonger left | 08:24 |
| ← kevr left | 08:26 |
| ← fling left | 08:26 |
| → kevr joined | 08:26 |
| → Ajax1469 joined | 08:26 |
| → fling joined | 08:27 |
|
Nei
| commit it to a branch instead | 08:27 |
| ← Ajax146 left | 08:28 |
| Ajax1469 → Ajax146 | 08:28 |
| → daurnimator joined | 08:35 |
| → coot joined | 08:35 |
| → mncheck joined | 08:45 |
| ← daurnimator left | 08:46 |
| → daurnimator joined | 08:47 |
| → jim87 joined | 08:49 |
| → drogas joined | 08:56 |
| → jim87_ joined | 08:58 |
| → ThorMojito joined | 08:59 |
| ← jim87 left | 09:01 |
| → Seng joined | 09:08 |
| → MajorBiscuit joined | 09:16 |
| ← Jong left | 09:16 |
| → kenanmarasli joined | 09:18 |
| ← hiroot left | 09:20 |
| → hiroot joined | 09:20 |
| → thebombzen joined | 09:21 |
| ← ackyshake left | 09:27 |
| ← V___ left | 09:33 |
| → zeev joined | 09:43 |
| ← moldorcoder7_ left | 09:43 |
|
zeev
| Hi, deleting submodule deletes it in the whole git repository or is it possible to delete it only in specific branches and leave in others? | 09:44 |
| ← ThorMojito left | 09:49 |
| ← zeev left | 10:03 |
| → Murr- joined | 10:03 |
| ← Murr left | 10:05 |
| Murr- → Murr | 10:05 |
| ← pretty_dumm_guy left | 10:07 |
| → pretty_dumm_guy joined | 10:08 |
| ← dionysus69 left | 10:08 |
| → dnh joined | 10:09 |
| → dionysus69 joined | 10:21 |
| → Liblx joined | 10:22 |
| → mncheckm joined | 10:23 |
| ← arch_angel left | 10:26 |
| → zeev joined | 10:34 |
|
zeev
| Hi, deleting submodule deletes it in the whole git repository or is it possible to delete it only in specific branches and leave in others? | 10:35 |
|
ikke
| zeev: it would delete it in the branch you are on, but if you merge that branch into others, it will apply to that branch as well | 10:35 |
| → john_johnk joined | 10:35 |
|
bremner
| I don't use submodules if I can help it, but I think all submodule changes are branch local | 10:36 |
|
| (other than e.g. fetching the repo into remote branches) | 10:36 |
| ← vishal left | 10:36 |
| → vishal joined | 10:39 |
| ← dnh left | 10:39 |
| ← mncheckm left | 10:39 |
|
zeev
| thank you! | 10:40 |
| → enoq joined | 10:40 |
| → ThorMojito joined | 10:40 |
| ← ThorMojito left | 10:40 |
| ← kaiseisei left | 10:42 |
| → csm3105 joined | 10:51 |
| ← csm3105 left | 10:52 |
| → csm3105 joined | 10:59 |
| → cdown_ joined | 11:00 |
| → zulutango joined | 11:02 |
| ← feriman left | 11:02 |
| ← cdown left | 11:03 |
| cdown_ → cdown | 11:03 |
| → dnh joined | 11:05 |
| ← mitrokov left | 11:07 |
| ← john_johnk left | 11:09 |
| ← donsequitur left | 11:09 |
| → srinidhi joined | 11:12 |
| ← zeev left | 11:14 |
| ← loulou_ left | 11:17 |
| → gildasio joined | 11:20 |
| → roadie joined | 11:34 |
| ← Anarchic left | 11:34 |
| → Anarchic joined | 11:35 |
| ← coot left | 12:00 |
| → john_johnk joined | 12:01 |
| → Ajax1464 joined | 12:04 |
| ← Ajax146 left | 12:06 |
| Ajax1464 → Ajax146 | 12:06 |
| ← fling left | 12:08 |
| → fling joined | 12:09 |
| → Murr- joined | 12:13 |
| → lejocelyn joined | 12:13 |
| → dsrt^ joined | 12:13 |
| ← Murr left | 12:15 |
| Murr- → Murr | 12:15 |
| ← fling left | 12:16 |
| → fling joined | 12:16 |
| ← defjam left | 12:18 |
| ← csm3105 left | 12:20 |
| → csm3105 joined | 12:20 |
| → defjam joined | 12:24 |
| ← mingdao left | 12:30 |
| → bloody joined | 12:31 |
| → opow joined | 12:34 |
| ← MajorBiscuit left | 12:34 |
| ← dsrt^ left | 12:35 |
| → mingdao joined | 12:37 |
| → MajorBiscuit joined | 12:38 |
| → coot joined | 12:41 |
| → arch_angel joined | 12:42 |
| → pulse joined | 12:46 |
| ← foul_owl left | 12:46 |
| ← kevr left | 12:49 |
| → kevr joined | 12:49 |
| → squirrel joined | 12:50 |
| → gh34 joined | 12:54 |
| → dsrt^ joined | 12:58 |
| ← mingdao left | 12:58 |
| → foul_owl joined | 13:01 |
| ← Anticom left | 13:01 |
| → mingdao joined | 13:02 |
| → G30RD13 joined | 13:05 |
| ← opow left | 13:07 |
| → opow joined | 13:14 |
|
relipse
| I don't understand why I'm getting a merge conflict | 13:16 |
|
| i rebased and pushed | 13:16 |
|
| but same thing | 13:16 |
|
| i even forced pushed on myremote/develop branch | 13:16 |
|
squirrel
| suppose i made a PR on GitHub but it took me a long time and the main branch progressed a bit. the PR can't be automatically merged. now i could rebase but this would mean that some of my commits may become broken, and i don't want to test and review them. and the maintainers don't want to do the work of merging. are there any options besides my merging main into feature? | 13:16 |
| ← csm3105 left | 13:19 |
|
selckin
| combine all your commits into 1 | 13:19 |
|
sebag
| does someone know what are the refs/pull/334/merge heads, compared to refs/pull/334/head?? | 13:20 |
| → tuskkk____ joined | 13:21 |
|
squirrel
| i have very nice commits, i'm absolutely not squashing them | 13:21 |
|
selckin
| they are worthless if you don't want to fix them up | 13:23 |
|
sebag
| squirrel: couldn't you rebase main into feature? | 13:23 |
|
squirrel
| i could merge main into feature, but i'm not sure what “rebase main into feature” means | 13:24 |
|
| selckin: they ain't broken, they simply can't be automatically merged | 13:25 |
| → tyson2 joined | 13:25 |
| ← G30RD13 left | 13:26 |
|
selckin
| squirrel: then you have all the options | 13:26 |
| ← igemnace left | 13:26 |
|
squirrel
| such as..? | 13:26 |
|
sebag
| squirrel: you'd make the branch up to date like if fast-forward and commit your new commits last | 13:27 |
|
selckin
| squirrel: you listed all the options pick one | 13:27 |
|
squirrel
| sebag: sorry i'm not sure what that means | 13:28 |
|
| selckin: i only listed one option and my question was if there are any other options, but yeah, i can pick one of one | 13:29 |
|
selckin
| squirrel: you listed 2 | 13:29 |
|
squirrel
| i don't think i did? | 13:29 |
| → Tobbi_1 joined | 13:30 |
|
selckin
| you can merge or rebase it, upstream deosn't want to merge, so you can do it or rebase, or get squash | 13:30 |
| ← Tobbi_ left | 13:31 |
| Tobbi_1 → Tobbi_ | 13:31 |
| ← opow left | 13:31 |
| ← Murr left | 13:34 |
| → Murr joined | 13:34 |
|
squirrel
| i wonder if this would work.. 1) merge main into feature 2) merge feature into main 3) squash the last two merges into one | 13:35 |
|
selckin
| 1 and 2 are the same thing | 13:36 |
|
| if you do 1 then 2 can be just fast-forward without a commit, it'll be a merge if you ask for it, or if they have been toher commits on main since 1 | 13:39 |
| hasley → mahler | 13:43 |
| → hamburgler joined | 13:46 |
| → derpydoo joined | 13:46 |
|
squirrel
| ah of course it can be just fast-forwarded! i suppose i'll get “merge main into feature” on main. but yeah it's the same thing. thanks! not sure why i didn't think it could be simply fast-forwarded | 13:51 |
| → vdamewood joined | 13:53 |
| → ThorMojito joined | 13:53 |
| → donsequitur joined | 13:54 |
| → hstct joined | 13:58 |
| → opow joined | 13:58 |
| → vinleod joined | 13:58 |
| ← vdamewood left | 14:02 |
| → skapata joined | 14:02 |
| ← skapata left | 14:02 |
| → skapata joined | 14:02 |
| ← Saloframes left | 14:02 |
|
foo
| I want to remove two feature branches from a dev branch. Is there a way to do this *without* a rebase? eg. I don't want to mess with commit IDs. | 14:03 |
|
| Rewriting history is ok | 14:03 |
| → tas-sos joined | 14:03 |
| → theoceaniscool joined | 14:03 |
| → Saloframes joined | 14:04 |
| → AnrDaemon joined | 14:04 |
|
selckin
| !revert_merge | 14:05 |
|
gitinfo
| [!faulty_merge] If you have published a merge commit that turned out to be faulty and you'd like to get rid of it, you can use 'git revert' but there are gotchas to be aware of. Please read: https://raw.github.com/git/git/master/Documentation/howto/revert-a-faulty-merge.txt | 14:05 |
| ← gildasio left | 14:06 |
|
selckin
| why no rebase if rewriting is ok | 14:07 |
|
foo
| selckin: if I'm understanding stuff here (and I may not be), a rebase would rewrite git commit IDs. Rewriting won't? | 14:07 |
|
selckin
| rewriting history means changing commits ids | 14:08 |
|
foo
| selckin: ahhh, ok | 14:08 |
|
| selckin: so it sounds like there is not a way to undo a merge of 2 branches into our dev without rewriting the commit IDs, if I'm following? | 14:09 |
| → gildasio joined | 14:09 |
|
selckin
| well you can only add more commits that undo the changes from those branches, everything else is rewriting | 14:09 |
|
foo
| selckin: Can I do a reverse git cherry-pick? | 14:10 |
|
| 🤣 | 14:10 |
|
| ... with a branch | 14:10 |
|
selckin
| so it is ok to rewrite or not | 14:10 |
| ← dionysus69 left | 14:11 |
|
foo
| selckin: my concern: we have commit IDs tied to our notes on various tasks... if we rewrite those, we lose that. We can just manually remove the code, not too big of a deal but I was curious how git could help here | 14:11 |
| vinleod → vdamewood | 14:11 |
| ← dsrt^ left | 14:12 |
| ← roadie left | 14:12 |
| → moldorcoder7 joined | 14:12 |
| ← bindu left | 14:13 |
| → bindu joined | 14:13 |
|
sebag
| does someone know what are the refs/pull/334/merge heads, compared to refs/pull/334/head?? on github? | 14:14 |
| → junebug joined | 14:15 |
|
selckin
| sebag: https://stackoverflow.com/a/63595981/182025 | 14:16 |
| → celewin joined | 14:16 |
| → dsrt^ joined | 14:18 |
| ← lejocelyn left | 14:22 |
| ← gildasio left | 14:24 |
| → gildasio joined | 14:26 |
| → carl--- joined | 14:27 |
| → rgrinberg joined | 14:28 |
| ← s1b1 left | 14:29 |
| → s1b1 joined | 14:33 |
| ← carl--- left | 14:35 |
| → thiago joined | 14:35 |
| → roadie joined | 14:38 |
| → unluckyshrubbery joined | 14:39 |
| ← dsrt^ left | 14:40 |
| → Jong joined | 14:40 |
| ← thiago left | 14:42 |
| ← roadie left | 14:43 |
| ← skapata left | 14:43 |
| → donsequitur_ joined | 14:43 |
| → dsrt^ joined | 14:45 |
| → thiago joined | 14:45 |
| ← donsequitur left | 14:46 |
| donsequitur_ → donsequitur | 14:47 |
| ← dsrt^ left | 14:47 |
| → madewokherd` joined | 14:48 |
| ← Rashad left | 14:50 |
| ← madewokherd left | 14:51 |
| ← unluckyshrubbery left | 14:52 |
| → unluckyshrubbery joined | 14:52 |
| ← unluckyshrubbery left | 14:53 |
| → unluckyshrubbery joined | 14:54 |
| ← unluckyshrubbery left | 14:54 |
| → unluckyshrubbery joined | 14:54 |
| → Rashad joined | 14:56 |
| → rsx joined | 14:58 |
| ← opow left | 14:58 |
| → loulou_ joined | 14:58 |
| ← loulou_ left | 14:58 |
| → loulou_ joined | 14:58 |
| → jazzy joined | 14:59 |
| ← rgrinberg left | 15:02 |
| ← jiffe1 left | 15:03 |
| → howdoi joined | 15:03 |
| → szkl joined | 15:06 |
| → terminalpusher joined | 15:08 |
| → roadie joined | 15:08 |
| → jiffe1 joined | 15:09 |
|
AnrDaemon
| Evening. I'm hosting my git repos over SSH, with some helper scripts to reduce the need to login to the server "in person". However, there's these rare times I need to login using sftp. Righ tnow I'm doing it using subsystem internal-sftp, but it's rather indiscriminate in whom it lets to login. | 15:10 |
|
| Is there a better solution? | 15:10 |
|
| Like, allow only one pubkey to access sftp under git user. Tried google but did not find much relevant information. | 15:12 |
| ← terminalpusher left | 15:13 |
| → terminalpusher joined | 15:13 |
| ← ThorMojito left | 15:15 |
| ← theoceaniscool left | 15:19 |
| → ThorMojito joined | 15:20 |
| ← roadie left | 15:22 |
|
rewt
| AnrDaemon, using ssh to clone/etc git repos doesn't require anyone to login to the server -- it's usually done by having a single "git" user, with no login shell, and people who need access having their public keys added to that user | 15:25 |
|
AnrDaemon
| Great. Now, create a new repo that way. | 15:26 |
| → rgrinberg joined | 15:26 |
|
rewt
| you can also move the repo if you want to keep it | 15:26 |
|
AnrDaemon
| Or change repo description. | 15:26 |
|
rewt
| or if you mean local repos, the remote url can be updated | 15:26 |
|
AnrDaemon
| I mean repositories on the server. Of course. | 15:27 |
| ← tyson2 left | 15:29 |
| ← tuskkk____ left | 15:30 |
| ← jiffe1 left | 15:32 |
| ← terminalpusher left | 15:32 |
| → jiffe1 joined | 15:35 |
| → greatgold joined | 15:37 |
| ← jinsl left | 15:38 |
| ← greatgold left | 15:38 |
| → jinsl joined | 15:39 |
| → gurkenglas joined | 15:44 |
| → madewokherd joined | 15:44 |
| → odoood joined | 15:45 |
| ← hiroot left | 15:45 |
| ← madewokherd` left | 15:46 |
| → roadie joined | 15:48 |
| ← madewokherd left | 15:49 |
| → orbyt joined | 15:50 |
| ← ThorMojito left | 15:53 |
| → ThorMojito joined | 15:54 |
| ← clime left | 15:57 |
|
bambams
| I'm on Windows 10 running Git for Windows. git ls-files -v outputs only H in the first column. But my modified file appears unchanged, and git update-index --no-assume-unchanged <file> fixes the index so that Git now sees changes. | 15:57 |
| → sudoforge joined | 15:58 |
| → pyeveryt_ joined | 15:59 |
|
bambams
| I have this problem periodically. I wonder if it's related to having conflicting case paths in the repo still (thanks to Windows' case insensitive file system). Albeit, a one-liner proves the 6 remaining duplicates are in a totally different directory. | 16:00 |
|
| git version 2.37.0.windows.1 | 16:01 |
|
AnrDaemon
| bambams: If you have more than one partition on your system, and you could move your work to a separate partition, you CAN make it case-sensitive. But you would regret it. | 16:02 |
|
| Not every Windows tool is prepared for case sensitivity. Even core ones. | 16:02 |
|
| But you do have this possbility. | 16:03 |
| → duoi joined | 16:04 |
| → a1eaiactaest joined | 16:04 |
|
bambams
| AnrDaemon: Thanks. My understanding is that Windows also supports it (partially) through a hidden registry setting, but I think it's "use at own risk" and as you say may lead to other problems. | 16:09 |
|
AnrDaemon
| No. | 16:09 |
|
| It supports it fully through volume attributes. | 16:09 |
|
| As in, it IS case-preserving AND can be used as case-sensitive. By default it does not, but that's only the default. | 16:10 |
|
| (Also, you can not change case matching or short name generation flags on system partition.) | 16:11 |
| ← john_johnk left | 16:12 |
| ← axisys left | 16:15 |
| ← coot left | 16:16 |
|
bambams
| Thanks. In any case, since the affected path isn't duplicated I wonder if that is even related or just misleading. | 16:17 |
| → bob518 joined | 16:18 |
| ← enoq left | 16:21 |
| → The_Blode joined | 16:22 |
| ← The_Blode left | 16:22 |
| → The_Blode joined | 16:22 |
| ← mw_ left | 16:23 |
| ← The_Blode left | 16:24 |
| → The_Blode joined | 16:24 |
| ← bob518 left | 16:25 |
| ← rsx left | 16:29 |
| → gast0n joined | 16:35 |
| → mw_ joined | 16:37 |
| ← Rashad left | 16:46 |
| → AnXa joined | 16:47 |
| → revoltingPeasant joined | 16:48 |
|
revoltingPeasant
| Is there some way to just auto-resolve all conflicts by auto accepting all the new changes without having to manuall go through each one. | 16:49 |
| ← jole left | 16:49 |
| → jole joined | 16:49 |
|
bookworm
| yes, choose the theirs merge strategy | 16:51 |
| ← rwp left | 16:51 |
|
revoltingPeasant
| Thanks bookworm. | 16:53 |
| → tyson2 joined | 16:56 |
| → hamburgler2 joined | 16:56 |
| ← revoltingPeasant left | 16:58 |
| → dionysus69 joined | 16:59 |
| ← hamburgler left | 16:59 |
| sangy → usapolitics | 16:59 |
| usapolitics → sangy | 17:00 |
| ← MajorBiscuit left | 17:05 |
| → john_johnk joined | 17:06 |
| ← Jong left | 17:08 |
| ← ThorMojito left | 17:14 |
| → Wh0 joined | 17:16 |
| → ThorMojito joined | 17:17 |
| → Sasazuka joined | 17:20 |
| → Sasazuka__ joined | 17:22 |
| ← malteger left | 17:22 |
| ← Sasazuka left | 17:24 |
| → malteger joined | 17:26 |
| ← john_johnk left | 17:26 |
| → nicolas17 joined | 17:27 |
| ← ThorMojito left | 17:33 |
| ← Murr left | 17:33 |
| → ThorMojito joined | 17:34 |
| → Murr joined | 17:34 |
| ← dnh left | 17:34 |
| ← m1dnight left | 17:35 |
| ← thiago left | 17:36 |
| → thiago joined | 17:36 |
| ← berkay left | 17:37 |
| → m1dnight joined | 17:37 |
| ← ThorMojito left | 17:37 |
| ← Wh0 left | 17:38 |
| → berkay joined | 17:38 |
| → enoq joined | 17:41 |
| → Wh0 joined | 17:41 |
| ← mns_ left | 17:41 |
| → great_taste joined | 17:41 |
| → mns joined | 17:41 |
| → lejocelyn joined | 17:42 |
| → coot joined | 17:44 |
| ← subopt left | 17:50 |
| ← sol__ left | 17:52 |
| → rwp joined | 17:57 |
| → madewokherd joined | 17:58 |
|
Arsen
| hey, can fetch deepen until it encounters a commit? (specifically, knowing a merge commit, I'd like to fetch all the commit the merge includes, so I'd need to deepen until I find the first parent) | 17:59 |
| ← tyson2 left | 17:59 |
|
ikke
| When I looked for something like that earlier, I could not find anything that does that | 18:00 |
|
| I ended up using enough depth to cover 99.9% of the cases | 18:00 |
|
Arsen
| our history is small enough for a deep fetch to not be too bad for now, so it might be worth implementing | 18:01 |
| ← coot left | 18:01 |
| ← orbyt left | 18:03 |
|
nicolas17
| Arsen: you're using shallow clone, with --depth? | 18:03 |
|
Arsen
| nicolas17: starting with shallow, I want to deepen | 18:03 |
|
nicolas17
| maybe the newer "partial clone" feature would work better for you, it gets *all* commits but without the blobs, then downloads blobs on demand | 18:04 |
|
| "git clone --filter=blob:none $url" | 18:05 |
|
cbreak
| shallow clones are very expensive on the server, why not just clone all history? | 18:05 |
|
| unless your project is somehow screwed up in a serious way, that shoulnd't be much more expensive | 18:06 |
|
Arsen
| cbreak: not sure why gh makes that their default | 18:06 |
|
| in actions | 18:06 |
|
cbreak
| gh doesn't like shallow clones | 18:06 |
| → typicat joined | 18:06 |
|
ikke
| Because people want fast clones (ci jobs) | 18:06 |
|
cbreak
| I think they complained to brew and others about it | 18:06 |
|
ikke
| Some projects were really abusing it though | 18:06 |
|
| using gh as a package repository | 18:07 |
|
cbreak
| ... like brew :D | 18:07 |
|
ikke
| They fixed the issue causing the high load | 18:07 |
|
cbreak
| by not using shallow repos | 18:07 |
|
| last time I tried to use homebrew, it complained to me about having to make everything no longer shallow | 18:08 |
|
ikke
| heh | 18:08 |
| → ThorMojito joined | 18:08 |
| ← ThorMojito left | 18:08 |
| → orbyt joined | 18:08 |
|
nicolas17
| abuses everywhere... | 18:08 |
|
| I was dealing with someone abusing CI jobs as a dev environment | 18:08 |
|
Arsen
| why is shallow cloning expensive? | 18:08 |
| → Betal joined | 18:09 |
|
Arsen
| nicolas17: repeated retriggering or? | 18:09 |
|
nicolas17
| Arsen: launching a reverse shell as the CI script, then using it interactively | 18:09 |
|
cbreak
| shallow clones require work from the server for creating a sutiable delta pack file for which ever things you're missing on the client | 18:09 |
|
Arsen
| ah, so even worse | 18:09 |
|
ikke
| nicolas17: heh, ran into that one as well (ci as dev) | 18:10 |
|
nicolas17
| even calls it "Get a Ubuntu SSH Virtual Machine for free ;)" on his readme | 18:10 |
|
| he has scripts to abuse github actions, gitlab ci, and circleci for the same purpose | 18:11 |
|
Arsen
| ikke: btw, --shallow-exclude might cover deepening until a commit | 18:11 |
|
| not sure how bad that is | 18:11 |
|
ikke
| https://github.blog/2020-12-22-git-clone-a-data-driven-study-on-cloning-behaviors/ | 18:11 |
|
Arsen
| ah, sounds like a good read | 18:12 |
|
| will give it a look | 18:12 |
|
ikke
| https://github.com/Homebrew/discussions/discussions/225 | 18:14 |
|
| mentions brew | 18:14 |
| → Rashad joined | 18:16 |
|
ikke
| I think it was Cacoapods that originally caused issues for github | 18:18 |
|
Arsen
| yeah, https://github.com/CocoaPods/CocoaPods/issues/4989#issuecomment-193772935 | 18:18 |
|
ikke
| right, thanks, that's what I was looking for | 18:19 |
| ← gurkenglas left | 18:20 |
| → Guest43 joined | 18:21 |
| ← Guest43 left | 18:21 |
| → dnh joined | 18:22 |
| → zeyu joined | 18:22 |
| → mitrokov joined | 18:26 |
| Andrew → HaxCPU | 18:28 |
| ← mitrokov left | 18:30 |
| → gurkenglas joined | 18:33 |
| ← great_taste left | 18:33 |
| → great_taste joined | 18:33 |
| ← dionysus69 left | 18:34 |
| ← gh34 left | 18:35 |
|
nicolas17
| Arsen: yikes :P | 18:36 |
|
Arsen
| yep... | 18:36 |
| → lejocelyn_ joined | 18:37 |
| ← lejocelyn_ left | 18:38 |
| ← lejocelyn left | 18:39 |
| → ThorMojito joined | 18:40 |
| ← ThorMojito left | 18:40 |
| → coot joined | 18:43 |
| → ThorMojito joined | 18:44 |
| ← Liblx left | 18:49 |
| ← Rashad left | 18:58 |
| ← orbyt left | 18:59 |
| ← Betal left | 19:03 |
| ← mfiano left | 19:03 |
| → mfiano joined | 19:04 |
|
bambams
| Odd... My vimdiff mergetool is broken.. | 19:05 |
|
| Paths with spaces don't get passed correctly and so it is opening the wrong buffers.. | 19:06 |
| → Rashad joined | 19:08 |
| → mitrokov joined | 19:11 |
| → NeoCron joined | 19:11 |
| → forgotmynick joined | 19:12 |
|
bambams
| I don't think my config should have changed on this.. :\ I'm not even sure that I overrode any defaults... Is it possible a recent update could have broken this? :\ Or any ideas on what I should check? | 19:14 |
| ← mexen left | 19:15 |
| ← junebug left | 19:17 |
|
bambams
| Hmm, downgrading to git version 2.36.1.windows.1 did indeed fix it.. | 19:17 |
| → tyson2 joined | 19:20 |
| ← Rashad left | 19:22 |
| → orbyt joined | 19:23 |
| → Betal joined | 19:24 |
| ← roadie left | 19:26 |
| → Rashad joined | 19:27 |
| ← enoq left | 19:33 |
| ← Murr left | 19:33 |
| → Murr joined | 19:34 |
| → roadie joined | 19:37 |
| → feriman joined | 19:41 |
| ← mbalmer left | 19:43 |
| → m0viefreak joined | 19:46 |
| ← johnjaye left | 19:51 |
| → vikonen joined | 19:51 |
| → johnjaye joined | 19:52 |
| ← ThorMojito left | 19:56 |
| → ThorMojito joined | 19:57 |
| ← jim87_ left | 19:57 |
| ← mitrokov left | 19:59 |
| ← Rashad left | 20:03 |
| → k1773 joined | 20:04 |
| → LuxuryMode joined | 20:05 |
| ← a1eaiactaest left | 20:13 |
| ← coot left | 20:17 |
| ← Wh0 left | 20:17 |
| → mitrokov joined | 20:20 |
| ← johnjaye left | 20:20 |
| → SunClonus joined | 20:22 |
| → Rashad joined | 20:22 |
| → awmv joined | 20:23 |
| ← gildasio left | 20:23 |
|
awmv
| I think I rename my local master branch to something else and then I renamed the branch on Gihub as well because that change wasn't reflected. Then I created a new branch master on Github that is empty. My idea was to use an orphan branch called master. I wanted to merge my old master branch into the new master branch to have file changes for a PR | 20:25 |
|
| I'm trying to undo everythign now | 20:25 |
|
| I think there is still some fragment left | 20:25 |
| → ackyshake joined | 20:26 |
| ← ThorMojito left | 20:27 |
| ← roadie left | 20:27 |
| → k1773_ joined | 20:29 |
| → gildasio joined | 20:29 |
| ← k1773 left | 20:31 |
| → junebug joined | 20:35 |
| ← SunClonus left | 20:37 |
| → bn_work joined | 20:37 |
| → ThorMojito joined | 20:42 |
| → theoceaniscool joined | 20:43 |
| ← yuljk left | 20:43 |
| → yuljk joined | 20:44 |
| ← typicat left | 20:44 |
| → rapmoc joined | 20:49 |
| k1773_ → k1773 | 20:51 |
| ← thebombzen left | 20:53 |
| ← mitrokov left | 20:53 |
| ← nicolas17 left | 20:54 |
| → causasui joined | 20:59 |
| ← squirrel left | 21:00 |
| → Deep3D joined | 21:03 |
| → YuGiOhJCJ joined | 21:04 |
| ← ueberall left | 21:12 |
| ← srinidhi left | 21:13 |
| → ueberall joined | 21:16 |
| → wootehfoot joined | 21:20 |
| → DavidTucker[m] joined | 21:23 |
|
DavidTucker[m]
| I got kicked for idling? | 21:23 |
|
| DavidTucker[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/807773f7acff382d11c660f70c7e3cf2dea47e35 | 21:24 |
|
ajak
| libera saw that as a quit with a quit message of (Quit: You have been kicked for being idle) | 21:25 |
|
rewt
| probably matrix shenanigans | 21:26 |
|
ajak
| yep | 21:26 |
|
DavidTucker[m]
| weird 🤔 ya, I'm on the Matrix bridge | 21:26 |
| ← Visor left | 21:27 |
| ← onizu left | 21:28 |
|
rewt
| DavidTucker[m], there's an option --no-track for "Do not set up "upstream" configuration, even if the branch.autoSetupMerge configuration variable is true." -- is that config true for you? | 21:28 |
|
DavidTucker[m]
| Doesn't look like it (`git config --get branch.autoSetupMerge` doesn't return anything) | 21:32 |
|
| `--no-track` works nicely :) | 21:33 |
| → Visor joined | 21:33 |
| → hbautista joined | 21:36 |
| ← dnh left | 21:37 |
| → dnh joined | 21:37 |
| ← YuGiOhJCJ left | 21:38 |
| → thebombzen joined | 21:38 |
| ← feriman left | 21:39 |
| ← rgrinberg left | 21:39 |
| ← madewokherd left | 21:41 |
| ← dnh left | 21:42 |
| ← hstct left | 21:42 |
| ← loulou_ left | 21:45 |
| ← orbyt left | 21:48 |
| ← k1773 left | 21:52 |
| ← wootehfoot left | 21:54 |
| ← The_Blode left | 21:58 |
| → nate4 joined | 21:59 |
| ← Rashad left | 21:59 |
| ← jmabr left | 22:01 |
| ← nate4 left | 22:04 |
| ← EvilDMP left | 22:07 |
| → Rashad joined | 22:09 |
| → dsrt joined | 22:11 |
| ← Rashad left | 22:11 |
| ← LuxuryMode left | 22:14 |
| → madewokherd joined | 22:14 |
| ← AnXa left | 22:19 |
| → AnXa joined | 22:21 |
| → karabaja4 joined | 22:31 |
| ← shokohsc left | 22:35 |
| → shokohsc joined | 22:37 |
| ← shokohsc left | 22:37 |
| ← NeoCron left | 22:37 |
| → shokohsc joined | 22:38 |
| ← shokohsc left | 22:38 |
| ← junebug left | 22:39 |
| → shokohsc joined | 22:41 |
| → stewie925 joined | 22:41 |
| ← tejr left | 22:42 |
| → krushia joined | 22:45 |
| ← awmv left | 22:45 |
| → tejr joined | 22:47 |
| → hoochmonger joined | 22:47 |
| ← dsrt left | 22:48 |
| ← thebombzen left | 22:49 |
| ← ThorMojito left | 22:52 |
| ← phundrak left | 22:54 |
| → ferdna joined | 22:54 |
| ← Saloframes left | 23:00 |
| → Saloframes joined | 23:00 |
| ← kenanmarasli left | 23:02 |
| → phundrak joined | 23:05 |
| ← acebrianjuan left | 23:05 |
| ← causasui left | 23:09 |
| → rgrinberg joined | 23:33 |
| ← Murr left | 23:33 |
| → junebug joined | 23:33 |
| → Murr joined | 23:33 |
| ← Lord_of_Life left | 23:36 |
| → Lord_of_Life joined | 23:37 |
| → YuGiOhJCJ joined | 23:40 |
| ← YuGiOhJCJ left | 23:41 |
| → YuGiOhJCJ joined | 23:41 |
| ← rgrinberg left | 23:43 |
| → thebombzen joined | 23:51 |
| → hiroot joined | 23:56 |