| 2020-08-05 |
| ← bn_work left | 00:01 |
| ← crose left | 00:03 |
| ← tiin57 left | 00:09 |
| → royal_screwup21 joined | 00:10 |
| → tiin57 joined | 00:13 |
| ← g4570n left | 00:15 |
| ← royal_screwup21 left | 00:15 |
| ← heth left | 00:19 |
| → heth joined | 00:20 |
| ← tgunr left | 00:20 |
| ← shush left | 00:20 |
| → shush joined | 00:21 |
| marc2377-2 → test | 00:21 |
| test → Guest58962 | 00:22 |
| ← Guest58962 left | 00:22 |
| → marc2377 joined | 00:23 |
| → Wetmelon joined | 00:24 |
| ← BlessJah left | 00:24 |
| ← Lucas_Gray left | 00:24 |
| → BlessJah joined | 00:25 |
| → cfoch joined | 00:25 |
|
cfoch
| hello | 00:26 |
| ← shush left | 00:26 |
| → Lucas_Gray joined | 00:27 |
|
cfoch
| I created a worktree directory for a git repo using submodules, then in the worktree I did "git submodule init --recursive"... Now I want to get rid off of that worktree | 00:28 |
|
| I get "fatal: working trees containing submodules cannot be moved or removed" | 00:28 |
|
| What can I do? | 00:28 |
| ← random_yanek left | 00:34 |
| ← rafasc left | 00:37 |
| ← rumbler31 left | 00:38 |
| ← tiin57 left | 00:39 |
| → random_yanek joined | 00:41 |
| ← arcatech left | 00:42 |
| → tiin57 joined | 00:43 |
| → shush joined | 01:00 |
| ← sudoforge left | 01:01 |
| ← canton7 left | 01:02 |
| ← shush left | 01:05 |
| ← gildarts left | 01:05 |
| ← SwiftMatt left | 01:06 |
| → unihernandez22 joined | 01:07 |
| ← tiin57 left | 01:09 |
| ← independent left | 01:11 |
| → SwiftMatt joined | 01:12 |
| → tiin57 joined | 01:13 |
| → kalbasit joined | 01:14 |
| → causasui joined | 01:14 |
| → independent joined | 01:15 |
|
puff
| So after adding the gradle lines for the Hugo plugin, etc... I get: Manifest file does not exist: /home/puff/tablet_repo/src/main/AndroidManifest.xml | 01:15 |
| ← SwiftMatt left | 01:15 |
|
puff
| and: compileSdkVersion is not specified | 01:15 |
| → sudoforge joined | 01:16 |
|
j416
| puff: wrong channel? | 01:16 |
| ← davispuh left | 01:16 |
| ← unihernandez22 left | 01:22 |
| → arcatech joined | 01:25 |
| → unihernandez22 joined | 01:25 |
| ← lukd left | 01:30 |
| → lukd joined | 01:31 |
| ← unihernandez22 left | 01:34 |
| → canton7 joined | 01:35 |
| → gildarts joined | 01:37 |
| ← Wetmelon left | 01:38 |
| ← independent left | 01:39 |
| → unihernandez22 joined | 01:39 |
| ← tiin57 left | 01:40 |
| → shush joined | 01:40 |
| → tiin57 joined | 01:43 |
| ← Lucas_Gray left | 01:43 |
| → SwiftMatt joined | 01:45 |
| ← shush left | 01:45 |
| → Wetmelon joined | 01:47 |
| ← tgamblin left | 01:49 |
| → Lucas_Gray joined | 01:49 |
| → tgamblin joined | 01:49 |
| → HumanG33k joined | 01:50 |
| ← ttoocs left | 01:50 |
| ← Cabanossi left | 01:51 |
| ← comptroller left | 01:54 |
| → Newami joined | 01:55 |
| → Cabanossi joined | 01:55 |
|
geosmile
| when i git submodule update --init --recursive - one of the submodules is stuck to non-master - anyone knows how to fix this? | 01:56 |
|
| I want it to get master? | 01:56 |
| ← gildarts left | 01:56 |
|
geosmile
| This is a fresh clone - HEAD detached at 6dbb8b2 is what the submodule says | 01:57 |
| → tinfoil-hat joined | 01:57 |
|
geosmile
| I see why - the submodule attached to the parent project is make@6... | 01:57 |
|
| how do i make it make@master? | 01:57 |
| → gildarts joined | 01:58 |
| ← F0rTex left | 01:58 |
|
tinfoil-hat
| Hi there, is it possible to move a git repo into a branch from another repo? | 01:58 |
| ← gildarts left | 01:59 |
| ← HumanG33k left | 01:59 |
|
tinfoil-hat
| I have like 5 different dotfile repos, which I would like to move into one git repo with one branch per distro | 01:59 |
| → F0rTex joined | 01:59 |
| → comptroller joined | 02:00 |
| → troulouliou_div2 joined | 02:00 |
| ← Newami left | 02:02 |
| → atomi_ joined | 02:02 |
| → HumanG33k joined | 02:03 |
| ← Someguy123 left | 02:05 |
| → Someguy123 joined | 02:08 |
| ← tiin57 left | 02:09 |
| → royal_screwup21 joined | 02:11 |
| → tiin57 joined | 02:12 |
| ← royal_screwup21 left | 02:15 |
| ← marc2377 left | 02:20 |
| ← HumanG33k left | 02:20 |
| ← lagothrix left | 02:22 |
| → lagothrix joined | 02:23 |
| ← chachasmooth left | 02:24 |
| → chachasmooth joined | 02:24 |
| → gildarts joined | 02:24 |
| ← mns left | 02:26 |
| → HumanG33k joined | 02:27 |
| → mns joined | 02:28 |
| ← CodeSlingerPaul left | 02:28 |
| ← codingquark left | 02:33 |
| ← mns left | 02:35 |
| → Goplat joined | 02:39 |
| → madduck joined | 02:40 |
| ← tiin57 left | 02:40 |
| → shush joined | 02:40 |
|
puff
| j416: Dangit, yes. SOrry. | 02:41 |
| → tiin57 joined | 02:43 |
| ← cfoch left | 02:43 |
| ← cuppajoeman left | 02:43 |
| → bhavikdbavishi joined | 02:44 |
| ← Cabanossi left | 02:48 |
| → Technodrome joined | 02:48 |
| ← arcatech left | 02:52 |
| → mns joined | 02:56 |
| → Cabanossi joined | 02:56 |
|
tinfoil-hat
| nvm got it | 02:58 |
| → bhavikdbavishi1 joined | 02:59 |
| → bn_work joined | 03:00 |
| ← bhavikdbavishi left | 03:01 |
| bhavikdbavishi1 → bhavikdbavishi | 03:01 |
| ← m0viefreak left | 03:03 |
| ← bhavikdbavishi left | 03:07 |
| ← shush left | 03:09 |
| ← tiin57 left | 03:09 |
| → Muimi joined | 03:09 |
| ← synx left | 03:11 |
| ← justanotheruser left | 03:11 |
| → arcatech joined | 03:11 |
| ← arcatech left | 03:12 |
| → tiin57 joined | 03:13 |
| → umask078 joined | 03:15 |
| ← wymillerlinux left | 03:17 |
| ← troulouliou_div2 left | 03:23 |
| → bhavikdbavishi joined | 03:24 |
| ← kalbasit left | 03:24 |
| ← vicfred left | 03:29 |
| → lispmacs joined | 03:29 |
| ← Lucas_Gray left | 03:31 |
| → chuseman joined | 03:38 |
| ← tiin57 left | 03:39 |
| ← j7k6 left | 03:40 |
| ← dedowsdi left | 03:41 |
| → dedowsdi joined | 03:42 |
| → tiin57 joined | 03:42 |
| ← Cabanossi left | 03:42 |
| → j7k6 joined | 03:45 |
| → Cabanossi joined | 03:48 |
| ← stitched_unicorn left | 03:53 |
| ← level3 left | 03:54 |
| → libertyprime joined | 03:55 |
| ← SwiftMatt left | 03:55 |
| → stitched_unicorn joined | 04:02 |
| ← unihernandez22 left | 04:03 |
| ← caskd left | 04:03 |
| ← cruxeternus left | 04:04 |
| → unihernandez22 joined | 04:04 |
| ← unihernandez22 left | 04:04 |
| → unihernandez22 joined | 04:04 |
| ← Kaivo left | 04:06 |
| ← unihernandez22 left | 04:08 |
| ← tiin57 left | 04:09 |
| → Kintsugi joined | 04:09 |
| ← libertyprime left | 04:09 |
| ← Kintsugi left | 04:10 |
| → Kintsugi joined | 04:11 |
| ← mindCrime left | 04:11 |
| → libertyprime joined | 04:11 |
| → royal_screwup21 joined | 04:12 |
|
Kintsugi
| I'm trying to set up git for the first time, but am having problems with automatically generated binaries getting added/modified/tracked, etc. But I'm not sure how to set up the .gitignore. Am using Visual Studio Community and mostly C# | 04:12 |
|
| Also using Unity | 04:12 |
| → unihernandez22 joined | 04:12 |
| → tiin57 joined | 04:13 |
| ← unihernandez22 left | 04:15 |
|
gildarts
| Kintsugi: For .gitignore just add the file name to ignore it. And git isn't really designed to hold binary blobs. | 04:16 |
| → justanotheruser joined | 04:16 |
| ← royal_screwup21 left | 04:17 |
|
Kintsugi
| I was hoping there was a pattern I could add that would make it simple | 04:17 |
|
| I guess I'll just try experimenting with a few times. Been trying to set this up all day :P | 04:18 |
|
| *with a few things | 04:18 |
| ← oatmealraisin left | 04:19 |
| → kalbasit joined | 04:23 |
| ← Gustavo6046 left | 04:24 |
| ← libertyprime left | 04:25 |
| ← bhavikdbavishi left | 04:26 |
| ← giorgian left | 04:27 |
| → libertyprime joined | 04:27 |
|
gildarts
| If they are all `.exe` you can do *.exe | 04:28 |
| → bhavikdbavishi joined | 04:28 |
|
Kintsugi
| It looks like most of them are in the obj and bin directories of the project folder. I will try ignoring those directories | 04:31 |
| ← geosmile left | 04:33 |
| ← Goplat left | 04:36 |
| ← mns left | 04:36 |
| → Guest20 joined | 04:38 |
|
Voxel
| Hey all :) | 04:39 |
|
| Git for Windows or TortoiseGit? | 04:39 |
| ← tiin57 left | 04:39 |
| ← causasui left | 04:39 |
| umask078 → umask077 | 04:41 |
| → Kaivo joined | 04:41 |
| ← Kintsugi left | 04:42 |
| → tiin57 joined | 04:42 |
| ← Wetmelon left | 04:48 |
| ← libertyprime left | 04:50 |
| → libertyprime joined | 04:52 |
| ← lukd left | 05:00 |
| → lukd joined | 05:00 |
| → mns joined | 05:00 |
| ← mp3 left | 05:02 |
| ← mat001 left | 05:04 |
| → vicfred joined | 05:08 |
| ← vicfred left | 05:09 |
| ← tiin57 left | 05:09 |
| ← lucasb left | 05:10 |
| → tiin57 joined | 05:13 |
| ← wallacer3 left | 05:17 |
| → wallacer3 joined | 05:21 |
| ← xelxebar_ left | 05:22 |
| → xelxebar joined | 05:23 |
| ← mns left | 05:29 |
| ← Kaivo left | 05:34 |
| → makara1 joined | 05:37 |
| ← tiin57 left | 05:39 |
| → mat001 joined | 05:40 |
| → tiin57 joined | 05:43 |
| → bocaneri joined | 05:44 |
| ← mat001 left | 05:44 |
| → mns joined | 05:45 |
| → caskd joined | 05:48 |
| → rfuentess joined | 05:51 |
| ← libertyprime left | 05:54 |
| → bhavikdbavishi1 joined | 05:57 |
| ← bhavikdbavishi left | 05:57 |
| bhavikdbavishi1 → bhavikdbavishi | 05:57 |
| ← thiago left | 05:58 |
| ← snowkidimd left | 06:04 |
| → libertyprime joined | 06:06 |
| ← sudoforge left | 06:06 |
| → cfoch joined | 06:09 |
| ← tiin57 left | 06:09 |
| → Wetmelon joined | 06:09 |
| → ferdna joined | 06:10 |
| ← xcm left | 06:11 |
| → xcm joined | 06:12 |
| → tiin57 joined | 06:13 |
| → royal_screwup21 joined | 06:13 |
| → YuGiOhJCJ joined | 06:14 |
| ← Wetmelon left | 06:15 |
| ← royal_screwup21 left | 06:18 |
| ← mns left | 06:18 |
| → stutter joined | 06:21 |
| → Aquazi joined | 06:21 |
| → feriman joined | 06:22 |
| → snowkidimd joined | 06:23 |
| ← ferdna left | 06:27 |
| → chele joined | 06:28 |
| ← Whiskey left | 06:28 |
| → KnoP joined | 06:32 |
| ← kalbasit left | 06:35 |
| ← dfee left | 06:36 |
| → mightyjens joined | 06:38 |
| ← tiin57 left | 06:39 |
| → independent joined | 06:41 |
| → tiin57 joined | 06:43 |
| → royal_screwup21 joined | 06:46 |
| → mns joined | 06:47 |
| → calcul0n joined | 06:50 |
| → Whiskey joined | 06:51 |
| ← snowkidimd left | 06:54 |
| → dionysus69 joined | 06:56 |
| ← dionysus69 left | 06:56 |
| → LetoThe2nd joined | 06:57 |
| ← unluckyshrubbery left | 07:06 |
| ← tiin57 left | 07:09 |
| → tiin57 joined | 07:13 |
| → Mattiaslndstrm joined | 07:16 |
| ← Betal left | 07:17 |
| ← mns left | 07:17 |
| → interrobangd joined | 07:18 |
| → dfee joined | 07:23 |
| → seiburii joined | 07:27 |
| → Kaivo joined | 07:30 |
| → ramsub07 joined | 07:30 |
| ← bn_work left | 07:31 |
|
ramsub07
| Hi. I have a code that already has a remote defined and have been pushing to that repository. I'd want to separate branch alone into a new project. How do I change the remote just for a branch? | 07:34 |
| ← ramsub07 left | 07:34 |
| → mobidrop joined | 07:34 |
| → ramsub07 joined | 07:35 |
|
ramsub07
| Hi sorry I was disconnected | 07:35 |
|
| I have a code that already has a remote defined and have been pushing to that repository. I'd want to separate branch alone into a new project. How do I change the remote just for a branch? | 07:36 |
| ← libertyprime left | 07:37 |
| ← tiin57 left | 07:39 |
|
Jookia
| will git ever get the ability to decouple author/committer names/emails from the commit itself? | 07:42 |
| → tiin57 joined | 07:42 |
| → libertyprime joined | 07:43 |
|
guardian
| hello, is there something shorter than this by chance? "$(git rev-parse HEAD)$(git diff-files --ignore-submodules --quiet || printf -- '-dirty')" | 07:47 |
|
| I'm adding labels to Docker images and I would like to capture the repository SHA1 and whether the tree is dirty or not | 07:47 |
| ← royal_screwup21 left | 07:49 |
| ← ramsub07 left | 07:49 |
| → tonythomas joined | 07:54 |
| → jaziz joined | 07:55 |
| → ramsub07 joined | 08:03 |
| ← alesan left | 08:05 |
| → alesan joined | 08:05 |
| ← tiin57 left | 08:09 |
| → otisolsen70 joined | 08:11 |
| → tiin57 joined | 08:13 |
| → dionysus69 joined | 08:16 |
| ← Aelius left | 08:23 |
| → m0viefreak joined | 08:23 |
| → crose joined | 08:24 |
| → Aelius joined | 08:24 |
| ← xcm left | 08:25 |
| → xcm joined | 08:25 |
| → Gustavo6046 joined | 08:27 |
| ← FabioP left | 08:27 |
| ← cfoch left | 08:29 |
| ← bocaneri left | 08:32 |
| → bocaneri joined | 08:33 |
| ← bocaneri left | 08:34 |
| → benfelin joined | 08:34 |
| → bocaneri joined | 08:35 |
| → unluckyshrubbery joined | 08:35 |
| ← bocaneri left | 08:39 |
| → bocaneri joined | 08:39 |
| ← tiin57 left | 08:39 |
| ← rfuentess left | 08:39 |
| ← Mattiaslndstrm left | 08:40 |
| → tiin57 joined | 08:43 |
| → rfuentess joined | 08:48 |
| ← dfee left | 08:55 |
| → vincent- joined | 09:03 |
| → palooka-jock joined | 09:08 |
| ← tiin57 left | 09:09 |
| → pinpox joined | 09:09 |
| → tiin57 joined | 09:12 |
| ← benfelin left | 09:15 |
| ← veegee left | 09:17 |
| → veegee joined | 09:20 |
| → royal_screwup21 joined | 09:32 |
| → Lucas_Gray joined | 09:33 |
| → veegee_ joined | 09:39 |
| ← justanotheruser left | 09:39 |
| ← tiin57 left | 09:39 |
| ← veegee left | 09:40 |
| ← syr left | 09:42 |
| → syr joined | 09:43 |
| → tiin57 joined | 09:43 |
| → benfelin joined | 09:44 |
| ← royal_screwup21 left | 09:44 |
| → royal_screwup21 joined | 09:44 |
| → Mattiaslndstrm joined | 09:45 |
| ← royal_screwup21 left | 09:49 |
| ← ramsub07 left | 10:07 |
| ← tiin57 left | 10:09 |
| → ramsub07 joined | 10:09 |
| → tiin57 joined | 10:13 |
| → rewrited joined | 10:14 |
| ← seiburii left | 10:22 |
| ← iNs_ left | 10:26 |
| → iNs joined | 10:27 |
| ← tonythomas left | 10:29 |
| ← bhavikdbavishi left | 10:30 |
| ← [Brain] left | 10:30 |
| → bhavikdbavishi joined | 10:30 |
| → cosimone joined | 10:32 |
| ← tiin57 left | 10:39 |
| ← g00s left | 10:40 |
| → tiin57 joined | 10:43 |
| ← Benzi-Junior left | 10:55 |
| → Masklin joined | 10:56 |
| → the_drow[m] joined | 11:01 |
|
the_drow[m]
| Hi everyone. How do I checkout the commit before the l merged? | 11:02 |
| → gxt joined | 11:02 |
| → Repox joined | 11:03 |
|
BtbN
| Uhm, not sure what you mean, but... attach ~1? | 11:08 |
| ← tiin57 left | 11:09 |
| → tiin57 joined | 11:12 |
|
thblt
| the_drow[m]: The commit before HEAD is HEAD~, if that's what you mean. You can also checkout any commit with git checkout COMMITISH-REF | 11:14 |
| → sgen joined | 11:14 |
|
the_drow[m]
| No I committed after that | 11:15 |
|
| I just want to jump right before the last merge and create a new branch from there | 11:15 |
|
thblt
| git branch BRANCH COMMIT | 11:16 |
|
the_drow[m]
| I don't know the commit's sha | 11:16 |
|
| I'm not a total beginner :) | 11:16 |
|
thblt
| well git log | 11:16 |
|
the_drow[m]
| is there a shortcut to jump to the last merge from there? | 11:17 |
| ← dedowsdi left | 11:17 |
|
the_drow[m]
| I mean show the merge commit of the last merge | 11:17 |
|
thblt
| find the first commit with two parents? Maybe | 11:17 |
| ← mightyjens left | 11:18 |
| → royal_screwup21 joined | 11:18 |
|
thblt
| git log --min-parents=2 | 11:18 |
|
the_drow[m]
| thanks! | 11:18 |
|
thblt
| You're welcome. | 11:19 |
| ← royal_screwup21 left | 11:19 |
| → dedowsdi joined | 11:19 |
| → royal_screwup21 joined | 11:19 |
|
ramsub07
| Hi. i've a code that already has remote. I'd like to push this to a new repository(remote) . How do I do that? | 11:22 |
|
thblt
| ramsub07: you can git push to an url , IIRC | 11:22 |
|
| For a one-time thing. | 11:22 |
|
ramsub07
| thblt i'd like to change this permanantly | 11:23 |
|
thblt
| Or just create a new remote with a different name, git remote add upstream ssh://git.myserver.example.com… | 11:23 |
|
| You want to change the URL of origin? | 11:23 |
| ← royal_screwup21 left | 11:24 |
|
thblt
| git remote set-url [--push] REMOTE URL | 11:24 |
| ← YuGiOhJCJ left | 11:26 |
| ← Cabanossi left | 11:26 |
| → royal_screwup21 joined | 11:27 |
| ← cosimone left | 11:29 |
| ← royal_screwup21 left | 11:33 |
| → royal_screwup21 joined | 11:33 |
| → Cabanossi joined | 11:34 |
| → rafasc joined | 11:39 |
| ← royal_screwup21 left | 11:39 |
| ← tiin57 left | 11:39 |
| → brunocarvalho joined | 11:40 |
| → tiin57 joined | 11:43 |
| ← sgen left | 11:45 |
| ← raven-au left | 11:51 |
| → raven-au joined | 11:52 |
| → tgunr joined | 11:54 |
| ← palooka-jock left | 11:56 |
| → raven-au_ joined | 12:02 |
| ← raven-au left | 12:04 |
| → palooka-jock joined | 12:05 |
| → raven-au joined | 12:06 |
| ← pinpox left | 12:07 |
| → pinpox joined | 12:07 |
| ← ramsub07 left | 12:07 |
| ← Whiskey left | 12:08 |
| ← dedowsdi left | 12:08 |
| ← raven-au_ left | 12:08 |
| ← Guest20 left | 12:09 |
| ← tiin57 left | 12:09 |
| ← feriman left | 12:09 |
| → vicfred joined | 12:10 |
| → dedowsdi joined | 12:11 |
| ← Celelibi left | 12:13 |
| → tiin57 joined | 12:13 |
| → cuppajoeman joined | 12:14 |
| ← raven-au left | 12:18 |
| → raven-au joined | 12:20 |
| → royal_screwup21 joined | 12:21 |
| → Wetmelon joined | 12:21 |
| ← dedowsdi left | 12:21 |
| ← interrobangd left | 12:22 |
| → dedowsdi joined | 12:25 |
| ← royal_screwup21 left | 12:26 |
| → royal_screwup21 joined | 12:26 |
| ← lankanmon left | 12:26 |
| ← thblt left | 12:27 |
| → lankanmon joined | 12:28 |
| → raven-au_ joined | 12:30 |
| ← jaziz left | 12:30 |
| ← royal_screwup21 left | 12:31 |
| ← raven-au left | 12:31 |
| → Whiskey joined | 12:32 |
| → royal_screwup21 joined | 12:35 |
| ← raven-au_ left | 12:35 |
| ← dedowsdi left | 12:36 |
| → hussam joined | 12:38 |
| → dedowsdi joined | 12:39 |
| ← tiin57 left | 12:39 |
| → FabioP joined | 12:39 |
| ← royal_screwup21 left | 12:40 |
| → royal_screwup21 joined | 12:40 |
| → tiin57 joined | 12:43 |
| → h3ck joined | 12:43 |
| → CodeSlingerPaul joined | 12:43 |
| ← rewrited left | 12:43 |
| ← CodeSlingerPaul left | 12:47 |
| → CodeSlingerPaul joined | 12:50 |
| ← Technodrome left | 12:50 |
| ← royal_screwup21 left | 12:52 |
| → royal_screwup21 joined | 12:52 |
| → level3 joined | 12:53 |
| ← Wetmelon left | 12:54 |
| → geosmile joined | 12:55 |
| ← jetchisel left | 12:57 |
| ← royal_screwup21 left | 13:04 |
| → royal_screwup21 joined | 13:04 |
| ← Cabanossi left | 13:05 |
| → Cabanossi joined | 13:06 |
| ← gxt left | 13:09 |
| ← tiin57 left | 13:09 |
| ← royal_screwup21 left | 13:09 |
| → tiin57 joined | 13:13 |
| → oatmealraisin joined | 13:18 |
|
FabioP
| is thre a commandline for mark individual files as staged/unstaged? | 13:18 |
|
Jookia
| git add / git reset/ ? | 13:20 |
| ← m0viefreak left | 13:21 |
| → causasui joined | 13:22 |
|
FabioP
| that was easy.. thx | 13:22 |
| ← bhavikdbavishi left | 13:22 |
|
canton7
| FabioP, 'git status' reminds you what the right command to use for each file is | 13:30 |
|
FabioP
| yes that was dumb of me | 13:31 |
| ← tgunr left | 13:31 |
| ← diogenese left | 13:36 |
| → diogenese joined | 13:36 |
| ← sweatsuit left | 13:37 |
| ← tiin57 left | 13:39 |
| ← Cabanossi left | 13:41 |
| → tiin57 joined | 13:42 |
| ← Whiskey left | 13:47 |
| ← Mattiaslndstrm left | 13:47 |
| → Cabanossi joined | 13:48 |
| → Mattiaslndstrm joined | 13:48 |
| → TomyWork joined | 13:57 |
| → sweatsuit joined | 13:58 |
| → royal_screwup21 joined | 14:03 |
| → rumbler31 joined | 14:05 |
| ← royal_screwup21 left | 14:06 |
| → royal_screwup21 joined | 14:07 |
| ← tiin57 left | 14:09 |
| ← Repox left | 14:10 |
| → mat001 joined | 14:11 |
| ← royal_screwup21 left | 14:11 |
| → vdamewood joined | 14:12 |
| → tiin57 joined | 14:12 |
| ← rumbler31 left | 14:14 |
| → g4570n joined | 14:16 |
| ← jrnieder left | 14:17 |
| ← dedowsdi left | 14:18 |
| ← rustyshackleford left | 14:18 |
| → Brain joined | 14:22 |
| → tgunr joined | 14:26 |
| → [Brain] joined | 14:27 |
| → fstd_ joined | 14:27 |
| ← fstd left | 14:27 |
| fstd_ → fstd | 14:27 |
| ← Brain left | 14:29 |
| → thiago joined | 14:30 |
| → Wetmelon joined | 14:32 |
| ← OMGOMG left | 14:35 |
| ← vicfred left | 14:35 |
| → akem_ joined | 14:38 |
| ← tiin57 left | 14:39 |
| ← chele left | 14:40 |
| ← akem left | 14:41 |
| → tiin57 joined | 14:43 |
| ← akem_ left | 14:43 |
| → snowkidimd joined | 14:43 |
| ← oatmealraisin left | 14:45 |
| → OMGOMG joined | 14:48 |
| ← h3ck left | 14:52 |
| ← tgunr left | 14:54 |
| → royal_screwup21 joined | 14:55 |
| ← caskd left | 14:55 |
| → Human_G33k joined | 14:56 |
| ← royal_screwup21 left | 14:57 |
| → royal_screwup21 joined | 14:58 |
| ← HumanG33k left | 14:59 |
| → dviola joined | 15:02 |
| ← royal_screwup21 left | 15:02 |
| ← mobidrop left | 15:03 |
| → mobidrop joined | 15:04 |
| → synx` joined | 15:05 |
| → royal_screwup21 joined | 15:05 |
| ← chuseman left | 15:08 |
| → chuseman joined | 15:09 |
| ← tiin57 left | 15:09 |
| ← ezio left | 15:09 |
| ← royal_screwup21 left | 15:10 |
| → royal_screwup21 joined | 15:10 |
| → mindCrime joined | 15:10 |
| → tiin57 joined | 15:13 |
| → vicfred joined | 15:13 |
| → SwiftMatt joined | 15:14 |
| ← royal_screwup21 left | 15:15 |
| → dfee joined | 15:15 |
| ← KnoP left | 15:16 |
| → dfee_ joined | 15:19 |
| ← dfee left | 15:20 |
| ← Wetmelon left | 15:20 |
| → cosimone joined | 15:23 |
| → Whiskey joined | 15:24 |
| → wnbeser joined | 15:24 |
| ← wnbeser left | 15:24 |
| → royal_screwup21 joined | 15:28 |
|
amosbird
| Hello, is it possible to have branch based user and email configuration? | 15:29 |
| → bgilb joined | 15:30 |
|
rafasc
| amosbird: no | 15:30 |
|
bgilb
| maybe i dont understand git, but i have a team of 3 working on the same branch, and we're randomly just erasing each others changes. any ideas? | 15:31 |
|
rafasc
| bgilb: you'll need to explain your workflow a bit better. | 15:31 |
|
amosbird
| can I have per worktree git config? | 15:32 |
|
bgilb
| we're all using vscode | 15:32 |
|
| im not sure what that is | 15:32 |
|
rafasc
| amosbird: I think you can, but you have to enable it manually. | 15:32 |
|
bgilb
| our workflow is make a change in vscode -> commit -> push/pull | 15:33 |
|
| also using github windows client for push/pull | 15:34 |
|
rafasc
| git usually don't delete the changes. Usually what happens is that when you pull, you'll get a conflict you have to solve. | 15:34 |
|
bgilb
| the other members say they haven't seen any conflicts is the thing, i keep asking them | 15:34 |
|
rafasc
| someone might be solving it wrong, or someone might be doing force-pushes to avoid solving the conflicts. | 15:35 |
|
bgilb
| i dont think they are | 15:35 |
|
rafasc
| bgilb: you can probably figure out where the changes are being "deleted" if you look at $git log -p --graph --oneline; for example | 15:36 |
|
amosbird
| rafasc: what do you mean by that? | 15:36 |
| → BPL joined | 15:37 |
|
rafasc
| amosbird: man git worktree; per-worktree configs is a extension for worktree | 15:39 |
|
gitinfo
| amosbird: the git-worktree manpage is available at https://gitirc.eu/git-worktree.html | 15:39 |
| ← tiin57 left | 15:39 |
|
bgilb
| that shows the line it was removed, but also doesn't quite make sense | 15:39 |
|
| because it shows commit -> add line (usera) -> userb shows merge with new stuff on previous commit -> next commit shows randomly erase same stuff from userb | 15:40 |
|
rafasc
| amosbird: that is close to what you asked, but it will not be per-branch, as you can checkout other branches freely, and they will still use the worktree configuration, if you enable the extension. | 15:40 |
| ← Mattiaslndstrm left | 15:41 |
| ← royal_screwup21 left | 15:42 |
| ← thebope left | 15:42 |
| → royal_screwup21 joined | 15:42 |
| → tiin57 joined | 15:43 |
| synx` → synx | 15:43 |
| → Guest67 joined | 15:46 |
|
rafasc
| amosbird: I think the other way to go about that problem is to write hooks, the type of hook kind of depends on the goal. Locally with pre-commit / pre-push or a server side update/pre-receive that denies the push. | 15:46 |
| → mp3 joined | 15:47 |
| ← royal_screwup21 left | 15:47 |
|
rafasc
| If you want this to be enforced, you have to do it on the server because hooks can be bypassed by running --no-verify | 15:47 |
| → cahoots joined | 15:49 |
| → sudoforge joined | 15:49 |
| → Wetmelon joined | 15:51 |
|
cahoots
| hi, i'm trying to find a file from an old branch. i can't use `git reflog` locally because i don't have many branches locally. instead, i want to fetch all branches that i created on my remote, but not branches created elsewhere. any ideas how to do this? there must be an easy way, since github lists these branches | 15:53 |
| → Lachezar joined | 15:53 |
|
Guest67
| I have several commits on a parallel subversion repository. When I do `git svn init $SVN_REPO` it pulls them from subversion. Howver I can only see them in `git svn log`. How do I add them to my git branch? | 15:54 |
|
bremner
| git svn rebase, iirc | 15:55 |
|
Lachezar
| Hey all. I have multiple identities in a Git server (Github or Gitlab), I'd like to be able to set a different ssh key for connecting to those. Is there a way to configure a repository remote to use a specific SSH key? | 15:55 |
|
Guest67
| `Unable to determine upstream SVN information from working tree history`, | 15:55 |
| ← zsoc left | 15:55 |
|
Lachezar
| Guest67: `git log --graph --all` see if you can see the commits. Then maybe `git checkout -b svn-trunk ...commit-id...` | 15:56 |
| → davispuh joined | 15:56 |
|
canton7
| Lachezar, !multiple_id | 15:56 |
|
gitinfo
| Lachezar: git by itself does not allow you to specify which SSH key to use when speaking to a remote. You can use ssh_config+remote hostname tricks to achieve this goal: http://superuser.com/questions/272465/using-multiple-ssh-public-keys | 15:56 |
| ← sudoforge left | 15:56 |
|
Guest67
| Lachezar thanks in advance | 15:56 |
|
Lachezar
| canton7: Thanks. I already have setup the .ssh/config. Totally forgot I can have aliases. | 15:57 |
|
Guest67
| yes, they show up | 15:57 |
|
Lachezar
| Guest67: does `git branch -v -a` show anything that resembles the svn commits? | 15:58 |
|
rafasc
| There's also man git remote-ext; which allows you to wrap the command to specify the key in the "url". But is less known. | 15:58 |
|
gitinfo
| the git-remote-ext manpage is available at https://gitirc.eu/git-remote-ext.html | 15:58 |
|
Guest67
| Lachezar it does, indeed. | 16:00 |
|
| remotes/git-svn is my branch I think | 16:00 |
|
| so that's just normal push to merge things? | 16:01 |
| ← unluckyshrubbery left | 16:01 |
|
Lachezar
| Guest67: remotes/git-svn is a 'remote' there should be branches under that, they should match the branches in the SVN repository. | 16:02 |
| → m0viefreak joined | 16:02 |
| ← heyitsrama left | 16:02 |
|
Lachezar
| Guest67: so probably `git checkout -b master remotes/git-svn/trunk` or something similar. | 16:02 |
| ← Sven_vB left | 16:02 |
|
bremner
| or just start again with git-svn clone | 16:03 |
|
Guest67
| well anything under `remotes/origin/` was when I did the last `git-svn clone` | 16:04 |
| → caskd joined | 16:05 |
|
Guest67
| like, I have a subversion history before this, and whenever I check those out, those have all of the old commits I've synced | 16:05 |
|
| so `remotes/origin/HEAD` has an SVN commit from a month ago or something | 16:06 |
|
rafasc
| cahoots: git already fetches all the branches. Your clone is, well, a clone. It should contain all the remote branches locally. | 16:06 |
|
| cahoots: git fetch myremote; will update them. | 16:06 |
| ← j7k6 left | 16:06 |
| ← tiin57 left | 16:09 |
| → Newami joined | 16:09 |
| → unluckyshrubbery joined | 16:10 |
| ← mobidrop left | 16:10 |
|
cahoots
| rafasc, ok cool. and how would i list all the commits across all the branches? | 16:11 |
| → mobidrop joined | 16:11 |
| ← benfelin left | 16:11 |
|
rafasc
| cahoots: git log --all; for example | 16:11 |
| ← Newami left | 16:11 |
| ← rfuentess left | 16:12 |
| → tiin57 joined | 16:13 |
|
Lachezar
| Guest67: Maybe you just need a `git pull`? I am not sure I understand your setup correctly. | 16:14 |
|
| Q: Is there any way to `git log --graph`, but only show tips, splits and merges? | 16:15 |
|
Guest67
| well, the problem isn't really whether I can pull svn changes. that seems to be just fine at the moment | 16:16 |
| → j7k6 joined | 16:17 |
|
Guest67
| I just don't know what to do once I do a `git svn fetch` how to incorporate the detached head back into master | 16:18 |
| → bhavikdbavishi joined | 16:18 |
|
Lachezar
| Guest67: `git checkout master` && `git merge remotes/git-svn/trunk` ? | 16:19 |
| ← TomyWork left | 16:21 |
| ← dionysus69 left | 16:21 |
|
rafasc
| Lachezar: there's --simplify-by-decoration and --simplify-merges; but it's not really what you want. | 16:22 |
|
| Lachezar: I think you could trick git into doing that if you tagged every merge and used --simplify-by-decoration... | 16:22 |
| ← orbyt_ left | 16:23 |
| → muhaha joined | 16:24 |
| → nly joined | 16:24 |
| → Guest20 joined | 16:26 |
| → orbyt_ joined | 16:28 |
|
Lachezar
| rafasc: Simplify by decoration is very close to what I want, but I'd like to see the commits where branches have split too. If possible ofcourse. | 16:28 |
|
| rafasc: Ahhh... That's what you menat by tagging the merges :) | 16:29 |
| ← maxwilli- left | 16:31 |
| ← level3 left | 16:32 |
| → level3 joined | 16:32 |
| → Benzi-Junior joined | 16:32 |
| → Betal joined | 16:38 |
| → theoceaniscool joined | 16:38 |
| ← silverwhitefish left | 16:39 |
| ← tiin57 left | 16:39 |
| ← mobidrop left | 16:40 |
| → silverwhitefish joined | 16:40 |
| → Narrat joined | 16:40 |
| → trepidacious joined | 16:40 |
| → royal_screwup21 joined | 16:40 |
| ← royal_screwup21 left | 16:42 |
| → tiin57 joined | 16:43 |
| → royal_screwup21 joined | 16:43 |
| gitinfo set mode: +v | 16:43 |
|
trepidacious
| Let's say I did something dumb in SVN, and made a branch from only one directory in the trunk. Now I've migrated to git, and it's all looking good, except that I can't merge that branch, because it only contains part of the trunk (master). The master hasn't actually had anything useful happen to it since the branch. Is there way to get the "partial branch" back into master, even if that involves overwriting the directory in master? | 16:44 |
| → oatmealraisin joined | 16:46 |
| → dqx_ joined | 16:47 |
| ← royal_screwup21 left | 16:48 |
| ← EmmaT_ left | 16:50 |
| → bhavikdbavishi1 joined | 16:51 |
| ← bhavikdbavishi left | 16:52 |
| bhavikdbavishi1 → bhavikdbavishi | 16:52 |
| → orbyt_v7 joined | 16:55 |
| ← dviola left | 16:56 |
| ← bhavikdbavishi left | 16:56 |
| → bhavikdbavishi joined | 16:58 |
| ← Muimi left | 16:58 |
| ← mindCrime left | 16:59 |
| → royal_screwup21 joined | 17:07 |
| → shad11 joined | 17:08 |
| ← shad11 left | 17:09 |
| ← tiin57 left | 17:09 |
| ← royal_screwup21 left | 17:09 |
| → royal_screwup21 joined | 17:10 |
| ← Lucas_Gray left | 17:12 |
| → tiin57 joined | 17:13 |
| ← dqx_ left | 17:14 |
| ← royal_screwup21 left | 17:14 |
| → Maxattax joined | 17:15 |
| ← Cabanossi left | 17:15 |
| → dviola joined | 17:19 |
| → Cabanossi joined | 17:23 |
| → h3ck joined | 17:23 |
| → cfoch joined | 17:24 |
| → g00s joined | 17:24 |
| ← libertyprime left | 17:25 |
| → royal_screwup21 joined | 17:25 |
| → benfelin joined | 17:25 |
| ← royal_screwup21 left | 17:26 |
| → royal_screwup21 joined | 17:27 |
| → dqx_ joined | 17:30 |
| ← FabioP left | 17:32 |
| ← Cabanossi left | 17:32 |
| ← cosimone left | 17:35 |
| ← tiin57 left | 17:39 |
| ← bhavikdbavishi left | 17:40 |
| → wootehfoot joined | 17:41 |
| → cosimone joined | 17:41 |
| → tiin57 joined | 17:43 |
| → Cabanossi joined | 17:43 |
| ← Wetmelon left | 17:45 |
| ← LetoThe2nd left | 17:49 |
| ← Narrat left | 17:49 |
| ← dqx_ left | 17:54 |
| → dqx_ joined | 17:55 |
| ← SwiftMatt left | 17:55 |
| ← cim209 left | 17:58 |
| → cim209 joined | 17:59 |
| ← blowry left | 17:59 |
| → sav__ joined | 18:00 |
| → blowry joined | 18:00 |
| → Narrat joined | 18:03 |
| ← dqx_ left | 18:04 |
| ← cosimone left | 18:06 |
| ← tiin57 left | 18:09 |
| → cosimone joined | 18:10 |
| → tiin57 joined | 18:13 |
| → justanotheruser joined | 18:19 |
| → wolfshappen joined | 18:23 |
| → mowcat joined | 18:24 |
| ← davispuh left | 18:24 |
| → sozuba joined | 18:26 |
| ← bocaneri left | 18:27 |
| ← theoceaniscool left | 18:27 |
| ← cosimone left | 18:30 |
| ← Lachezar left | 18:31 |
| → Phylock joined | 18:31 |
| → akem joined | 18:33 |
| → mindCrime joined | 18:36 |
| ← wootehfoot left | 18:38 |
| ← tiin57 left | 18:39 |
| ← mindCrime left | 18:42 |
| → tiin57 joined | 18:43 |
| → wunderba_ joined | 18:46 |
| ← SporkWitch left | 18:53 |
| ← dfee_ left | 18:54 |
| → mns joined | 18:54 |
| → SporkWitch joined | 18:56 |
| → mijndert joined | 18:59 |
| ← stitched_unicorn left | 19:03 |
| → davispuh joined | 19:04 |
| → dfee joined | 19:07 |
| → cosimone joined | 19:09 |
| ← tiin57 left | 19:09 |
| → tiin57 joined | 19:13 |
| ← Utnap left | 19:13 |
| → Utnap joined | 19:16 |
| ← otisolsen70 left | 19:24 |
| → Mattiaslndstrm joined | 19:32 |
| → SwiftMatt joined | 19:32 |
| ← Mattiaslndstrm left | 19:34 |
| ← level3 left | 19:35 |
| ← royal_screwup21 left | 19:35 |
| → level3 joined | 19:35 |
| → royal_screwup21 joined | 19:36 |
| → rumbler31 joined | 19:37 |
| ← cuppajoeman left | 19:37 |
| ← bvdw left | 19:38 |
| ← vincent- left | 19:38 |
| ← tiin57 left | 19:39 |
| ← royal_screwup21 left | 19:41 |
| → bvdw joined | 19:41 |
| → tgunr joined | 19:41 |
| → royal_screwup21 joined | 19:41 |
| → tiin57 joined | 19:42 |
| → vicfred_ joined | 19:46 |
| ← royal_screwup21 left | 19:46 |
| ← bvdw left | 19:47 |
| → bvdw joined | 19:48 |
| ← sav__ left | 19:48 |
| ← vicfred left | 19:48 |
| ← rumbler31 left | 19:49 |
|
geosmile
| how do i make a submodule follow the master? | 19:49 |
|
| currently its sticking to a hash | 19:49 |
|
ikke
| yes, that's basically what submodules do | 19:50 |
| → Mattiaslndstrm joined | 19:50 |
|
ikke
| There are some config options that help, but the fact that submodules are tracked by commit hash remains | 19:50 |
|
geosmile
| how do i update that commit hash? | 19:51 |
|
| preferably automatically following master of the submodule | 19:52 |
| → codingquark joined | 19:53 |
|
ikke
| there is git submodule update --remote, which uses the remote tracking branch to determine what commit to checkout | 19:54 |
| → Ignacy joined | 19:55 |
|
geosmile
| Is there a way for submodules to always checkout master? a fresh git clone => git clone --recurse-submodules -j8 git://github.com/foo/bar.git | 19:56 |
| → feriman joined | 19:57 |
| → sudoforge joined | 19:58 |
| → eamanu1 joined | 20:03 |
| ← bgilb left | 20:03 |
| ← caskd left | 20:05 |
| → caskd joined | 20:05 |
| ← tiin57 left | 20:09 |
| → tiin57 joined | 20:12 |
| ← caskd left | 20:14 |
| → caskd joined | 20:14 |
| ← makara1 left | 20:18 |
| ← dfee left | 20:21 |
| → royal_screwup21 joined | 20:23 |
| → dfee joined | 20:24 |
| → _aaron_ joined | 20:24 |
|
_aaron_
| if I perform a partial rebase exclusively on commits which have *not* been pulled by teammates, will that be viewed as a conflict for them, or can they still pull/FF ? | 20:25 |
|
geosmile
| if i checkout another branch in a submodule - is it still a submodule? | 20:26 |
|
ikke
| _aaron_: you are free to rebase non-published commits | 20:26 |
|
| ie, private history | 20:26 |
|
| geosmile: yes | 20:26 |
|
_aaron_
| ikke: well, some are actually published, i just don't think teammates have fetched them | 20:26 |
|
ikke
| right, if they haven't fetched it, they are not aware that it was rewritten | 20:27 |
|
_aaron_
| just don't know if *only* those commits are rewritten | 20:27 |
|
geosmile
| ikke, if i rm -rf submodule, and then git clone submod_repo_url - is it still a submodule? | 20:27 |
|
_aaron_
| ok, prior commits they haven't pulled won't affect them +1 | 20:27 |
|
| thks! | 20:27 |
| ← Narrat left | 20:28 |
|
ikke
| geosmile: yes and no: a submodule is just a normal git repository, so yes, cloning it would still create what git considers a submodule for that repo | 20:29 |
|
| but nowadays, git stores the repo content in .git/modules of the parent repo | 20:29 |
|
| and .git is a file with a reference to that | 20:29 |
|
| that way, git is free to remove the submodule repo for example when you checkout a branch that does not have that submodule | 20:30 |
| ← _aaron_ left | 20:30 |
| → Wetmelon joined | 20:31 |
| ← mns left | 20:33 |
| → mns joined | 20:34 |
|
geosmile
| ikke, so if i rm -rf submodule && git clone submodule - what happens to the state of git? | 20:38 |
|
| will git submodule commands still work normally? | 20:39 |
|
| is that a bad thing to do? | 20:39 |
| → vincent- joined | 20:39 |
| ← tiin57 left | 20:39 |
| ← DarthRadar left | 20:39 |
|
ikke
| geosmile: I would not recommend that workflow | 20:39 |
|
| I assume git submodule commands should still work | 20:40 |
|
geosmile
| ikke, so - cd submodule && git checkout develop && git pull && cd .. - is fine workflow? | 20:40 |
|
ikke
| yes, or the other command I gave | 20:41 |
|
geosmile
| ikke, git submodule update --remote --> This one does not checkout develop instead of master - correct? | 20:42 |
| → tiin57 joined | 20:43 |
|
ikke
| You can use git submodule set-branch apparently to change what branch it tracks | 20:43 |
|
| (remote tracking branch I was referring to earlier) | 20:43 |
| → vincent-- joined | 20:46 |
| ← vicfred_ left | 20:47 |
| ← vincent- left | 20:47 |
| ← feriman left | 20:49 |
| → wallacer3_ joined | 20:49 |
| → jstein joined | 20:50 |
| → heroux_ joined | 20:50 |
| ← wallacer3 left | 20:51 |
| ← heroux left | 20:51 |
| heroux_ → heroux | 20:51 |
| ← cfoch left | 20:54 |
| ← muhaha left | 20:55 |
| ← caskd left | 20:59 |
| → vicfred joined | 21:01 |
| → mindCrime joined | 21:05 |
| ← royal_screwup21 left | 21:06 |
| → royal_screwup21 joined | 21:07 |
| → brethil_ joined | 21:08 |
| ← brethil left | 21:08 |
| ← tiin57 left | 21:09 |
| ← g00s left | 21:09 |
| → g00s joined | 21:10 |
| ← royal_screwup21 left | 21:12 |
| → zumba_addict joined | 21:12 |
| → tiin57 joined | 21:13 |
| → royal_screwup21 joined | 21:14 |
| → cehteh joined | 21:14 |
| ← jstein left | 21:15 |
| ← comptroller left | 21:15 |
|
cehteh
| how can i reset a work tree to a tree-ish | 21:15 |
| ← sozuba left | 21:17 |
| ← royal_screwup21 left | 21:19 |
| ← cliluw left | 21:21 |
| → cliluw joined | 21:23 |
| ← Wetmelon left | 21:25 |
|
rafasc
| discarding any uncommitted changes: git reset --hard treeish | 21:25 |
| ← mowcat left | 21:27 |
| → comptroller joined | 21:28 |
| ← tgunr left | 21:29 |
|
cehteh
| rafasc: $ git reset --hard 197184cd506340efd16da291fc55d28dcde11c4 | 21:29 |
|
| error: object 197184cd506340efd16da291fc55d28dcde11c47 is a tree, not a commit | 21:29 |
| ← cliluw left | 21:30 |
|
cehteh
| thats actually my problem :) ... | 21:30 |
|
rafasc
| cehteh: make a commit with it using git commit-tree; then use the commit for the checkout | 21:31 |
|
| I think that maybe git checkout treeish -- :/ ; would also work | 21:32 |
| ← Jookia left | 21:32 |
| ← h3ck left | 21:33 |
|
cehteh
| nope checkout neither | 21:33 |
| → Jookia joined | 21:33 |
|
rafasc
| then to the commit-tree thing | 21:34 |
|
cehteh
| actually i am expermenting with git-worktree having a dedicated worktree to run the testsuite from a pre-commit hook, so i have only a treeish but no commit yet | 21:34 |
|
| want to reset that worktree to the treeish and run the tests | 21:34 |
|
| how does the plumbing check a treeish out? | 21:34 |
|
rafasc
| cehteh: does git restore --source works with treish? | 21:35 |
|
cehteh
| lemme try | 21:36 |
| → cliluw joined | 21:36 |
|
cehteh
| err wants a pathspec, but i need all | 21:38 |
|
rafasc
| use :/ | 21:38 |
| → alexeightsix joined | 21:38 |
|
cehteh
| and is not recursive restore <treeish> -- . nope | 21:38 |
| ← tiin57 left | 21:39 |
|
rafasc
| that's not the interface of restore | 21:40 |
| ← oatmealraisin left | 21:40 |
|
cehteh
| i thought there must be some simple (maybe plumbing) to check out a tree, prolly from index, but i havent worked it out yet | 21:42 |
| → tiin57 joined | 21:43 |
| ← eamanu1 left | 21:45 |
|
rafasc
| for the index there's checkout-index | 21:47 |
|
cehteh
| git read-tree -i --reset 197184 .... | 21:47 |
|
| ah | 21:48 |
| → royal_screwup21 joined | 21:48 |
| → Technodrome joined | 21:49 |
|
cehteh
| got it now | 21:49 |
|
| hah maybe i dont need git worktree at all | 21:51 |
| ← royal_screwup21 left | 21:51 |
| → royal_screwup21 joined | 21:52 |
| → rangergord joined | 21:53 |
|
rangergord
| Offtopic, but...I have a Linux system I'm setting up for identical devices. Other than the network configuration and a specific custom configuration file, nothing would vary from system to system. What are my options for having git-like change history changes that I'm able to apply (or revert) on already-created systems that I can reach on the LAN, but which don't have Internet access? Example: on the reference system I apt | 21:56 |
|
| install gdb, install some random library in /usr/local/lib, and modify /etc/ssh/sshd_config. I'd commit these changes, and now I want to run a command on an existing system to have them fetch the changes, and apply if I want. What's the best option? git + rsync? Don't worry about repo size, my changes are minimal. | 21:56 |
| ← royal_screwup21 left | 21:57 |
|
rangergord
| basically git for OS updates | 21:57 |
|
cehteh
| rafasc: i just git archive ... | 21:57 |
|
| rangergord: there is etckeeper for the config stuff | 21:57 |
| ← calcul0n left | 21:58 |
|
rangergord
| git archive doesn't keep the history, does it, it's just a file archive? | 21:58 |
| ← orbyt_v7 left | 21:58 |
|
cehteh
| for binaries you could use rsync to hardlinked directory tress | 21:58 |
|
rafasc
| a filesystem that does snapshots also works | 21:59 |
|
rangergord
| I really need ext4 for reliability | 21:59 |
|
cehteh
| i do that for backups | 21:59 |
|
rangergord
| these devices might not have UPSes | 21:59 |
| ← cliluw left | 21:59 |
|
cehteh
| rangergord: https://public.pipapo.org/mmcbackup take some inspiration from that | 22:00 |
| → cliluw joined | 22:00 |
|
cehteh
| i use that to make backups on usb-flash or sd-card on laptops or rasbperrypi's | 22:01 |
|
rangergord
| thanks | 22:01 |
|
cehteh
| not exactly what you need, but shows how to do hardlinked snapshots with rsync | 22:02 |
| ← brethil_ left | 22:02 |
|
cehteh
| runnning rsync twice is a bit slow but makes things more atomic | 22:03 |
| → masber joined | 22:04 |
|
rangergord
| so I guess I was on the right path, and there's no more appropriate tool than rsync. | 22:04 |
|
cehteh
| by what definition of approbiate | 22:05 |
|
rangergord
| designed to give me easy viewing of history, like git does | 22:05 |
|
| I know I can diff directories | 22:05 |
|
cehteh
| because rsync is highly portable, works on almost all filesystem, leaves files with no magic | 22:05 |
|
rangergord
| and maybe put some description.txt in there | 22:05 |
|
cehteh
| you can add a diff there but keep in mind that this is meant for binaries | 22:06 |
| → lucasb joined | 22:06 |
|
cehteh
| it wont store binary diffs, only hardlinks for not changed files | 22:06 |
|
rangergord
| I'd still like to see "new file /usr/bin/whatever" | 22:06 |
|
cehteh
| thats simple | 22:07 |
|
rangergord
| yeah I know | 22:07 |
|
cehteh
| i mean that rsync backups to dirs named by timestamp | 22:07 |
|
| i have some more elaborate backup system for rsync, that can do some stats and stuff, running since long time here (15 years?) | 22:08 |
|
| but isnt really documented or finished :D | 22:08 |
| ← tiin57 left | 22:09 |
|
cehteh
| root@rpi:~# mount /media/sda1/ | 22:09 |
|
| root@rpi:~# ls /media/sda1/backups/ | 22:09 |
|
| 1577573360 1578584888 1579535300 | 22:09 |
|
| ... | 22:09 |
|
| that are the timestamped dirs | 22:09 |
| → satousan joined | 22:10 |
|
cehteh
| # diff --no-dereference -rq 1596609932 1596638742 | 22:12 |
|
| Files 1596609932/var/lib/dhcp/dhclient.br0.leases and 1596638742/var/lib/dhcp/dhclient.br0.leases differ | 22:12 |
|
| ..etc | 22:12 |
| → kenwoodfox_ joined | 22:12 |
|
rangergord
| nice | 22:12 |
| → tiin57 joined | 22:12 |
| ← kenwoodfox left | 22:12 |
| → jetchisel joined | 22:12 |
|
cehteh
| imo the biggiest advnatage is that/when backuped files are stored as plain files, as in restoring doesnt need any tool you can just copy them back | 22:14 |
| ← satousan left | 22:14 |
| → orbyt_v7 joined | 22:16 |
| ← BPL left | 22:16 |
| → BPL joined | 22:17 |
| ← vicfred left | 22:18 |
| ← alexeightsix left | 22:20 |
| ← Maxattax left | 22:21 |
| → brethil joined | 22:25 |
| ← benfelin left | 22:27 |
| → wymillerlinux joined | 22:28 |
| ← vdamewood left | 22:28 |
| ← masber left | 22:29 |
| → rustyshackleford joined | 22:29 |
| → misuto3 joined | 22:29 |
| ← misuto left | 22:30 |
| misuto3 → misuto | 22:30 |
| ← dfee left | 22:34 |
|
peepsalot
| i'm doing a large rebase and something got messed up while resolving conflicts. is there a way to reset to the conflicted version and redo the conflict resolving? | 22:35 |
|
| i've already done quite a few "git rebase --continue", just the current step i want to redo | 22:36 |
| ← misuto left | 22:36 |
| → dfee joined | 22:36 |
| → misuto joined | 22:37 |
|
peepsalot
| so starting over completely would be a huge setback for me | 22:37 |
|
rafasc
| peepsalot: I think you can do git checkout -m; But just to be sure, take not of the current commit hash. | 22:39 |
| ← tiin57 left | 22:39 |
|
rafasc
| If something goes wrong, you can resume from there with git rebase --onto=hash <x> <y> | 22:40 |
| → tiin57 joined | 22:42 |
|
peepsalot
| rafasc: do i need to reset the currently added files first? | 22:43 |
| → mat001_ joined | 22:44 |
|
rafasc
| I'm not sure. Another thing you can do is: git rebase --edit-todo list; | 22:45 |
|
| and put the pick instruction again, and rebase --skip; whatever you did. | 22:46 |
| ← mat001 left | 22:46 |
|
rafasc
| consider making a backup of the repo, it would give you peace of mind experimenting with the solution. | 22:47 |
|
peepsalot
| yeah, i've done that | 22:48 |
| ← BPL left | 22:48 |
| ← mns left | 22:49 |
| → mns joined | 22:49 |
| → eamanu1 joined | 22:50 |
| veegee_ → veegee | 22:51 |
|
peepsalot
| --edit-todo seems like its working ok | 22:52 |
| → royal_screwup21 joined | 22:54 |
| → yonder joined | 23:03 |
| ← royal_screwup21 left | 23:05 |
| → royal_screwup21 joined | 23:06 |
| ← Human_G33k left | 23:06 |
| ← tiin57 left | 23:09 |
| → alexeightsix joined | 23:11 |
| ← jast left | 23:11 |
| → jast joined | 23:12 |
| → dpflick joined | 23:12 |
| → tiin57 joined | 23:13 |
| → oatmealraisin joined | 23:16 |
| → maxwilliamson joined | 23:17 |
| ← cehteh left | 23:18 |
| ← dfee left | 23:18 |
| ← royal_screwup21 left | 23:19 |
| ← Phylock left | 23:19 |
| → royal_screwup21 joined | 23:19 |
| ← causasui left | 23:20 |
| ← CodeSlingerPaul left | 23:20 |
| ← justanotheruser left | 23:20 |
| ← rafasc left | 23:20 |
| → dfee joined | 23:20 |
| ← oatmealraisin left | 23:21 |
| → jaziz joined | 23:24 |
| → DarthRadar joined | 23:26 |
| ← royal_screwup21 left | 23:26 |
| ← cosimone left | 23:26 |
| → cosimone joined | 23:26 |
| → royal_screwup21 joined | 23:27 |
| → Brainium joined | 23:27 |
| → Human_G33k joined | 23:27 |
| → satousan joined | 23:29 |
| ← DarthRadar left | 23:35 |
| ← tiin57 left | 23:39 |
| → justanotheruser joined | 23:40 |
| ← satousan left | 23:41 |
| → tiin57 joined | 23:43 |
|
BtbN
| Is it normal that a simple cherry-pick takes _forever_ on the linux kernel? | 23:43 |
|
| It's not doing anything really. No disk IO, just... sitting there | 23:44 |
| → zulutango joined | 23:44 |
| ← royal_screwup21 left | 23:45 |
| ← wunderba_ left | 23:46 |
| → dedowsdi joined | 23:46 |
| → royal_screwup21 joined | 23:46 |
| → wunderbar joined | 23:46 |
| ← g4570n left | 23:47 |
| ← eamanu1 left | 23:49 |
|
Jookia
| BtbN: nope, that's weird | 23:50 |
| ← royal_screwup21 left | 23:51 |
| ← Human_G33k left | 23:52 |
| ← orbyt_v7 left | 23:57 |
| → g4570n joined | 23:58 |