| 2023-02-08 |
| ← omethe left | 00:00 |
| → omethe joined | 00:01 |
| ← gildasio1 left | 00:02 |
| → Xenguy joined | 00:05 |
| ← The_Blode left | 00:06 |
| → peirik_ joined | 00:11 |
| ← roadie` left | 00:16 |
| ← datascraper left | 00:18 |
| ← tdwdiod^ left | 00:24 |
| → sqrl joined | 00:31 |
| ← YuGiOhJCJ left | 00:31 |
| ← luckman212 left | 00:32 |
| → luckman212 joined | 00:34 |
| → YuGiOhJCJ joined | 00:38 |
| → SuperLag joined | 00:39 |
| ← nyah left | 00:40 |
| ← selve left | 00:42 |
| ← NeatNit left | 00:42 |
| → selve joined | 00:43 |
| → NeatNit joined | 00:48 |
| ← BigShip left | 00:54 |
| → BigShip joined | 00:55 |
| ← Hi-Angel left | 00:55 |
| ← peirik_ left | 00:57 |
| ← YuGiOhJCJ left | 00:58 |
| → YuGiOhJCJ joined | 01:00 |
| → datascraper joined | 01:05 |
| → lucasta joined | 01:06 |
| → lolok joined | 01:08 |
| ← m0viefreak left | 01:09 |
| ← R2robot left | 01:11 |
| → R2robot joined | 01:11 |
| → dsrt^ joined | 01:14 |
| ← ferdna left | 01:20 |
| ← moha left | 01:20 |
| ← infernix left | 01:22 |
| → juno__ joined | 01:23 |
| → peirik_ joined | 01:25 |
| ← lucasta left | 01:25 |
| → madjones joined | 01:28 |
| → roadie` joined | 01:31 |
| ← cbreak left | 01:34 |
| → cbreak_ joined | 01:34 |
| ← juno__ left | 01:35 |
| → gsi joined | 01:35 |
| → lucasta joined | 01:35 |
| → infernix joined | 01:38 |
| ← gsi_ left | 01:38 |
| ← rama left | 01:38 |
| ← cbreak_ left | 01:42 |
| → gizmore|2 joined | 01:43 |
| → rama joined | 01:44 |
| ← madjones left | 01:44 |
| ← zeroes left | 01:46 |
| → zeroes joined | 01:46 |
| ← gizmore left | 01:46 |
| → cbreak joined | 01:47 |
| ← rama left | 01:48 |
| ← roadie` left | 01:50 |
| ← Oblomov left | 01:54 |
| → bywaterloo_ joined | 01:54 |
| ← kurbus left | 01:55 |
| → rama joined | 01:55 |
| ← gas51627 left | 01:56 |
| ← Leonarbro left | 01:56 |
| ← SANTAman left | 01:57 |
| ← bywaterloo left | 01:58 |
| ← pabs3 left | 01:58 |
| ← peirik_ left | 01:58 |
| ← germ_ left | 02:00 |
| → hayaliali joined | 02:01 |
| → germ joined | 02:02 |
| ← rama left | 02:05 |
| → Oblomov joined | 02:17 |
| → Lord_of_Life_ joined | 02:23 |
| ← Lord_of_Life left | 02:23 |
| Lord_of_Life_ → Lord_of_Life | 02:25 |
| ← datascraper left | 02:30 |
| ← lucasta left | 02:33 |
| → gast0n joined | 02:35 |
| → rama joined | 02:36 |
| ← rama left | 02:41 |
| → lucasta joined | 02:43 |
| → peirik_ joined | 02:44 |
| ← ___nick___ left | 02:45 |
| → jacobk joined | 02:45 |
| → ___nick___ joined | 02:47 |
| ← ___nick___ left | 02:47 |
| → rama joined | 02:48 |
| → ___nick___ joined | 02:49 |
| ← rama left | 02:52 |
| ← peirik_ left | 02:54 |
| → lucasta_ joined | 02:55 |
| → rama joined | 02:59 |
| ← cronos left | 03:03 |
| ← Oblomov left | 03:04 |
| → cronos joined | 03:04 |
| ← rama left | 03:04 |
| ← YuGiOhJCJ left | 03:07 |
| ← bywaterloo_ left | 03:08 |
| → bywaterloo joined | 03:09 |
| → rama joined | 03:11 |
| ← lucasta left | 03:13 |
| ← rama left | 03:15 |
| → YuGiOhJCJ joined | 03:16 |
| → roadie` joined | 03:18 |
| → lucasta joined | 03:26 |
| Abrax → |_ | 03:27 |
| |_ → Abrax | 03:27 |
| → Oblomov joined | 03:28 |
| ← Abrax left | 03:29 |
| ← plocket left | 03:29 |
| → Abrax joined | 03:30 |
| → finn_elija joined | 03:34 |
| ← FinnElija left | 03:34 |
| finn_elija → FinnElija | 03:34 |
| ← jacobk left | 03:38 |
| → peirik_ joined | 03:40 |
| ← terrorjack left | 03:41 |
| ← roadie` left | 03:41 |
| → rama joined | 03:41 |
| → terrorjack joined | 03:42 |
| ← bywaterloo left | 03:45 |
| ← peirik_ left | 03:45 |
| ← rama left | 03:46 |
| → Jong joined | 03:50 |
| → rama joined | 03:52 |
| ← rama left | 03:57 |
| → jacobk joined | 04:01 |
| ← FinnElija left | 04:03 |
| → rama joined | 04:04 |
| → FinnElija joined | 04:06 |
| ← gast0n left | 04:07 |
| → falafel joined | 04:07 |
| ← c0dehu1k left | 04:08 |
| ← rama left | 04:09 |
| ← Flow left | 04:09 |
| ← lucasta left | 04:12 |
| → lucasta joined | 04:16 |
| → rama joined | 04:16 |
| → SunClonus joined | 04:20 |
| ← rama left | 04:20 |
| ← SunClonus left | 04:23 |
| → Flow joined | 04:23 |
| → rama joined | 04:27 |
| ← constxd left | 04:28 |
| → constxd joined | 04:30 |
| ← rama left | 04:32 |
| → rama joined | 04:34 |
| ← omethe left | 04:34 |
| ← constxd left | 04:35 |
| → omethe joined | 04:36 |
| → constxd joined | 04:36 |
| ← lucasta_ left | 04:38 |
| ← rama left | 04:38 |
| ← lucasta left | 04:41 |
| → rama joined | 04:45 |
| → lucasta joined | 04:48 |
| ← GNUmoon left | 04:49 |
| ← rama left | 04:49 |
| → GNUmoon joined | 04:51 |
| ← lucasta left | 04:54 |
| ← Maxattax97 left | 04:55 |
| → rama joined | 04:56 |
| ← farzat left | 05:00 |
| ← rama left | 05:01 |
| → roadie` joined | 05:02 |
| → farzat joined | 05:02 |
| → lucasta joined | 05:05 |
| ← lucasta left | 05:09 |
| ← bket left | 05:09 |
| → bket joined | 05:12 |
| → han-solo joined | 05:14 |
| ← trafficjam left | 05:19 |
| → lucasta joined | 05:20 |
| ← roadie` left | 05:22 |
| → madjones joined | 05:25 |
| ← madjones left | 05:28 |
| → rama joined | 05:32 |
| ← rama left | 05:36 |
| ← lucasta left | 05:36 |
| → rama joined | 05:37 |
| ← rama left | 05:42 |
| → The_Blode joined | 05:43 |
| ← chexum left | 05:53 |
| ← YuGiOhJCJ left | 05:53 |
| → chexum joined | 05:54 |
| → YuGiOhJCJ joined | 05:54 |
| ← chexum left | 05:58 |
| → chexum joined | 05:59 |
| ← thiago left | 05:59 |
| → otisolsen70 joined | 05:59 |
| → roadie` joined | 06:00 |
| ← roadie` left | 06:04 |
| ← weko_ left | 06:06 |
| → weko joined | 06:07 |
| → roadie` joined | 06:12 |
| → rama joined | 06:12 |
| ← rama left | 06:17 |
| → rama joined | 06:18 |
| → Saloframes joined | 06:22 |
| ← Saloframes left | 06:22 |
| ← rama left | 06:22 |
| → Saloframes joined | 06:22 |
| → grub-reinstall joined | 06:23 |
| → rama joined | 06:29 |
| ← roadie` left | 06:33 |
| ← rama left | 06:34 |
| → rama joined | 06:36 |
| → grub-reinstall_ joined | 06:37 |
| ← falafel left | 06:38 |
| ← rama left | 06:40 |
| ← grub-reinstall left | 06:41 |
| grub-reinstall_ → grub-reinstall | 06:41 |
| ← sqrl left | 06:42 |
| → rama joined | 06:47 |
| ← faceface_ left | 06:49 |
| → yuesbeez joined | 06:51 |
| ← rama left | 06:52 |
| ← konsolebox left | 06:52 |
| → EvgenyK joined | 06:52 |
| ← jacobk left | 06:56 |
| → roadie` joined | 06:56 |
| ← EvgenyK left | 06:57 |
| → Hi-Angel joined | 06:58 |
| → rama joined | 06:58 |
| ← grub-reinstall left | 07:03 |
| ← rama left | 07:03 |
| → grub-reinstall joined | 07:05 |
| ← Saloframes left | 07:06 |
| ← grub-reinstall left | 07:07 |
| → lucasta joined | 07:07 |
| → V-T60 joined | 07:07 |
|
V-T60
| hello | 07:07 |
|
bookworm
| o/ | 07:08 |
|
| how can we help? | 07:08 |
| → Saloframes joined | 07:08 |
|
V-T60
| bookworm: i broke something on my project with git | 07:09 |
|
| just look at these weird looking words | 07:09 |
|
| https://bpa.st/raw/XNY5M | 07:09 |
|
| <<<<<<< HEAD | 07:09 |
|
bookworm
| that isn't breakage, jsut a merge conflict marker | 07:09 |
|
| you need to resolve it so that it makes sense | 07:09 |
|
V-T60
| >>>>>>> master | 07:10 |
|
| do i need to edit this file right now? | 07:10 |
|
bookworm
| V-T60: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line | 07:10 |
|
| yes | 07:10 |
| → rama joined | 07:10 |
|
bookworm
| https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts is better, even | 07:10 |
|
V-T60
| but why on earth this commit is the last one? i've just done yet another commit on my local computer | 07:11 |
|
| and wanted to push that to remote | 07:11 |
|
| commit 2671d29f9d53d7d14931dfead551678267d7ecf3 (HEAD, origin/master, origin/HEAD) | 07:11 |
|
bookworm
| and then you called merge or some such | 07:11 |
|
| you don't get merge conflicts without doing a rebase / merge or reshuffling of commits | 07:12 |
|
V-T60
| it complained about need of one of those | 07:12 |
|
bookworm
| read the atlassian link, preferably also a few others in the series | 07:12 |
|
| well, yes. Because your remote diverged from your local stae | 07:12 |
|
V-T60
| and i edited a config to automatically rebase, probably... | 07:12 |
|
| or did some other commands, randomly | 07:13 |
|
bookworm
| randomly is usually a bad approach, yes ;) | 07:13 |
| → c0dehu1k joined | 07:14 |
|
V-T60
| though, this situation is mostly for learning. i didn't do much useful in the hypothetical case of losing something | 07:14 |
|
| just wanted to understand how to synchronize | 07:14 |
|
bookworm
| sure | 07:14 |
|
| git told you where the conflicting things are, so now just fix those up and commit again | 07:14 |
|
| git status should tell you that too | 07:15 |
| ← c0dehu1k left | 07:15 |
|
bookworm
| or well, rebase --continue, depending on what state you are in exactly | 07:15 |
| ← rama left | 07:15 |
|
bookworm
| but again, git status will tell you | 07:15 |
| → grub-reinstall joined | 07:15 |
| → c0dehu1k joined | 07:15 |
|
V-T60
| interactive rebase in progress; onto 2671d29 | 07:16 |
|
| this one is red: both added: ZPDG.sh | 07:16 |
|
bookworm
| did you read the atlassian link yet? | 07:17 |
| → irrgit__ joined | 07:18 |
|
V-T60
| i'm doing that at the moment | 07:19 |
| → EvgenyK joined | 07:19 |
| ← irrgit_ left | 07:21 |
| → rama joined | 07:22 |
| ← rubbadovedove left | 07:25 |
| ← rama left | 07:26 |
| → zeroes_ joined | 07:26 |
| → duxsco joined | 07:27 |
|
V-T60
| yeah, that situation is exactly like what i have | 07:28 |
|
| do i have to just remove all unnecessary line out of there? according to the documentation | 07:29 |
| ← zeroes left | 07:29 |
| ← EvgenyK left | 07:31 |
| → rubbadovedove joined | 07:31 |
| → rama joined | 07:33 |
|
V-T60
| that works | 07:34 |
| ← rubbadovedove left | 07:35 |
| → rubbadovedove joined | 07:37 |
| ← rama left | 07:38 |
| grub-reinstall → HugoH | 07:39 |
|
bookworm
| well, just fix it up so that it makes sense in the context you're in | 07:39 |
| → rama joined | 07:40 |
| → coot joined | 07:41 |
|
HugoH
| hey | 07:41 |
|
V-T60
| hello | 07:42 |
|
HugoH
| why my commits made on my pc are not compatible with github while I am connected with github with visual studio code | 07:43 |
|
| https://i.imgur.com/Wn26d61.png | 07:43 |
|
V-T60
| bookworm: now every repository is synchronized https://git.shapovalov.tech/ZPDG/log.html | 07:44 |
|
HugoH
| my git config is that | 07:44 |
| ← rama left | 07:44 |
|
V-T60
| now i'm going to find one of the previous documentation pages that was sent before | 07:45 |
|
| and clean commit history | 07:45 |
| → EvgenyK joined | 07:45 |
| → mexen joined | 07:46 |
|
V-T60
| does anyone know what is Unnamed repository; edit this file 'description' to name the repository. | 07:46 |
|
| where do i specify this? | 07:46 |
| ← Aminda left | 07:48 |
| → Aminda joined | 07:49 |
|
V-T60
| is that git specific at all? stagit gave me such output | 07:49 |
| ← FinnElija left | 07:49 |
| → FinnElija joined | 07:50 |
| → rama joined | 07:51 |
| → moha joined | 07:51 |
| ← whatsupdoc left | 07:52 |
| → iomari891 joined | 07:54 |
| ← rama left | 07:55 |
|
grawity
| that comes from the .git/description file | 07:57 |
|
| edit it directly | 07:57 |
|
V-T60
| grawity: nice. isn't very good to sed all files | 07:58 |
|
| .html | 07:58 |
| → onizu joined | 07:59 |
| ← [twisti] left | 08:00 |
|
V-T60
| $ git push home master | 08:01 |
|
| Everything up-to-date | 08:01 |
|
| why is that so? | 08:01 |
|
| i edited .git/description file | 08:01 |
|
grawity
| the description is not synchronized between repos | 08:02 |
|
V-T60
| that's not good | 08:03 |
|
| do i need to edit that manually everywhere? | 08:03 |
|
grawity
| does it matter everywhere? | 08:04 |
|
| probably the only place it matters is your cgit or gitweb server or similar | 08:04 |
|
| can't think of any other tools that would show the description | 08:04 |
| → rfuentess joined | 08:06 |
| ← rubbadovedove left | 08:10 |
| → rubbadovedove joined | 08:12 |
| → zeenk joined | 08:12 |
| ← farzat1 left | 08:16 |
| ← Bardon left | 08:18 |
| → VaniaPy joined | 08:20 |
| ← zeroes_ left | 08:24 |
| → zeroes_ joined | 08:24 |
| ← dustinm left | 08:25 |
| ← wyre left | 08:27 |
| ← han-solo left | 08:27 |
| → dustinm joined | 08:27 |
| → wyre joined | 08:28 |
| → han-solo joined | 08:29 |
| → dustinm` joined | 08:31 |
| ← HugoH left | 08:31 |
| → rama joined | 08:32 |
| ← dustinm left | 08:32 |
| ← jkl left | 08:33 |
| → jkl joined | 08:34 |
| ← lacrymology left | 08:35 |
| → nevyn joined | 08:36 |
| ← rama left | 08:36 |
| → prime joined | 08:37 |
| ← dermoth left | 08:38 |
| → LW joined | 08:39 |
| → derfflinger joined | 08:40 |
| → DrowningElysium joined | 08:41 |
| ← GoGi left | 08:42 |
| → rama joined | 08:43 |
| ← Betal left | 08:45 |
| → sa0 joined | 08:46 |
| → GoGi joined | 08:46 |
| ← GoGi left | 08:46 |
| → GoGi joined | 08:46 |
| ← rama left | 08:48 |
| → EvgenyK_ joined | 08:48 |
| ← Nintendo left | 08:48 |
| → Bardon joined | 08:49 |
| ← EvgenyK left | 08:49 |
| → EvgenyK joined | 08:50 |
| ← iomari891 left | 08:50 |
| → dermoth joined | 08:51 |
| → peirik_ joined | 08:53 |
| → Nintendo joined | 08:53 |
| ← EvgenyK_ left | 08:53 |
| ← llh left | 08:54 |
| ← skapata left | 08:55 |
| → rama joined | 08:55 |
| ← roadie` left | 08:56 |
| → roadie` joined | 08:56 |
| → llh joined | 08:56 |
| → TomyWork joined | 08:56 |
| → MajorBiscuit joined | 08:57 |
| ← mnathani left | 08:57 |
| → mnathani joined | 08:58 |
| → HugoH joined | 08:58 |
| → farzat1 joined | 08:58 |
| → EvgenyK_ joined | 08:58 |
| ← rama left | 09:00 |
| ← ackyshake left | 09:00 |
| → filePeter joined | 09:01 |
| ← EvgenyK left | 09:01 |
| hayaliali → alip | 09:01 |
| → jaredce joined | 09:02 |
| ← escherial left | 09:07 |
| ← peirik_ left | 09:07 |
| → theoceaniscool joined | 09:09 |
| ← jb1277976 left | 09:09 |
| → jb1277976 joined | 09:09 |
| → f_ joined | 09:13 |
| → bgs joined | 09:14 |
| → iomari891 joined | 09:17 |
| ← dviola left | 09:23 |
| → dviola joined | 09:23 |
| → EvgenyK joined | 09:23 |
| → feriman joined | 09:24 |
| → peirik_ joined | 09:24 |
| ← iomari891 left | 09:25 |
| ← EvgenyK_ left | 09:26 |
| → Masklin__Gurder joined | 09:27 |
| → iomari891 joined | 09:27 |
| ← Masklin left | 09:27 |
| Masklin__Gurder → Masklin | 09:28 |
| → dionysus69 joined | 09:29 |
| ← lucasta left | 09:30 |
| → Aule joined | 09:32 |
| → rama joined | 09:35 |
| ← warmana left | 09:35 |
| ← feriman left | 09:36 |
| → feriman joined | 09:37 |
| → irrgit_ joined | 09:38 |
| ← rama left | 09:41 |
| ← irrgit__ left | 09:41 |
| ← feriman left | 09:43 |
| ← duxsco left | 09:45 |
| → rama joined | 09:47 |
| ← rama left | 09:52 |
| ← yuesbeez left | 09:55 |
| → stenno joined | 09:57 |
| → nyah joined | 09:58 |
| ← hamburgler left | 09:58 |
|
stenno
| good day, way back we did not have a proper development branch - we had a big feature branch big_feature which was our de-facto dev branch. So back in the day, hundreds of commits ago, i derived my own some_feature branch from big_feature and happily coded away | 09:58 |
|
| recently, we decided to create an actual development branch: so we derived a branch 'development' from our branch big_feature, and locked the big_feature branch | 09:59 |
|
| now i am a bit confused... if i was to finally create a pull request for my some_feature branch to development, - | 10:00 |
|
| damn i am confused, i cannot even properly formulate my question | 10:01 |
| → powftw joined | 10:01 |
|
stenno
| sorry for the noise, i will think about this a bit more before asking concrete questions lol | 10:01 |
| ← XV8 left | 10:03 |
| ← The_Blode left | 10:03 |
| → XV8 joined | 10:04 |
| → rama joined | 10:05 |
| ← peirik_ left | 10:06 |
| → mobidrop joined | 10:08 |
| ← rama left | 10:09 |
| → gtdg joined | 10:10 |
| ← gtdg left | 10:11 |
| → gtdg joined | 10:11 |
|
Aule
| stenno if you were to create a PR to the development branch, because it is branched off of big_feature, you should be able to create a PR no problem, but because you've been branched off for so long, you'll likely run into merge conflicts, if you branch off of your feature branche to a test one, and try a rebase onto development, that'll let you see conflicts before going through a PR. Just to let you get a lay of the things to fix before creating a PR | 10:14 |
|
stenno
| yes, that is exactly what i am doing right now :D thanks! | 10:15 |
|
| i planned that after successful rebasing , that i will just rename this test branch to the actual feature branch | 10:16 |
| → rama joined | 10:16 |
| → unixaos joined | 10:19 |
| → dinkus joined | 10:20 |
| ← rama left | 10:20 |
| ← gxt left | 10:24 |
| ← roadie` left | 10:26 |
| → roadie joined | 10:27 |
| → fstd_ joined | 10:27 |
| ← wolfdale83 left | 10:27 |
| → drogas joined | 10:27 |
| → pconst167 joined | 10:27 |
| → wolfdale83 joined | 10:27 |
| ← fstd left | 10:30 |
| fstd_ → fstd | 10:30 |
| ← umbramalison_alt left | 10:30 |
| ← BlessJah left | 10:31 |
| → umbramalison joined | 10:31 |
| → lucasta joined | 10:32 |
| → BlessJah joined | 10:34 |
| → peirik_ joined | 10:34 |
| ← reset left | 10:36 |
|
stenno
| damn i did it, all is well again | 10:43 |
|
| thanks again Aule ! | 10:43 |
|
Aule
| You're welcome stenno, glad you're sorted, I'd say it's maybe a good idea to rebase your branch somewhat frequently, otherwise you're coding without awareness of other features, saves the pain of a lot of conflicts | 10:46 |
| → rama joined | 10:46 |
|
stenno
| yeah i usually try to do that but in this specific case somehow i didn't | 10:47 |
| ← peirik_ left | 10:47 |
|
Aule
| It happens, I'm well into trunk based development now, so I avoid long term feature branches, saves the headache tbh, but you need to be more careful when working on long features | 10:49 |
| ← rama left | 10:51 |
| → unluckyshrubbery joined | 10:52 |
| → rama joined | 10:53 |
| ← otisolsen70 left | 10:55 |
| ← dionysus69 left | 10:55 |
| ← rama left | 10:57 |
| → rama joined | 10:59 |
| Abrax → BD | 11:00 |
| BD → Abrax | 11:01 |
| ← rfuentess left | 11:01 |
| ← HugoH left | 11:02 |
| → feriman joined | 11:03 |
| ← rama left | 11:03 |
| → peirik_ joined | 11:05 |
| → dionysus69 joined | 11:07 |
| → unixaos1 joined | 11:09 |
| → rama joined | 11:11 |
| ← unixaos left | 11:11 |
| ← lolok left | 11:11 |
| → lolok joined | 11:14 |
| ← rama left | 11:16 |
| ← coot left | 11:19 |
| ← peirik_ left | 11:20 |
| → rama joined | 11:22 |
| ← gtdg left | 11:26 |
| ← rama left | 11:27 |
| → rama joined | 11:28 |
| → irrgit__ joined | 11:30 |
| ← rama left | 11:33 |
| ← irrgit_ left | 11:33 |
| → irrgit_ joined | 11:34 |
| ← irrgit__ left | 11:35 |
| ← tirnanog left | 11:41 |
| ← unixaos1 left | 11:41 |
| ← f_ left | 11:42 |
| → coot joined | 11:42 |
| → f_ joined | 11:44 |
| → peirik_ joined | 11:46 |
| ← dob1 left | 11:47 |
| ← randm left | 11:54 |
| → randm joined | 11:54 |
| → roadie` joined | 11:55 |
| ← Ingvix left | 11:57 |
| ← pconst167 left | 11:58 |
| ← roadie left | 11:58 |
| → Ingvix joined | 11:58 |
| → pconst167 joined | 11:58 |
| → dob1 joined | 12:02 |
| → rama joined | 12:04 |
| → rfuentess joined | 12:06 |
| ← rama left | 12:08 |
| ← feriman left | 12:12 |
| → feriman joined | 12:12 |
| → rama joined | 12:12 |
| ← rama left | 12:17 |
| ← lucasta left | 12:19 |
| ← peirik_ left | 12:20 |
| gizmore|2 → gizmore | 12:23 |
| → rama joined | 12:24 |
| ← rama left | 12:28 |
| ← jdarnley left | 12:28 |
| ← c0dehu1k left | 12:30 |
| → J_Darnley joined | 12:31 |
| ← f_ left | 12:31 |
| → arch_angel joined | 12:31 |
| ← dinkus left | 12:32 |
| → dinkus joined | 12:32 |
| → peirik_ joined | 12:34 |
| → rama joined | 12:35 |
| ← rama left | 12:40 |
| ← Holz left | 12:40 |
| → bewees joined | 12:41 |
|
bewees
| Hi, if I rebased branch A to master, and then checkout master, what would be the difference, if I then `git rebase A` or `git merge A`. I think there is no difference, because the first rebase implies that the A's commits are rewritten to the branch tip of master, and then you could aswell just do `merge` from master? https://bpa.st/PPQVO | 12:41 |
| → gxt joined | 12:42 |
|
selckin
| everything sounds right, not sure what the question is, do that merge instead of what? | 12:43 |
| → rosco joined | 12:47 |
| → Holz joined | 12:47 |
| ← rustyshackleford left | 12:47 |
|
bewees
| selckin, I wonder if it matters if I do `git checkout feature; git rebase master; git checkout master; git rebase A` vs `git checkout feature; git rebase master; git checkout master; git merge A`, I was on youtube videos that people sometimes first or second option | 12:49 |
|
| /s/was/saw/ | 12:49 |
|
| +did | 12:49 |
|
selckin
| they are basically the same since hte merge will do a fast forward since you only have new commits on top of master | 12:51 |
|
bewees
| Gotcha, thank you! So could use either in that situation | 12:52 |
| ← peirik_ left | 12:54 |
| → peirik_ joined | 12:58 |
| ← roadie` left | 13:00 |
| → HugoH joined | 13:01 |
| ← HugoH left | 13:01 |
| → blackhawk joined | 13:01 |
| → HugoH joined | 13:01 |
| → gryffus joined | 13:02 |
| ← peirik_ left | 13:03 |
| ← VaniaPy left | 13:04 |
| → peirik_ joined | 13:04 |
| → clime joined | 13:08 |
| → xheimlich joined | 13:09 |
| ← peirik_ left | 13:09 |
| → rama joined | 13:11 |
| → bywaterloo joined | 13:11 |
| ← rama left | 13:15 |
| → rama joined | 13:16 |
| ← rama left | 13:20 |
| → lucasta joined | 13:22 |
| → peirik_ joined | 13:23 |
| ← YuGiOhJCJ left | 13:23 |
| → halting joined | 13:24 |
| ← halting left | 13:24 |
| → rama joined | 13:27 |
| ← peirik left | 13:28 |
| ← feriman left | 13:29 |
| → peirik joined | 13:30 |
| ← dsrt^ left | 13:31 |
| ← rama left | 13:32 |
| ← lolok left | 13:33 |
| → rama joined | 13:34 |
| → lucasta_ joined | 13:34 |
| ← rama left | 13:39 |
| ← jaredce left | 13:41 |
| → rama joined | 13:45 |
| ← xeelad left | 13:47 |
| → xeelad joined | 13:47 |
| ← rama left | 13:50 |
| → jdarnley joined | 13:50 |
| ← J_Darnley left | 13:50 |
| ← bywaterloo left | 13:52 |
| → kaisyu joined | 13:53 |
| → gildasio1 joined | 13:53 |
| ← lucasta left | 13:53 |
| ← peirik_ left | 13:57 |
| → rama joined | 13:57 |
| ← coot left | 13:59 |
| ← HugoH left | 13:59 |
| → jaredce joined | 13:59 |
| ← rama left | 14:01 |
| ← KimK_ left | 14:02 |
| → KimK joined | 14:05 |
| ← arch_angel left | 14:08 |
| → rama joined | 14:08 |
| ← mexen left | 14:12 |
| ← rama left | 14:13 |
| → maret joined | 14:17 |
| → Guest78 joined | 14:17 |
| ← Xenguy left | 14:17 |
| → rama joined | 14:20 |
| → VaniaPy joined | 14:20 |
| → cdown joined | 14:20 |
| ← rama left | 14:25 |
| ← maret left | 14:27 |
| → coot joined | 14:30 |
| ← derfflinger left | 14:31 |
| → agowa338 joined | 14:33 |
| → megox joined | 14:33 |
| → d[-_-]b joined | 14:34 |
| → causasui joined | 14:35 |
| ← epony left | 14:37 |
| ← stenno left | 14:37 |
| ← powftw left | 14:41 |
| → feriman joined | 14:42 |
| → derfflinger joined | 14:43 |
| → epony joined | 14:44 |
| → kkawg joined | 14:45 |
| ← VaniaPy left | 14:45 |
| ← pconst167 left | 14:46 |
| → pconst167 joined | 14:47 |
| → rustyshackleford joined | 14:49 |
| ← pconst167 left | 14:53 |
| ← blackhawk left | 14:53 |
| → kurbus joined | 14:54 |
| → rama_ joined | 14:55 |
| → zeroes joined | 14:56 |
| → blackhawk joined | 14:57 |
| ← kurbus left | 14:58 |
| → kurbus31 joined | 14:58 |
| kurbus31 → kurbus | 14:58 |
| ← zeroes_ left | 14:58 |
| ← rama_ left | 14:59 |
| ← gryffus left | 15:00 |
| → VaniaPy joined | 15:01 |
| ← xheimlich left | 15:03 |
| → peirik_ joined | 15:05 |
| → rama_ joined | 15:06 |
| ← rama_ left | 15:11 |
| → thiago joined | 15:11 |
| → xheimlich joined | 15:12 |
| ← mei left | 15:13 |
| d[-_-]b → stenno | 15:15 |
| → arch_angel joined | 15:17 |
| ← VaniaPy left | 15:17 |
| ← feriman left | 15:18 |
| ← xheimlich left | 15:27 |
| ← derfflinger left | 15:29 |
| → derfflinger joined | 15:30 |
| → lgc joined | 15:32 |
| ← lgc left | 15:33 |
| ← zeroes left | 15:33 |
| → briian joined | 15:33 |
| → zeroes joined | 15:33 |
| → rama_ joined | 15:36 |
| ← peirik_ left | 15:38 |
| ← rama_ left | 15:40 |
| ← mobidrop left | 15:45 |
| → rama_ joined | 15:47 |
| ← xeelad left | 15:48 |
| → xeelad joined | 15:48 |
| → codaraxis joined | 15:49 |
| ← codaraxis left | 15:50 |
| → mei joined | 15:50 |
| → codaraxis joined | 15:50 |
| ← codaraxis left | 15:51 |
| → sedzcat joined | 15:51 |
| → codaraxis joined | 15:52 |
| ← rama_ left | 15:52 |
| ← nattiestnate left | 15:52 |
| → madjones joined | 15:53 |
| → nattiestnate joined | 15:53 |
| → DEEPAKs joined | 15:54 |
| ← DEEPAKs left | 15:54 |
|
OMGOMG
| when editing the commit message, can the content of the commit be shown as a comment, in addition to the status? | 15:55 |
| → osprey joined | 15:58 |
| → rama_ joined | 15:59 |
| ← derfflinger left | 15:59 |
| ← blackhawk left | 16:01 |
|
osse
| OMGOMG: git commit -v | 16:02 |
|
| git config commit.verbose true | 16:02 |
| ← kaisyu left | 16:03 |
| ← rama_ left | 16:04 |
| → derfflinger joined | 16:05 |
| → cdown_ joined | 16:05 |
| → rama_ joined | 16:05 |
| → bywaterloo joined | 16:05 |
| → xheimlich joined | 16:05 |
|
OMGOMG
| i swear i rt entire fm except for that bit | 16:06 |
|
| thanks | 16:06 |
| ← cdown left | 16:07 |
| cdown_ → cdown | 16:07 |
| ← rama_ left | 16:10 |
| → peirik_ joined | 16:12 |
| → cdown_ joined | 16:16 |
| ← peirik_ left | 16:17 |
| ← kurbus left | 16:18 |
| ← derfflinger left | 16:18 |
| ← cdown left | 16:18 |
| cdown_ → cdown | 16:18 |
| ← gildasio1 left | 16:19 |
| → gildasio1 joined | 16:21 |
| ← madjones left | 16:21 |
| ← chexum left | 16:25 |
| ← zeroes left | 16:25 |
| ← jdarnley left | 16:25 |
| → zeroes joined | 16:25 |
| → chexum joined | 16:25 |
| → sqrl joined | 16:28 |
| → anarchat joined | 16:30 |
| → duxsco joined | 16:31 |
| → rama_ joined | 16:31 |
| ← osprey left | 16:32 |
| ← redbool left | 16:33 |
| ← kkawg left | 16:35 |
| ← rama_ left | 16:35 |
| → rama_ joined | 16:35 |
| ← anarchat left | 16:36 |
| → peirik_ joined | 16:37 |
| ← chexum left | 16:38 |
| ← rfuentess left | 16:39 |
| → chexum joined | 16:39 |
| → J_Darnley joined | 16:39 |
| → redbool joined | 16:39 |
| → gast0n joined | 16:45 |
| → lucasta joined | 16:46 |
| ← chexum left | 16:47 |
| → unixaos joined | 16:47 |
| ← J_Darnley left | 16:47 |
| → chexum joined | 16:47 |
| ← duxsco left | 16:49 |
| → duxsco joined | 16:50 |
|
osse
| You retweeted the entire fucking magnet? | 16:51 |
| → f_ joined | 16:52 |
|
gizmore
| howto delete a commit all between the blockchain? | 16:53 |
| → gh34 joined | 16:53 |
| ← unixaos left | 16:55 |
| ← lxsameer left | 16:55 |
| → kurbus joined | 16:55 |
| → vmonteco joined | 16:56 |
| ← lucasta left | 16:57 |
| → J_Darnley joined | 16:57 |
| ← cdown left | 16:58 |
| → kurbus27 joined | 17:00 |
| kurbus → Guest2389 | 17:01 |
| kurbus27 → kurbus | 17:01 |
| → maret joined | 17:01 |
| ← Guest2389 left | 17:01 |
| ← dinkus left | 17:02 |
| → dinkus joined | 17:02 |
| ← kurbus left | 17:06 |
| → kurbus joined | 17:07 |
| ← arch_angel left | 17:09 |
| ← peirik_ left | 17:10 |
| ← Hi-Angel left | 17:10 |
| ← kurbus left | 17:11 |
| → lucasta joined | 17:16 |
| → f3n1x joined | 17:17 |
| → c0dehu1k joined | 17:17 |
| → Leonarbro joined | 17:17 |
| ← duxsco left | 17:19 |
|
f3n1x
| i might be missing some very basics here ... ? why is git not honouring my [user] | 17:19 |
|
| email = [email@hidden.address] | 17:19 |
|
| name = Fenix | 17:19 |
|
| ~/.config/git/config parameters file but prompting me to manually setup them when git pushing ? | 17:19 |
| ← xheimlich left | 17:19 |
|
f3n1x
| thanks, thanks, thanks | 17:19 |
| ← lucasta left | 17:20 |
|
ikke
| f3n1x: user.name is not used for pushing (it's not authentication) | 17:20 |
|
| Those are only used to set the author / commiter field in commits | 17:21 |
| ← DrowningElysium left | 17:21 |
| → matni1 joined | 17:21 |
|
f3n1x
| ah, ikke --- nice to know, how setup it not manually but programmatically ? | 17:22 |
| → TheCatBehemoth joined | 17:22 |
|
acidbong
| define programmatically? | 17:23 |
|
f3n1x
| i mean, so that next time for whatever reason i change to another PC and/or operating system and have this already pre-configured in the future ? | 17:23 |
|
acidbong
| or do you mean `git config user.name "Fenix"` | 17:24 |
| ← han-solo left | 17:24 |
|
acidbong
| ? | 17:24 |
|
f3n1x
| yeah, of course i can type that command... in other words, in which config file is git storing those settings i wonder ? | 17:25 |
|
acidbong
| if you wanna back up your git ID, you have to set them up with `git config --global` | 17:25 |
|
| they're gonna be saved to `~/.gitconfig` | 17:26 |
| ← MajorBiscuit left | 17:26 |
|
f3n1x
| nice to know ! thanks, thanks, thanks | 17:26 |
|
acidbong
| and then you use whichever backup solution you know or like | 17:26 |
|
| including git itself | 17:27 |
| → peirik_ joined | 17:27 |
|
f3n1x
| okey !... a symlink to ~/.config/git/.gitconfig may do the job ? | 17:28 |
|
gitinfo
| [!dots] A..B = stuff that happened between A and B (if A and B are related; otherwise refer to "man gitrevisions"), A...B = (a) in history viewers: stuff that isn't in both A and B yet; (b) in "git diff": stuff that happened in B since the two diverged; (c) in "git checkout": the merge base of A and B. "master.." is the same as "master..HEAD" and "..master" is the same as "HEAD..master", and so forth. | 17:28 |
| → lucasta joined | 17:29 |
| ← Aule left | 17:30 |
| ← peirik_ left | 17:31 |
| → roadie joined | 17:35 |
| ← filePeter left | 17:39 |
|
acidbong
| f3n1x, sorry for confusion | 17:39 |
|
| the docs say both paths are valid, just ~/.gitconfig is the one that's created automatically | 17:39 |
| ← rama_ left | 17:40 |
| ← lucasta left | 17:40 |
|
acidbong
| ah, the longer one should be ~/.config/git/config, you got it right first time | 17:40 |
| → lacrymology joined | 17:46 |
| → rama_ joined | 17:48 |
|
stenno
| huh how strange | 17:50 |
|
| i am on branch foo, from there i did `git fetch bar`, it fetched bar: * brach bar -> FETCH_HEAD | 17:51 |
| → lucasta joined | 17:51 |
|
stenno
| now i try `git checkout bar` but i get 'did not match any files known to git' | 17:51 |
|
| didn't i just fetch the branch from origin? | 17:51 |
| → warmana joined | 17:56 |
| → xheimlich joined | 17:58 |
| → peirik_ joined | 17:59 |
| ← dionysus69 left | 18:00 |
| ← peirik_ left | 18:04 |
| ← dinkus left | 18:05 |
| → dinkus joined | 18:05 |
| ← thebombzen left | 18:08 |
| → Betal joined | 18:08 |
| ← lucasta left | 18:17 |
| ← f_ left | 18:22 |
| → lucasta joined | 18:28 |
| ← iomari891 left | 18:30 |
|
osse
| stenno: what does git remote print? | 18:34 |
|
stenno
| 'origin' | 18:35 |
|
osse
| stenno: do just 'git fetch' and try again | 18:35 |
|
stenno
| oh sorry, above i said i did `git fetch bar`, but i did `git fetch origin bar` | 18:36 |
|
| ok lemme try | 18:36 |
|
| it worked just fine | 18:37 |
|
| maybe something else was wrong there | 18:37 |
|
osse
| That other version of fetch is a bit weird. It only stores the result of the fetch in FETCH_HEAD, so the information that the thing that was fetch is named bar is sort of lost | 18:38 |
|
stenno
| noted | 18:38 |
|
| thanks for clarification | 18:38 |
|
osse
| The friendly version of git fetch creates/updates origin/bar (and origin/foo and...) | 18:38 |
| ← igemnace left | 18:49 |
| → derpydoo joined | 18:49 |
| → mven1 joined | 18:50 |
| ← mven left | 18:51 |
| mven1 → mven | 18:51 |
| → The_Blode joined | 18:53 |
| ← lucasta left | 18:58 |
| → peirik_ joined | 19:01 |
| ← Holz left | 19:05 |
| ← jgalt79 left | 19:06 |
| → Hi-Angel joined | 19:06 |
| ← J_Darnley left | 19:08 |
| → lucasta joined | 19:09 |
| → J_Darnley joined | 19:09 |
| ← gast0n left | 19:11 |
| ← Milos left | 19:14 |
| → Milos joined | 19:15 |
| ← TomyWork left | 19:19 |
| → kurbus joined | 19:20 |
| ← gildasio1 left | 19:22 |
| → so-offish joined | 19:28 |
| ← kurbus left | 19:30 |
| ← J_Darnley left | 19:30 |
| → J_Darnley joined | 19:32 |
| ← rosco left | 19:32 |
| → rosco joined | 19:32 |
| ← rosco left | 19:33 |
| ← peirik_ left | 19:36 |
| ← TheCatBehemoth left | 19:40 |
| → gildasio joined | 19:42 |
| → mexen joined | 19:42 |
| ← so-offish left | 19:44 |
| → thebombzen joined | 19:46 |
| → hectopascal joined | 19:48 |
| ← coot left | 19:51 |
| ← sqrl left | 19:52 |
| ← dinkus left | 19:52 |
| → duxsco joined | 19:53 |
| ← rama_ left | 19:54 |
| → rama_ joined | 19:55 |
|
lmat_
| /quit | 20:00 |
| ← lmat_ left | 20:01 |
| ← lucasta left | 20:04 |
| ← duxsco left | 20:11 |
| ← jaredce left | 20:12 |
| → lucasta joined | 20:14 |
| ← J_Darnley left | 20:18 |
| → ZacSharp joined | 20:19 |
| → J_Darnley joined | 20:23 |
| ← Coop left | 20:24 |
| → otisolsen70 joined | 20:25 |
| → peirik_ joined | 20:26 |
| → igemnace joined | 20:29 |
| → halting joined | 20:29 |
| ← peirik_ left | 20:31 |
| → reset joined | 20:33 |
| → codaraxis__ joined | 20:34 |
| ← halting left | 20:34 |
| ← codaraxis left | 20:38 |
| ← mexen left | 20:41 |
| → tirnanog joined | 20:43 |
| ← tomhg left | 20:46 |
| → tomhg joined | 20:46 |
| ← J_Darnley left | 20:48 |
| ← lucasta left | 20:49 |
| → kurbus joined | 20:49 |
| → J_Darnley joined | 20:52 |
| → lucasta joined | 20:52 |
| → m0viefreak joined | 20:53 |
| ← riposte left | 20:55 |
| → riposte joined | 20:55 |
| ← rama_ left | 20:56 |
| → rama_ joined | 20:56 |
| ← kurbus left | 20:57 |
| → peirik_ joined | 20:58 |
| ← lucasta_ left | 21:00 |
| ← ___nick___ left | 21:04 |
| → odoood joined | 21:06 |
| ← rama_ left | 21:08 |
| → rama_ joined | 21:08 |
| → edgimar joined | 21:10 |
| → VaultTec joined | 21:10 |
|
edgimar
| Our team commits directly to master for smaller series of commits. Is there a way to track (preferably within the git repo itself, maybe automatically in some text file) groups of commits that belong to a particular feature *after* rebasing onto master? (or something that can automatically modify commit messages to indicate what feature they all belonged to) | 21:13 |
| → duxsco joined | 21:13 |
|
ikke
| Not without manual tracking | 21:14 |
|
| or merging with no-ff | 21:14 |
|
edgimar
| Even w/ no-ff, you would just get a single merge commit that wouldn't tell you where the group of commits starts, right? | 21:15 |
|
ikke
| The start would be the merge base | 21:18 |
|
edgimar
| Hm. Ok, so would the right way to do this be to rebase onto master locally, then merge --no-ff <other branch>? | 21:20 |
|
ikke
| or even better use short lived feature branches that you merge with --no-ff into master | 21:21 |
|
| if you rebase onto upstream master, there is no distinction anymore | 21:22 |
|
| (without separate branch) | 21:22 |
| → jacobk joined | 21:22 |
|
ikke
| no, that's incorrect | 21:22 |
|
| upstream/master origin/master) would still point to base | 21:23 |
| ← duxsco left | 21:27 |
| ← zeenk left | 21:27 |
|
edgimar
| yeah, that could work. I feel like github / gitlab have some kind of setting that will allow you to rebase and do some kind of --ff-only merge that still has a (pseudo-?) merge commit. But in that case maybe you don't get the base commit recorded? | 21:27 |
|
ikke
| gitlab has a semi-linear workflow mode | 21:28 |
|
| you have to rebase before merging, and merging created a non-ff merge | 21:29 |
| ← zer0bitz left | 21:29 |
| → ozoned joined | 21:30 |
| → zer0bitz joined | 21:31 |
| ← peirik_ left | 21:32 |
| ← sedzcat left | 21:32 |
| ← lucasta left | 21:32 |
| ← odoood left | 21:33 |
| → dsrt^ joined | 21:33 |
| ← zer0bitz left | 21:34 |
| ← omethe left | 21:34 |
| → omethe joined | 21:36 |
| → escherial joined | 21:37 |
| ← thebombzen left | 21:40 |
| → zer0bitz joined | 21:41 |
| → lucasta joined | 21:43 |
| ← bgs left | 21:46 |
| → odoood__ joined | 21:46 |
| odoood__ → odoood | 21:46 |
| → lucasta_ joined | 21:47 |
| ← odoood left | 21:48 |
| ← ozoned left | 21:48 |
| ← zer0bitz left | 21:50 |
| → arescorpio joined | 21:51 |
| ← lucasta left | 21:52 |
| ← igemnace left | 21:55 |
| → lucasta joined | 21:56 |
| → lxsameer joined | 21:56 |
| → alfredb joined | 21:58 |
| ← rama_ left | 21:59 |
| → rama_ joined | 21:59 |
| → ferdna joined | 21:59 |
| → TheCatBehemoth joined | 22:01 |
| ← jacobk left | 22:01 |
| ← otisolsen70 left | 22:03 |
| ← krushia left | 22:03 |
| ← rama_ left | 22:04 |
| → rama_ joined | 22:04 |
| → coot joined | 22:05 |
| → chexum_ joined | 22:07 |
|
edgimar
| ok thanks, I'll give that a try. | 22:08 |
| ← chexum left | 22:08 |
| ← roadie left | 22:19 |
| ← warmana left | 22:21 |
| ← bewees left | 22:21 |
| → gryffus joined | 22:22 |
| → warmana joined | 22:24 |
| → roadie joined | 22:28 |
| ← lucasta left | 22:29 |
| ← clime left | 22:29 |
| ← briian left | 22:32 |
| ← roadie left | 22:32 |
| → junebug joined | 22:32 |
| ← edgimar left | 22:33 |
| ← zeroes left | 22:34 |
| → Coop joined | 22:34 |
| → zeroes joined | 22:34 |
| → XV9 joined | 22:35 |
| → rosco joined | 22:36 |
| ← XV8 left | 22:38 |
| ← junebug left | 22:40 |
| → junebug joined | 22:41 |
| ← arescorpio left | 22:41 |
| ← kostkon left | 22:44 |
| ← gh34 left | 22:45 |
| → roadie joined | 22:46 |
| → YuGiOhJCJ joined | 22:46 |
| → kostkon joined | 22:46 |
| ← LW left | 22:47 |
| → LW joined | 22:48 |
| ← junebug left | 22:49 |
| ← alfredb left | 22:49 |
| ← matni1 left | 22:50 |
| ← roadie left | 22:51 |
| → junebug joined | 22:52 |
| → ackyshake joined | 22:54 |
| ← rosco left | 22:55 |
| ← Jong left | 22:55 |
| → adelfino joined | 22:57 |
| ← TheCatBehemoth left | 22:57 |
| ← Dreadnaught left | 22:59 |
| → Intel8086 joined | 23:01 |
| ← coot left | 23:01 |
|
drew
| is there a way to see the commit hash with git blame? | 23:02 |
|
| it shows the committer and the time but not the commit hash | 23:03 |
| ← derpydoo left | 23:03 |
| → TheCatBehemoth joined | 23:03 |
| ← Ranhir left | 23:05 |
| ← LW left | 23:07 |
| → LW joined | 23:08 |
| → Ranhir joined | 23:08 |
| → Xenguy joined | 23:08 |
|
adelfino
| drew: git 2.34.1 shows it by default | 23:08 |
|
| Are you using a previous version? Perhaps you have a configuration set? | 23:08 |
|
drew
| the version on our build servers is 2.17.1 | 23:09 |
|
| we only just got 'restore' lol | 23:09 |
| → feriman joined | 23:09 |
|
adelfino
| Let me try that version | 23:09 |
| → hamburgler joined | 23:10 |
| ← f3n1x left | 23:10 |
| → roadie joined | 23:11 |
| ← LW left | 23:11 |
| → LW joined | 23:12 |
| ← zulutango left | 23:12 |
| → peirik_ joined | 23:19 |
| ← bywaterloo left | 23:20 |
|
acidbong
| hi there, hello | 23:21 |
|
| last week i shallow-cloned (depth 1) kernel sources, resulting in ~260M of them. now that several updates came out, regular `git pull` fetches me at least a gig (I interrupted mid-fetch) of new commits (and since most version bump commits there are merges, it also fetches the side branches as well). | 23:21 |
|
| on the side I'm having a personal branch with manually applied Gentoo patches | 23:21 |
|
| how can i reduce the size? can i `git pull --depth=1` the master branch and not break patched one? | 23:21 |
|
| *the size of fetches | 23:21 |
| ← junebug left | 23:21 |
|
acidbong
| or should i have done a deeper clone in first place? | 23:22 |
| → g2anj joined | 23:22 |
| ← LW left | 23:22 |
| → jaredce joined | 23:23 |
| ← m0viefreak left | 23:23 |
| ← ZacSharp left | 23:24 |
| ← roadie left | 23:24 |
| → Supavisah joined | 23:26 |
| ← lxsameer left | 23:27 |
|
Supavisah
| What's the probability of being impacted from the CVEs fixed in 2.39.11 as a git client user, not a repository server. It seems highly improbable and if someone can execute arbitrary code on your machine to trigger the CVEs, you've already lost. | 23:27 |
| → jacobk joined | 23:28 |
| → arch_angel joined | 23:28 |
| ← theoceaniscool left | 23:29 |
| → trafficjam joined | 23:29 |
| → LW joined | 23:30 |
| ← jaredce left | 23:31 |
| ← LW left | 23:31 |
| → LW joined | 23:31 |
|
trafficjam
| hey guys, if I have a branch 'foo' currently checked out (with some commits already made), and then I make some changes which are not related to that branch, should I just checkout a new branch off 'foo' (`git checkout -b bar`), add the changes (`git add .`) and commit them? | 23:31 |
|
| or should I first checkout of foo back to master, and then create a new branch off master? | 23:32 |
| ← jacobk left | 23:34 |
| ← YuGiOhJCJ left | 23:36 |
| → YuGiOhJCJ joined | 23:36 |
| → ___nick___ joined | 23:42 |
|
adelfino
| acidbong: I don't think git pull --depth=1 will break the patched one | 23:42 |
|
| Can you clone the repository and try it? | 23:43 |
|
| trafficjam: ideally you would branch from foo, and rebase the commits related to the second branch on top of master | 23:44 |
|
| So the new branch doesn't have the changes from foo | 23:44 |
|
| And remove the commits from foo | 23:45 |
| ← vsynthese left | 23:45 |
|
hectopascal
| drew: noob here, but how about finding the hash with git log, filtering by author/date? | 23:45 |
| ← thiago left | 23:46 |
|
trafficjam
| adelfino: but the new branch shouldn't have the commits from foo if I checkout from master surely? | 23:46 |
|
adelfino
| trafficjam: right, but you would have to make the changes manually, again | 23:46 |
|
trafficjam
| adelfino: oh so running `git checkout master` (from foo) will remove the current unstaged changes? | 23:47 |
|
adelfino
| git will never do that | 23:47 |
|
| Checkout out -> having a removal done | 23:47 |
|
| *Checking | 23:47 |
| → kkawg joined | 23:47 |
|
adelfino
| Unless you use -f | 23:48 |
| ← arch_angel left | 23:48 |
|
trafficjam
| adelfino: but if i merge foo back into master, then checkout bar from master, and stage the changes, wouldn't that be the same thing? | 23:48 |
|
hectopascal
| drew: something like git log --author=<author> --since=<date> --before=<date> --no-merges | 23:49 |
|
adelfino
| trafficjam: yes, it depends on how you are using branches | 23:50 |
|
| Why the original question? | 23:50 |
|
| You can always commit to the base branch directly if you want | 23:50 |
|
| When you branch, you can have all kinds of changes in the same commit, if you want | 23:50 |
|
trafficjam
| basically that, i have a feature branch open, made the changes i wanted and committed them, but then went on a tangent to implement another feature before merging back into master | 23:51 |
|
| so now I want to separate them into two different feature branches | 23:51 |
|
adelfino
| Right, that's what I understood | 23:51 |
|
| So you want to remove all commits not related to feature A from feature A branch | 23:52 |
|
| *After* you make a branch contaning those commits | 23:52 |
| ← peirik_ left | 23:52 |
|
adelfino
| Then, you would have two branches that can be merged to master, each one with their own objetive | 23:53 |
|
trafficjam
| adelfino: nope, i haven't made any commits to foo that aren't related to A | 23:53 |
|
| A's commits are purely related to A, and the unstaged files are related to B | 23:53 |
|
adelfino
| Ahh | 23:53 |
|
| So you haven't commited them | 23:53 |
| → vsynthese joined | 23:53 |
|
trafficjam
| correct | 23:53 |
|
adelfino
| Either way, I think it's the same solution | 23:54 |
|
trafficjam
| so [git checkout master; git merge foo; git checkout -b bar; git add .; git commit -m "done"; git checkout master; git merge bar;] should work right? | 23:54 |
|
adelfino
| I believe you can get away with it if B doesn't change stuff changed in A | 23:54 |
| → falafel joined | 23:54 |
|
adelfino
| Then you can checkout master | 23:54 |
| ← omethe left | 23:54 |
| → omethe joined | 23:55 |
|
adelfino
| I'd try checkout master | 23:55 |
|
| It's safe, when not using -f | 23:55 |
|
| You will end up in master with your changes unstaged, or an error | 23:55 |
|
| The error happening if you change files in A changed by B | 23:55 |
|
trafficjam
| awesome, thanks for the clarity, will give that a try | 23:56 |
|
adelfino
| *files in B changed by A | 23:56 |
|
trafficjam
| adelfino: ok yeah I got the error lol | 23:58 |
|
adelfino
| :) | 23:58 |
|
| What you *can* do is git checkout -b feature_b; git commit | 23:59 |
|
| And then rebase on top of master, skipping commits from feature_a | 23:59 |
|
| Conflicts may arise | 23:59 |