| 2022-05-07 |
| → littlebobeep joined | 00:00 |
| ← audiocat left | 00:01 |
| ← Sasazuka left | 00:04 |
| ← R2robot left | 00:04 |
| ← junktext left | 00:05 |
| → R2robot joined | 00:10 |
| ← lechner left | 00:12 |
| ← osXnut left | 00:12 |
| ← dionysus69 left | 00:14 |
| → dionysus69 joined | 00:14 |
| → lechner joined | 00:15 |
| → sa0 joined | 00:20 |
| → Codaraxis_ joined | 00:24 |
| ← Codaraxis left | 00:28 |
| → hiroot joined | 00:30 |
| ← parsnip left | 00:31 |
| parsnip0 → parsnip | 00:31 |
| → Guest9866 joined | 00:31 |
| ← drbeco left | 00:32 |
| → kaiseisei joined | 00:32 |
| → drbeco joined | 00:32 |
| → g0uZ joined | 00:33 |
| ← jinsun left | 00:34 |
| → alxe_what_up[m] joined | 00:34 |
| Guest9866 → parsnip2 | 00:35 |
| ← parsnip left | 00:38 |
| parsnip2 → parsnip | 00:38 |
| → Guest1076 joined | 00:39 |
| ← Guest1076 left | 00:40 |
| → parsnip0 joined | 00:40 |
| ← dea_ left | 00:40 |
| ← nattiestnate left | 00:41 |
| ← bertvvvs left | 00:43 |
| ← vicfred left | 00:44 |
| ← bish0p_dl left | 00:46 |
| → bish0p_dl joined | 00:46 |
| ← sa0 left | 00:50 |
| ← g0uZ left | 01:06 |
| ← gurkenglas left | 01:13 |
| Sqaure → Authority | 01:15 |
| Authority → Sqaure | 01:16 |
| ← dionysus69 left | 01:16 |
| → dionysus70 joined | 01:16 |
| dionysus70 → dionysus69 | 01:18 |
| → Laplace joined | 01:21 |
| → nattiestnate joined | 01:22 |
| ← duxsco left | 01:23 |
| ← nattiestnate left | 01:23 |
| → nattiestnate joined | 01:23 |
| → rgrinberg joined | 01:24 |
| ← x_kuru left | 01:33 |
| → audio joined | 01:37 |
| ← hiroot left | 01:37 |
| ← nattiestnate left | 01:40 |
| ← arosen left | 01:48 |
| → hiroot joined | 01:50 |
| ← bn_work left | 01:55 |
| → g0uZ joined | 02:06 |
| → Vonter joined | 02:10 |
| → thebombzen joined | 02:12 |
| ← nyah left | 02:12 |
| ← FinnElija left | 02:13 |
| → finn_elija joined | 02:13 |
| finn_elija → FinnElija | 02:13 |
| ← pretty_dumm_guy left | 02:15 |
| ← rgrinberg left | 02:15 |
| ← dionysus69 left | 02:17 |
| → dionysus69 joined | 02:17 |
| ← defjam left | 02:23 |
| → defjam joined | 02:25 |
| ← bish0p_dl left | 02:26 |
| ← zebrag left | 02:29 |
| → Codaraxis__ joined | 02:32 |
| ← Codaraxis_ left | 02:36 |
| ← pulse left | 02:57 |
| ← gast0n left | 03:01 |
| ← bloody left | 03:10 |
| → rgrinberg joined | 03:10 |
| ← dionysus69 left | 03:18 |
| → dionysus70 joined | 03:18 |
| dionysus70 → dionysus69 | 03:20 |
| ← igemnace left | 03:25 |
| → igemnace joined | 03:31 |
| ← mven left | 03:34 |
| → mven joined | 03:35 |
| → jinsun joined | 03:38 |
| → aniruddha joined | 03:41 |
| ← Laplace left | 03:41 |
| → yeirr joined | 03:44 |
| ← dsrt^ left | 03:50 |
| → lagash joined | 03:55 |
| ← mannequin left | 03:57 |
| ← sudoforge left | 04:04 |
| → sudoforge joined | 04:05 |
| ← kadobanana left | 04:07 |
| → kadobanana joined | 04:08 |
| ← hbautista_ left | 04:13 |
| ← gooble_gobble_1 left | 04:16 |
| → dionysus70 joined | 04:19 |
| ← dionysus69 left | 04:19 |
| dionysus70 → dionysus69 | 04:19 |
| → gooble_gobble joined | 04:20 |
| → coot joined | 04:27 |
| ← squirrel left | 04:45 |
| → sa0 joined | 04:48 |
| ← john left | 04:49 |
| ← gooble_gobble left | 04:52 |
| → cvmn joined | 04:54 |
| ← tyson2 left | 04:55 |
| → dsrt^ joined | 05:01 |
| ← rgrinberg left | 05:10 |
| ← skapata left | 05:12 |
| → julius3 joined | 05:15 |
| → EvilDMP joined | 05:16 |
| ← dionysus69 left | 05:20 |
| → dionysus69 joined | 05:20 |
| ← sa0 left | 05:22 |
| ← Shentino left | 05:22 |
| → nate1 joined | 05:23 |
| → Shentino joined | 05:24 |
| ← hamburgler left | 05:30 |
| → Toxmi joined | 05:36 |
|
Toxmi
| I'm maintinging my dotfiles across multiple devices with basically git push/pull. However, there are some corner cases where I for example have specific setting for xinitrc on machine B while it's different for machine A. | 05:37 |
|
| Currently, I'm using branches for that. But that's painful and I need to re-apply general commits to other machiens as well and take care of switching, etc. | 05:38 |
|
| What is the best practice for this? I mean some git workflow that works best for such situations | 05:38 |
|
ikke
| Toxmi: this is not something git is designed to handle | 05:38 |
|
| so there is not good workflow around it | 05:39 |
|
Toxmi
| ikke: I've saw Gnu stow for it, but I like and familiar with git syatem/jargon | 05:39 |
|
ikke
| I personally use chezmoi | 05:39 |
|
| which uses git to store the config | 05:39 |
|
| but the git repo is not directly in the homedir | 05:40 |
|
Toxmi
| what if I maintain a streamline trunk and cherrypick(?) relevent commits from machine branches to that trunk. When switch to another machine just bring those commits to that branch | 05:40 |
|
| ikke: I'll check it | 05:41 |
|
ikke
| Lot of manuall work figuring out what to cherry-pick where | 05:41 |
|
| and what has and has not been applied | 05:41 |
|
Toxmi
| ikke: exactly what bringe me here to ask :) | 05:41 |
|
ikke
| My general recommendation is not to use plain git | 05:41 |
|
Toxmi
| yea, I see why | 05:42 |
|
ikke
| There are other pitfalls, like accidentially running git clean -f in you homedir (or any subdir that is not a repo on its own) | 05:42 |
|
Toxmi
| ikke: I put it in dotfile and symlink stuff there | 05:43 |
|
ikke
| right, that's at least better | 05:43 |
|
| chezmoi does not use symlinks, but updates the files when you run chezmoi apply | 05:43 |
|
| It supports templated dotfiles, so you can easily apply different settings on different systems | 05:44 |
|
| and a lot more | 05:44 |
|
Toxmi
| I definitely need to check it out | 05:44 |
|
| thanks | 05:44 |
| ← bket left | 06:00 |
| ← ano left | 06:00 |
| ← GNUmoon left | 06:00 |
| → ano joined | 06:01 |
| → GNUmoon joined | 06:01 |
| ← baffodoro left | 06:02 |
| ← julius3 left | 06:02 |
| → bket joined | 06:02 |
| ← AnapodoPsalidaki left | 06:03 |
| → madewokherd` joined | 06:06 |
| → atrigent joined | 06:07 |
| ← madewokherd left | 06:09 |
| ← thiago left | 06:11 |
| ← atrigent left | 06:12 |
| → atrigent joined | 06:14 |
| ← sudoforge left | 06:16 |
| ← Toxmi left | 06:17 |
| ← atrigent left | 06:18 |
| ← dionysus69 left | 06:21 |
| → atrigent joined | 06:21 |
| → dionysus69 joined | 06:21 |
| ← littlebobeep left | 06:32 |
| ← cvmn left | 06:34 |
| → theoceaniscool joined | 06:35 |
| → han-solo joined | 06:35 |
| → zeenk joined | 06:35 |
| ← EvilDMP left | 06:37 |
| ← mw_ left | 06:40 |
| → mw_ joined | 06:40 |
| → abu joined | 06:41 |
| ← mw_ left | 06:41 |
| → mw_ joined | 06:42 |
| ← abu left | 06:48 |
|
utis
| is there a way to merge only files that are already in the target branch? | 06:48 |
| → littlebobeep joined | 06:49 |
| ← great_taste left | 06:51 |
| → haise01 joined | 06:58 |
| ← nate1 left | 07:02 |
| → john joined | 07:04 |
|
ikke
| Not automatically | 07:07 |
| → derfflinger joined | 07:14 |
| _angelo_ → bigendian | 07:19 |
| → sa0 joined | 07:20 |
| ← dionysus69 left | 07:22 |
| → dionysus70 joined | 07:22 |
| → raindrop joined | 07:23 |
| ← igemnace left | 07:24 |
| dionysus70 → dionysus69 | 07:24 |
| → vimal joined | 07:26 |
| → onizu joined | 07:26 |
| ← raindrop left | 07:28 |
| ← Masklin left | 07:29 |
| → palasso joined | 07:38 |
| ← dionysus69 left | 07:40 |
| → dionysus70 joined | 07:41 |
| dionysus70 → dionysus69 | 07:43 |
| ← thekingofbandit left | 07:45 |
| → nate1 joined | 07:45 |
| ← dionysus69 left | 07:46 |
| → dionysus69 joined | 07:46 |
| → Rashad joined | 07:47 |
| ← nate1 left | 07:50 |
| ← dionysus69 left | 07:52 |
| → dionysus70 joined | 07:53 |
| dionysus70 → dionysus69 | 07:55 |
| → dionysus70 joined | 07:59 |
| ← dionysus70 left | 08:00 |
| ← aniruddha left | 08:00 |
| ← dionysus69 left | 08:02 |
| → dionysus69 joined | 08:02 |
| ← dionysus69 left | 08:06 |
| → dionysus69 joined | 08:06 |
| → TheCatBehemoth joined | 08:07 |
| ← audio left | 08:09 |
| → hans_ joined | 08:09 |
| ← dionysus69 left | 08:12 |
| → dionysus70 joined | 08:12 |
| → bkircher joined | 08:13 |
| dionysus70 → dionysus69 | 08:15 |
| ← dionysus69 left | 08:18 |
| → dionysus70 joined | 08:18 |
| dionysus70 → dionysus69 | 08:21 |
| ← dionysus69 left | 08:24 |
| → dionysus69 joined | 08:24 |
| ← kaiseisei left | 08:26 |
| → iomari891 joined | 08:29 |
| → nate1 joined | 08:30 |
| ← dionysus69 left | 08:30 |
| → dionysus69 joined | 08:30 |
| → kaiseisei joined | 08:32 |
| ← sa0 left | 08:32 |
| ← Rashad left | 08:34 |
| ← dionysus69 left | 08:35 |
| ← nate1 left | 08:35 |
| → Gaboradon joined | 08:38 |
| → jinsun__ joined | 08:38 |
| ← jinsun__ left | 08:39 |
| → jinsun__ joined | 08:40 |
| ← jinsun left | 08:41 |
| → Rashad joined | 08:43 |
| → mannequin joined | 08:50 |
| ← Betal left | 08:51 |
| → zer0bitz joined | 08:54 |
| ← jancoow left | 08:56 |
| → EvilDMP joined | 08:56 |
| → jancoow joined | 08:57 |
| ← jancoow left | 08:58 |
| ← Andrew left | 08:59 |
| → jancoow joined | 09:00 |
| → Andrew joined | 09:00 |
| ← Andrew left | 09:00 |
| → Andrew joined | 09:00 |
| ← EvilDMP left | 09:00 |
| → YuGiOhJCJ joined | 09:04 |
| → mitrokov joined | 09:04 |
| → jancoow6 joined | 09:05 |
| ← jancoow left | 09:05 |
| jancoow6 → jancoow | 09:05 |
| ← YuGiOhJCJ left | 09:09 |
| ← jancoow left | 09:10 |
| → jancoow joined | 09:12 |
| → vitali64 joined | 09:13 |
| ← jancoow left | 09:18 |
| ← malteger left | 09:18 |
| → han-solo_ joined | 09:19 |
| ← very_sneaky left | 09:20 |
| → jancoow joined | 09:20 |
| ← han-solo left | 09:22 |
| ← goldfish left | 09:22 |
| → feriman joined | 09:24 |
| → very_sneaky joined | 09:24 |
| → feriman_ joined | 09:28 |
| ← jinsun__ left | 09:33 |
| → laureee joined | 09:34 |
| ← Rashad left | 09:35 |
| → jinsun joined | 09:37 |
| ← feriman left | 09:39 |
| ← feriman_ left | 09:39 |
| han-solo_ → han-solo | 09:40 |
| → t0mm13b_ joined | 09:50 |
| ← t0mm13b left | 09:51 |
| ← ghost43 left | 09:53 |
| ← t0mm13b_ left | 09:53 |
| → ghost43 joined | 09:53 |
| → jclsn joined | 09:53 |
| → feriman joined | 09:54 |
| → EvilDMP joined | 09:57 |
| → Rashad joined | 09:59 |
| ← jinsun left | 10:02 |
| → dionysus69 joined | 10:03 |
| → t0mm13b joined | 10:10 |
| ← dansan left | 10:10 |
| ← EvilDMP left | 10:12 |
| → stats4647 joined | 10:14 |
| → kenanmarasli joined | 10:18 |
| ← stats4647 left | 10:19 |
| ← derfflinger left | 10:21 |
| ← kyshoc left | 10:28 |
| → kyshoc joined | 10:28 |
| ← kyshoc left | 10:28 |
| → kyshoc joined | 10:28 |
| → sa0 joined | 10:30 |
| ← redbool left | 10:31 |
| ← kenanmarasli left | 10:32 |
| → kenanmarasli joined | 10:32 |
| → t0mm13b_ joined | 10:33 |
| ← t0mm13b_ left | 10:33 |
| ← t0mm13b left | 10:35 |
| ← kaiseisei left | 10:38 |
| ← yeirr left | 10:39 |
| ← littlebobeep left | 10:43 |
| → Lord_of_Life_ joined | 10:49 |
| ← moldorcoder7 left | 10:49 |
| ← Lord_of_Life left | 10:49 |
| Lord_of_Life_ → Lord_of_Life | 10:50 |
| ← palasso left | 10:51 |
| → igemnace joined | 10:52 |
| ← john left | 10:53 |
| → palasso joined | 10:54 |
| ← palasso left | 10:54 |
| → john joined | 10:54 |
| → moldorcoder7 joined | 10:58 |
| ← sa0 left | 11:02 |
| ← jazzy left | 11:05 |
| ← jazzy2 left | 11:05 |
| → ALowther joined | 11:05 |
| ← igemnace left | 11:06 |
| ← ALowther left | 11:10 |
| → ryp joined | 11:10 |
| → jinsun joined | 11:13 |
| ← jclsn left | 11:13 |
| ← laureee left | 11:14 |
| → jclsn joined | 11:16 |
| → duxsco joined | 11:17 |
| → derfflinger joined | 11:21 |
| → littlebobeep joined | 11:22 |
| → dea_ joined | 11:22 |
| ← derfflinger left | 11:25 |
| ← hiroot left | 11:27 |
| → nate1 joined | 11:29 |
| → flupe joined | 11:31 |
| ← TheCatBehemoth left | 11:33 |
| ← nate1 left | 11:33 |
| ← littlebobeep left | 11:36 |
| ← flupe left | 11:36 |
| ← duxsco left | 11:42 |
| → duxsco joined | 11:42 |
| ← duxsco left | 11:44 |
| → srinidhi joined | 11:44 |
| → duxsco joined | 11:46 |
| ← duxsco left | 11:46 |
| → duxsco joined | 11:47 |
| → tyson2 joined | 11:52 |
| ← duxsco left | 11:53 |
| → duxsco joined | 11:53 |
| → TheCatBehemoth joined | 11:56 |
| → Sulky joined | 12:02 |
| → t0mm13b joined | 12:23 |
| ← vdamewood left | 12:27 |
| ← duxsco left | 12:32 |
| → duxsco joined | 12:35 |
| → pulse joined | 12:36 |
| ← duxsco left | 12:37 |
| ← eroux left | 12:38 |
| → palasso joined | 12:38 |
|
eqw
| Is there a CLI/TUI tool for exploring https://remote/repo.git without downloading it entirely? | 12:38 |
| → lgc joined | 12:39 |
| → ized joined | 12:40 |
| → natrys joined | 12:40 |
|
ikke
| No, as git does not provide a way to do that over the protocol | 12:40 |
| ← john left | 12:41 |
|
bremner
| you could use a text based browser if the remote supports browsing via https (e.g. via cgit, or github, or ...) | 12:42 |
| ← lgc left | 12:44 |
|
acagastya
| eqw: if it uses soft-serve, then you could. | 12:47 |
|
| But that is a whole different tool around git. | 12:48 |
|
| https://github.com/charmbracelet/soft-serve -- but you probably don't need this. | 12:49 |
| ← palasso left | 12:49 |
| → rsx joined | 12:50 |
| → ffyuanda joined | 12:53 |
| ← extrowerk left | 12:54 |
| → extrowerk joined | 12:55 |
|
furrymcgee
| git clone --depth 1 does not download entirely | 12:58 |
| → robigan joined | 13:01 |
| → wootehfoot joined | 13:01 |
| → stats4647 joined | 13:05 |
| ← ized left | 13:09 |
| ← fling left | 13:11 |
| ← robigan left | 13:18 |
| → fling joined | 13:18 |
| → nyah joined | 13:19 |
| → EvilDMP joined | 13:19 |
| → derfflinger joined | 13:22 |
| ← coot left | 13:23 |
| ← han-solo left | 13:24 |
| → dea__ joined | 13:25 |
| ← shailangsa left | 13:25 |
| ← derfflinger left | 13:26 |
| ← dea_ left | 13:28 |
| ← EvilDMP left | 13:30 |
| → sudoforge joined | 13:34 |
| ← rsx left | 13:36 |
| ← TheCatBehemoth left | 13:39 |
| ← mitrokov left | 13:39 |
| → TheGuestMovie joined | 13:40 |
| ← TheGuestMovie left | 13:41 |
| → pretty_dumm_guy joined | 13:43 |
| → wakeup joined | 13:44 |
| → shailangsa_ joined | 13:51 |
| ← dionysus69 left | 13:53 |
| → nate1 joined | 13:57 |
| → EvilDMP joined | 14:00 |
| ← wootehfoot left | 14:01 |
| ← nate1 left | 14:02 |
| → agumonkey joined | 14:06 |
|
agumonkey
| hello | 14:06 |
| → SteveR joined | 14:07 |
| ← EvilDMP left | 14:07 |
|
agumonkey
| I have a weird question, does git can interpret some comments in files to skip a line | 14:07 |
|
ikke
| Not built-in | 14:08 |
| → EvilDMP joined | 14:08 |
|
agumonkey
| if I need to add a dangerous line in a file to debug, and I want this to never be commited. can I write "//*GIT* ignore-next-line" | 14:08 |
|
ikke
| You can probably do something with clean/smudge filters or custom diff drivers | 14:08 |
|
| No | 14:08 |
|
agumonkey
| ikke: with normal hooks then ? | 14:08 |
|
ikke
| You can at least prevent accidental committing it with a pre-commit hook | 14:09 |
|
agumonkey
| ok | 14:09 |
|
ikke
| (if you don't habitually use --no-verify) | 14:09 |
| ← SteveR left | 14:09 |
|
agumonkey
| linters have this trick habit of adding metalevel comments to instruct them on the fly | 14:09 |
|
ikke
| git is not a linter | 14:09 |
|
agumonkey
| i thought maybe git also did this but no biggy | 14:09 |
|
| ikke: please | 14:10 |
|
| you helped me, but linter or vcs, it's a generic trick | 14:10 |
|
| thanks | 14:10 |
| → xkuru joined | 14:11 |
| ← EvilDMP left | 14:13 |
| → otisolsen70 joined | 14:14 |
| ← hans_ left | 14:19 |
| ← kenanmarasli left | 14:20 |
| → kenanmarasli joined | 14:20 |
| ← dea__ left | 14:24 |
| → gast0n joined | 14:24 |
| → roadie joined | 14:26 |
| → duxsco joined | 14:28 |
| ← theoceaniscool left | 14:28 |
| ← zeenk left | 14:28 |
| ← Techcable left | 14:29 |
| → Techcable joined | 14:31 |
| → igemnace joined | 14:34 |
| ← srinidhi left | 14:37 |
| → gurkenglas joined | 14:38 |
| ← duxsco left | 14:39 |
| → duxsco joined | 14:40 |
| → yeirr joined | 14:51 |
| → rhe7 joined | 14:51 |
| → Jenna64bit joined | 14:52 |
| → cluelessperson_ joined | 14:52 |
| → gooble_gobble joined | 14:52 |
| → squirrel joined | 14:53 |
| ← dsrt^ left | 14:53 |
| ← igemnace left | 14:53 |
| → ndorf_ joined | 14:55 |
| → bambams_ joined | 14:55 |
| → thiago joined | 14:56 |
| ← makara1 left | 14:56 |
| ← cluelessperson left | 14:56 |
| ← fdisotto left | 14:56 |
| ← DavidTucker[m] left | 14:56 |
| ← marstaik[m] left | 14:56 |
| ← LalitKumar[m] left | 14:56 |
| ← rsify left | 14:56 |
| ← yuu[m] left | 14:56 |
| ← ronny left | 14:56 |
| ← Fernando-Basso left | 14:57 |
| ← randm left | 14:57 |
| ← mrkajetanp left | 14:57 |
| ← Sqaure left | 14:57 |
| ← Kobaz left | 14:57 |
| ← bleb left | 14:57 |
| ← ueberall left | 14:57 |
| ← chorduser left | 14:57 |
| ← epicout left | 14:57 |
| ← ephemer0l left | 14:57 |
| ← rudi_s left | 14:57 |
| ← Jenna16bit left | 14:57 |
| ← MiniontobyPI left | 14:57 |
| ← hendry left | 14:57 |
| ← ndorf left | 14:57 |
| ← vodkra left | 14:57 |
| ← Arsen left | 14:57 |
| ← ljharb left | 14:57 |
| ← JayDoubleu_ left | 14:57 |
| ← relipse left | 14:57 |
| ← Albright left | 14:57 |
| ← infl00p45 left | 14:57 |
| ← tomek_ left | 14:57 |
| ← wacko_ left | 14:57 |
| ← goblin left | 14:57 |
| ← rhe left | 14:57 |
| ← bambams left | 14:57 |
| ← Yorick_ left | 14:57 |
| ← bartman left | 14:57 |
| Rhvs → Rhys | 14:57 |
| rhe7 → rhe | 14:57 |
| Rhys → 076AABGU7 | 14:57 |
| → makara1 joined | 14:57 |
| → fdisotto joined | 14:57 |
| → DavidTucker[m] joined | 14:57 |
| → marstaik[m] joined | 14:57 |
| → rsify joined | 14:57 |
| → LalitKumar[m] joined | 14:57 |
| → yuu[m] joined | 14:57 |
| → ronny joined | 14:57 |
| → Fernando-Basso joined | 14:57 |
| → randm joined | 14:57 |
| → mrkajetanp joined | 14:57 |
| → bleb joined | 14:57 |
| → Kobaz joined | 14:57 |
| → ueberall joined | 14:57 |
| → chorduser joined | 14:57 |
| → epicout joined | 14:57 |
| → ephemer0l joined | 14:57 |
| → rudi_s joined | 14:57 |
| → MiniontobyPI joined | 14:57 |
| → hendry joined | 14:57 |
| → vodkra joined | 14:57 |
| → Arsen joined | 14:57 |
| → ljharb joined | 14:57 |
| → JayDoubleu_ joined | 14:57 |
| → relipse joined | 14:57 |
| → Albright joined | 14:57 |
| → infl00p45 joined | 14:57 |
| → tomek_ joined | 14:57 |
| → wacko_ joined | 14:57 |
| → goblin joined | 14:57 |
| → Yorick_ joined | 14:57 |
| → bartman joined | 14:57 |
| ← relipse left | 14:57 |
| → Square joined | 14:59 |
| → relipse joined | 15:00 |
| → sa0 joined | 15:00 |
| → skapata joined | 15:00 |
| ← skapata left | 15:00 |
| → skapata joined | 15:00 |
| ← hendry left | 15:02 |
| → hendry joined | 15:03 |
| → justsomeguy joined | 15:03 |
| ← jclsn left | 15:08 |
| ← justsomeguy left | 15:11 |
| → jclsn joined | 15:11 |
| → madewokherd joined | 15:16 |
| ← jclsn left | 15:17 |
| ← madewokherd` left | 15:19 |
| ← Murr left | 15:20 |
| → Murr joined | 15:21 |
| → derfflinger joined | 15:21 |
| → bish0p_dl joined | 15:22 |
| → jclsn joined | 15:23 |
| ← derfflinger left | 15:25 |
| → malteger joined | 15:28 |
| ← sa0 left | 15:34 |
| → nate1 joined | 15:36 |
| → coot joined | 15:40 |
| ← crabbedhaloablut left | 15:43 |
| → crabbedhaloablut joined | 15:44 |
| → derfflinger joined | 15:45 |
| → agumonke` joined | 15:54 |
| ← agumonkey left | 15:55 |
| → rgrinberg joined | 15:55 |
| ← hsiktas[m] left | 16:00 |
|
wakeup
| I have a repo 2 commits | 16:01 |
|
| I want to edit (split) the first commit | 16:01 |
|
| how do I do that? | 16:01 |
|
| I cannot use git rebase | 16:01 |
|
ikke
| git rebase --root -i | 16:01 |
|
wakeup
| i mean git rebase -i --root does do what I want | 16:01 |
|
ikke
| but | 16:02 |
|
wakeup
| I tried to replace "pick" with "edit" for the first commit | 16:02 |
|
| but then it seems I am editing the second one | 16:02 |
|
| how do I reset the first commit? | 16:02 |
|
| git reset HEAD^ doesn't work? | 16:03 |
|
ikke
| correct, because that does not exist (the root commit does not have a parent) | 16:03 |
|
wakeup
| so what do I have to do? | 16:03 |
| ← Null_A left | 16:05 |
| → TheCatBehemoth joined | 16:06 |
| → reset joined | 16:07 |
| → vicfred joined | 16:07 |
| ← derfflinger left | 16:07 |
| → nctcf^ joined | 16:10 |
|
foo
| Is there a way to view git log on a file *and* see changes? | 16:12 |
|
ikke
| git log -p -- path/to/file | 16:13 |
|
foo
| ikke: thank you! Well, that's odd. I am trying to find when someone deleted a specific line but I'm not seeing it in any of this. | 16:15 |
| ← kenanmarasli left | 16:15 |
| ← mannequin left | 16:16 |
|
ikke
| foo: add in a --all --full-history for good measure | 16:16 |
|
foo
| ikke: ah, thanks, this shows it. | 16:17 |
| ← MatthewG left | 16:17 |
| → hamburgler joined | 16:21 |
| ← ffyuanda left | 16:21 |
| → infogulch joined | 16:22 |
| → robigan joined | 16:24 |
| ← cyberpear left | 16:27 |
| ← Xenguy left | 16:30 |
| ← bodiccea left | 16:35 |
| → hans_ joined | 16:36 |
| → opz0r joined | 16:38 |
| → audio joined | 16:39 |
| ← roadie left | 16:41 |
| → roadie joined | 16:42 |
|
cbreak
| wakeup: you can just make a new first-commit | 16:43 |
|
| wakeup: git checkout --orphan branchnamehere | 16:43 |
|
| then commit stuff. | 16:43 |
|
| you can get state from the other branch with git checkout otherbranchname -- filenameshere | 16:43 |
| ← yeirr left | 16:46 |
| ← roadie left | 16:47 |
| ← stats4647 left | 16:47 |
| ← ick left | 16:53 |
| ← robigan left | 16:55 |
| → EvilDMP joined | 16:56 |
| → robigan joined | 16:57 |
| ← tyson2 left | 16:58 |
| → Sulky_ joined | 17:00 |
| ← Sulky left | 17:02 |
| → Guest141 joined | 17:06 |
| ← Guest141 left | 17:06 |
| → Guest982738 joined | 17:07 |
| → great_taste joined | 17:07 |
| → bodiccea joined | 17:09 |
| → Xenguy joined | 17:11 |
| ← robigan left | 17:11 |
| → roadie joined | 17:12 |
| ← nate1 left | 17:17 |
| ← koo5 left | 17:18 |
| → koo5 joined | 17:19 |
| → roadie` joined | 17:22 |
| ← fling left | 17:23 |
| ← roadie left | 17:23 |
| → bloody joined | 17:23 |
| → AnapodoPsalidaki joined | 17:23 |
| ← bodiccea left | 17:23 |
| → spinningCat joined | 17:25 |
|
spinningCat
| hey | 17:25 |
| ← nctcf^ left | 17:26 |
|
spinningCat
| i cannot push my work to github i got this error error: src refspec master does not match any | 17:26 |
|
| how can i solve this error? | 17:26 |
| ← wakeup left | 17:26 |
| ← roadie` left | 17:26 |
|
ikke
| spinningCat: what does `git branch` return? | 17:27 |
| ← Guest982738 left | 17:28 |
|
spinningCat
| main | 17:28 |
|
| hmm | 17:28 |
|
| should i write git push -u origin main | 17:29 |
|
| ? | 17:29 |
|
ikke
| es | 17:29 |
|
| yes | 17:29 |
|
spinningCat
| that was master | 17:29 |
|
| i hope it will work | 17:29 |
|
| why master is changed to main? | 17:31 |
|
ikke
| people consider the master insensitive | 17:31 |
|
spinningCat
| I see | 17:32 |
| → sa0 joined | 17:32 |
| ← spinningCat left | 17:38 |
| ← otisolsen70 left | 17:44 |
| → henistein joined | 17:47 |
| ← gildasio left | 17:47 |
| → mannequin joined | 17:47 |
| ← henistein left | 17:48 |
| → roadie` joined | 17:49 |
| ← rgrinberg left | 17:49 |
| → gildasio joined | 17:49 |
| ← elastic_dog left | 17:53 |
| → srinidhi joined | 17:55 |
| → bob518 joined | 17:55 |
| → bodiccea joined | 17:56 |
| → duxco joined | 17:57 |
| ← bodiccea left | 17:57 |
| → elastic_dog joined | 17:58 |
| ← duxsco left | 17:58 |
| ← roadie` left | 18:00 |
| ← thebombzen left | 18:01 |
| ← sa0 left | 18:04 |
| → roadie` joined | 18:06 |
| ← jjakob left | 18:09 |
| ← roadie` left | 18:11 |
| → jjakob joined | 18:12 |
| → littlebobeep joined | 18:13 |
| ← jjakob left | 18:13 |
| → cdown_ joined | 18:15 |
|
cbreak
| master shouldn't ever change to main automatically | 18:16 |
| → jjakob joined | 18:16 |
|
ikke
| They probably cloned a repo created on github | 18:16 |
|
| which defaults to main | 18:17 |
|
cbreak
| a fresh clone: very likely | 18:17 |
|
| but hontestly, both names are dumb. | 18:17 |
|
| I give my branches honest names | 18:17 |
|
| like dev/will-break, feature/not-implemented, release/2, ... | 18:17 |
| → roadie` joined | 18:18 |
| ← jjakob left | 18:21 |
| → jjakob joined | 18:24 |
| → dea_ joined | 18:27 |
| ← bdeferme2 left | 18:29 |
| ← jjakob left | 18:29 |
| → bdeferme2 joined | 18:32 |
| ← iomari891 left | 18:34 |
| → han-solo joined | 18:36 |
| ← littlebobeep left | 18:42 |
| → jjakob joined | 18:42 |
| ← frobnic left | 18:43 |
| → frobnic joined | 18:43 |
| ← roadie` left | 18:43 |
| ← Xenguy left | 18:43 |
| ← skered left | 18:44 |
| ← duxco left | 18:45 |
| ← bkircher left | 18:46 |
| → rgrinberg joined | 18:46 |
| ← vicfred left | 18:47 |
| → littlebobeep joined | 18:50 |
| ← han-solo left | 18:52 |
| → han-solo joined | 18:56 |
| → stats4647 joined | 19:02 |
| ← bdeferme2 left | 19:03 |
| → bodiccea joined | 19:04 |
| → a1eaiactaest joined | 19:04 |
| ← bodiccea left | 19:05 |
| → bodiccea joined | 19:05 |
| → bdeferme2 joined | 19:07 |
| ← stats4647 left | 19:07 |
| → tyson2 joined | 19:08 |
| ← rgrinberg left | 19:10 |
| ← AnapodoPsalidaki left | 19:11 |
| → fling joined | 19:13 |
| ← tyson2 left | 19:23 |
| ← agumonke` left | 19:27 |
| → Xenguy joined | 19:29 |
| → tyson2 joined | 19:31 |
| → palasso joined | 19:34 |
| ← vitali64 left | 19:35 |
| → jazzy2 joined | 19:36 |
| → jazzy joined | 19:36 |
| ← hoochmonger left | 19:43 |
| → rgrinberg joined | 19:45 |
| ← vimal left | 19:46 |
| → dcompoze joined | 19:49 |
| ← dcompoze left | 19:50 |
| → jinsun__ joined | 19:53 |
| → bagels joined | 19:53 |
| → otisolsen70 joined | 19:54 |
| ← jinsun left | 19:56 |
| ← axisys left | 19:59 |
| → sa0 joined | 20:03 |
| ← palasso left | 20:10 |
| ← rgrinberg left | 20:22 |
| ← tyson2 left | 20:23 |
| → rgrinberg joined | 20:27 |
| audio → audiobirb | 20:27 |
| ← haise01 left | 20:30 |
| ← sa0 left | 20:34 |
| ← opz0r left | 20:40 |
| → abu joined | 20:41 |
| ← analoq left | 20:52 |
| → skered joined | 20:52 |
| → analoq joined | 20:54 |
| ← otisolsen70 left | 21:00 |
| → wakeup joined | 21:02 |
|
wakeup
| I have this message "Your branch and 'origin/main' have diverged" | 21:02 |
|
| because I did a rebase and didn't yet push force | 21:02 |
|
| is there a way to undo this last rebase? | 21:02 |
|
| and make my local repo equal to the remote and keeping the working changes that I made | 21:03 |
|
| ? | 21:03 |
| → vicfred joined | 21:03 |
|
wakeup
| maybe this https://stackoverflow.com/questions/134882/undoing-a-git-rebase | 21:05 |
| ← feriman left | 21:05 |
|
wakeup
| I will regret this git reset hard but ok | 21:07 |
|
| actually, no | 21:08 |
| ← rgrinberg left | 21:10 |
|
wakeup
| let's say that I am developing a program that is written in C++ and Python and also uses latex | 21:11 |
|
| is it a good idea to copy the gitignores from C++ and Python and latex and put them in the same file and use that? | 21:11 |
|
| byt gitignores I mean those provided by github | 21:11 |
|
| what if e.g. one thing that is ignored by Python is required by C++? | 21:11 |
|
| that's my concern | 21:12 |
|
| b | 21:13 |
|
| https://stackoverflow.com/questions/10274424/best-practice-for-using-multiple-gitignore-files | 21:13 |
|
| the guy only suggests to do what I said | 21:15 |
|
| but I don't know if that's always safe | 21:15 |
| ← vicfred left | 21:15 |
| → hamburgler2 joined | 21:18 |
| ← Murr left | 21:20 |
| ← hamburgler left | 21:20 |
| → Murr joined | 21:20 |
| ← TheCatBehemoth left | 21:23 |
|
bagels
| wakeup: you can combine them and generally trust github's gitignores, in my experience. just combine them. you'll be alright. and just ensure what you want added to your commits is being added. | 21:23 |
| → TheCatBehemoth joined | 21:24 |
| ← audiobirb left | 21:30 |
| → audio joined | 21:34 |
| → stats4647 joined | 21:38 |
| ← dea_ left | 21:40 |
| ← majors left | 21:41 |
| ← stats4647 left | 21:42 |
| → majors joined | 21:43 |
| → zeenk joined | 21:43 |
| ← srinidhi left | 21:44 |
| → thebombzen joined | 21:47 |
| ← EvilDMP left | 21:49 |
| ← han-solo left | 21:50 |
| ← a1eaiactaest left | 21:50 |
| ← nightstrike left | 21:51 |
| → MajorBiscuit joined | 21:54 |
| ← natrys left | 21:58 |
| ← MajorBiscuit left | 21:59 |
| ← coot left | 22:00 |
| → tyson2 joined | 22:05 |
| ← squirrel left | 22:08 |
| ← audio left | 22:09 |
| → audio joined | 22:09 |
| → fercell joined | 22:14 |
| ← wakeup left | 22:14 |
| ← ferr_ left | 22:14 |
| → duxsco joined | 22:16 |
| → rgrinberg joined | 22:17 |
| ← hamburgler2 left | 22:17 |
| → hamburgler joined | 22:17 |
| ← shailangsa_ left | 22:23 |
| → whatsupdoc joined | 22:25 |
| → YuGiOhJCJ joined | 22:30 |
| ← jinsun__ left | 22:41 |
| → jinsun joined | 22:41 |
|
duxsco
| can you recommend a diff configuration that results in something similar than that shown by github? https://github.com/duxsco/gentoo-installation/commit/7b86017ce9e1793d700db12fb6d21e53df2fb13a | 22:48 |
|
| ... for example | 22:48 |
| ← TheCatBehemoth left | 22:49 |
| → shailangsa joined | 22:49 |
| → duxco joined | 22:53 |
| ← duxsco left | 22:55 |
| ← rgrinberg left | 22:57 |
| → rgrinberg joined | 22:58 |
| ← hans_ left | 22:59 |
| → zebrag joined | 22:59 |
| ← rgrinberg left | 23:11 |
| → hbautista_ joined | 23:12 |
| ← onizu left | 23:16 |
| ← Murr left | 23:19 |
| → Murr joined | 23:20 |
| → bertvvvs joined | 23:26 |
| ← mannequin left | 23:30 |
| → rgrinberg joined | 23:31 |
| ← Techcable left | 23:38 |
| → Techcable joined | 23:39 |
| → museee joined | 23:40 |
| → wakeup joined | 23:51 |
| → m_ joined | 23:56 |
| → m__ joined | 23:56 |