| 2022-04-03 |
| → Xenguy_ joined | 00:00 |
| ← Wulf left | 00:01 |
| → squirrel joined | 00:02 |
| → Wulf joined | 00:02 |
| ← Xenguy left | 00:03 |
| → tejr joined | 00:05 |
| Xenguy_ → Xenguy | 00:10 |
| → vysn joined | 00:10 |
| → capn joined | 00:11 |
| ← Murr left | 00:11 |
| → Murr joined | 00:11 |
| ← jclsn1007 left | 00:12 |
| → bertvvvs joined | 00:14 |
| → Xenguy_ joined | 00:15 |
| → jclsn1007 joined | 00:17 |
| → cdown_ joined | 00:17 |
| ← Xenguy left | 00:17 |
| ← cdown left | 00:18 |
| cdown_ → cdown | 00:18 |
|
\\
| so it already didn't have that line in the config, and the command didn't do anything , but deleting the spam in refs/remote/theremote worked | 00:18 |
| → cdown_ joined | 00:21 |
| → llh joined | 00:23 |
| ← jclsn1007 left | 00:23 |
| ← cdown left | 00:24 |
| cdown_ → cdown | 00:24 |
| parsnip → hominidae | 00:28 |
| → jclsn1007 joined | 00:28 |
| hominidae → hominoidea | 00:29 |
| ← TheCatBehemoth left | 00:30 |
| ← cronos left | 00:31 |
| → cronos joined | 00:32 |
| ← jclsn1007 left | 00:35 |
| → bambanxx joined | 00:37 |
| → donofrio joined | 00:38 |
| → jclsn1007 joined | 00:40 |
| ← Novi left | 00:42 |
| → sa0 joined | 00:44 |
| → Novi joined | 00:45 |
| ← jclsn1007 left | 00:47 |
| ← pflanze left | 00:50 |
| → cdown_ joined | 00:50 |
| → jclsn1007 joined | 00:52 |
| ← donofrio left | 00:53 |
| ← cdown left | 00:53 |
| cdown_ → cdown | 00:53 |
| ← cdown left | 00:56 |
| → cdown joined | 00:57 |
| ← cloaker left | 01:01 |
| ← jclsn1007 left | 01:06 |
| → ALowther joined | 01:10 |
|
ALowther
| I've made changes to ~6 files and haven't staged or committed any of them yet. I'd like to revert 2 of those files to their state from the previous commit, while leaving the current 4 as they are. What command could I use to make that happen? | 01:11 |
| → jclsn1007 joined | 01:11 |
| ← coaxing left | 01:13 |
| → roadie joined | 01:14 |
| ← cdown left | 01:17 |
| → rgrinberg joined | 01:17 |
| → cdown joined | 01:17 |
| ← bertvvvs left | 01:18 |
| ← The_Blode_ left | 01:19 |
| → cdown_ joined | 01:19 |
| ← cdown left | 01:22 |
| → cdown joined | 01:22 |
| ← jclsn1007 left | 01:23 |
| ← cdown_ left | 01:25 |
| → jclsn1007 joined | 01:28 |
| → thiago joined | 01:31 |
| ← zulutango left | 01:33 |
| ← rgrinberg left | 01:34 |
| ← adhawkins left | 01:34 |
| ← jclsn1007 left | 01:35 |
| → adhawkins joined | 01:36 |
| → zulutango joined | 01:39 |
| → jclsn1007 joined | 01:41 |
| → cdown_ joined | 01:42 |
|
nedbat
| ALowther: `git restore some_file_name` | 01:44 |
|
ALowther
| nedbat: Thank you. | 01:44 |
| ← cdown left | 01:45 |
| cdown_ → cdown | 01:45 |
| ← jclsn1007 left | 01:49 |
| → jclsn1007 joined | 01:55 |
| ← jclsn1007 left | 02:01 |
| ← karabaja4 left | 02:03 |
| Xenguy_ → Xenguy | 02:03 |
| ← gurkenglas left | 02:06 |
| → jclsn1007 joined | 02:07 |
| → agrosant joined | 02:10 |
| → TheCatBehemoth joined | 02:13 |
| ← jclsn1007 left | 02:13 |
| ← nyah left | 02:15 |
| ← TheCatBehemoth left | 02:17 |
| → jclsn1007 joined | 02:18 |
| ← cdown left | 02:20 |
| → cdown joined | 02:22 |
| → cdown_ joined | 02:24 |
| ← cdown left | 02:27 |
| cdown_ → cdown | 02:27 |
| ← jclsn1007 left | 02:28 |
| → jclsn1007 joined | 02:34 |
| ← pulse left | 02:34 |
| ← jclsn1007 left | 02:39 |
| ← ALowther left | 02:43 |
| → jclsn1007 joined | 02:45 |
| ← cdown left | 02:48 |
| → cdown joined | 02:49 |
| ← jclsn1007 left | 02:50 |
| → jclsn1007 joined | 02:50 |
| → cdown_ joined | 02:51 |
| ← cdown left | 02:51 |
| ← cdown_ left | 02:52 |
| → cdown joined | 02:53 |
| ← cdown left | 02:54 |
| → cdown joined | 02:56 |
| ← roadie left | 02:58 |
| ← hololeap left | 03:00 |
| → cdown_ joined | 03:00 |
| → hololeap joined | 03:01 |
| ← cdown left | 03:02 |
| cdown_ → cdown | 03:02 |
| → rgrinberg joined | 03:05 |
| ← jclsn1007 left | 03:08 |
| ← cdown left | 03:10 |
| ← chenqisu1 left | 03:10 |
| → cdown joined | 03:11 |
| → jclsn1007 joined | 03:13 |
| ← cdown left | 03:16 |
| → cdown joined | 03:18 |
| ← very_sneaky left | 03:20 |
| → very_sneaky joined | 03:22 |
| → tabakhase joined | 03:25 |
| ← Yruama left | 03:26 |
| → YuGiOhJCJ joined | 03:26 |
| ← gast0n left | 03:26 |
| → geowiesnot joined | 03:28 |
| ← krushia left | 03:28 |
| → euouae joined | 03:30 |
|
euouae
| Hello can I contribute a PR in github with a shallow copy of the repo? | 03:30 |
|
| i.e. clone a shallow copy, add a commit and push a PR? | 03:31 |
| ← rgrinberg left | 03:32 |
|
euouae
| guess I'll give it a go and see | 03:33 |
| ← thiago left | 03:36 |
| → jwillikers joined | 03:37 |
| → donofrio joined | 03:40 |
| ← tyson2 left | 03:40 |
| → skapate joined | 03:46 |
| ← skapate left | 03:46 |
| → skapate joined | 03:46 |
| ← donofrio left | 03:46 |
| ← skapata left | 03:46 |
|
euouae
| Oh yeah apparently it's fine :) | 03:47 |
| → tmz joined | 03:50 |
| ← ChmEarl left | 04:05 |
| ← jwillikers left | 04:06 |
| ← geowiesnot left | 04:06 |
| ← anaveragehuman left | 04:20 |
| → skapata joined | 04:24 |
| ← skapata left | 04:24 |
| → skapata joined | 04:24 |
| → bertvvvs joined | 04:24 |
| ← skapate left | 04:25 |
| → anaveragehuman joined | 04:26 |
| → rgrinberg joined | 04:31 |
|
sphex
| Hey. Say you have a large-ish set of modifications to a code base, and you need to extract changes out of it and break it down into smaller patches. And the process might be a bit chaotic and take some trial and error to get the separate patches to work right. What's the best way to go about that with git? I'm not too sure where to start... | 04:35 |
| ← bambanxx left | 04:43 |
|
hominoidea
| sphex: the way i tend to do that, is create a new branch at the starting point, then checkout the worktree of the large modification branch, and consider what changes there might work as a smaller set of changes. | 04:44 |
|
| but sometimes, i decide it's not worth it, and do only the most obvious splitting out of smaller changes, then just allow some bigger commits... with my own projects | 04:45 |
|
| a change might involve splitting out a function and making some changes to the result. i can potentially make that as two commits, one as a minimal factoring out of the function, a second commit for the non-obvious changes i've made | 04:46 |
|
sphex
| hominoidea: ok. yeah it's not my project. I got to break it down. and then I might get feedback on the separate patches and need to make some changes. and resubmit a changed patch and re-integrate that in my main branch as well... | 04:49 |
| ← euouae left | 04:53 |
| ← wonko-th1-sane left | 04:57 |
|
sphex
| this is going to be hell no matter what is it? I feel like git could help with that if I understood it better but I don't see how. | 04:59 |
| hominoidea → parsnip | 05:01 |
| ← parsnip left | 05:02 |
| → parsnip joined | 05:02 |
| parsnip → parsnip0 | 05:04 |
| parsnip0 → parsnip | 05:04 |
| ← zmt00 left | 05:07 |
| → zmt00 joined | 05:12 |
| ← duxsco left | 05:13 |
| → wonko-the-sane joined | 05:14 |
| → chenqisu1 joined | 05:15 |
| → madewokherd` joined | 05:19 |
| ← madewokherd left | 05:22 |
| ← YoungFrog left | 05:24 |
| ← bloody left | 05:24 |
| → YoungFrog joined | 05:24 |
| → bambanxx joined | 05:30 |
| ← bertvvvs left | 05:37 |
| ← pretty_dumm_guy left | 05:41 |
| → pretty_dumm_guy joined | 05:42 |
| → wolfdale83 joined | 05:48 |
| ← wolfdale8 left | 05:50 |
| wolfdale83 → wolfdale8 | 05:50 |
| → nuttingd joined | 05:54 |
| → howdoi joined | 06:02 |
| ← rgrinberg left | 06:08 |
| → bkircher joined | 06:10 |
| ← bambanxx left | 06:11 |
| ← reset left | 06:12 |
| ← great_taste left | 06:18 |
| → otisolsen70 joined | 06:19 |
| → han-solo joined | 06:19 |
| → hbautista joined | 06:27 |
| ← hbautista left | 06:28 |
| ← xkuru left | 06:31 |
| ← nuttingd left | 06:32 |
| ← squirrel left | 06:32 |
| → hbautista joined | 06:32 |
| ← Misotauros left | 06:34 |
| → lehinsun joined | 06:41 |
| ← lehinsun left | 06:43 |
| → lehinsun joined | 06:44 |
| → TheCatBehemoth joined | 06:46 |
| → igemnace joined | 06:48 |
| → zachel joined | 06:48 |
| ← TheCatBehemoth left | 06:50 |
| → hbautista_ joined | 06:51 |
| → euouae joined | 06:53 |
| ← hbautista left | 06:54 |
| ← bkircher left | 06:55 |
| ← Gustavo6046 left | 06:55 |
| → hbautista__ joined | 07:02 |
| → Gustavo6046 joined | 07:02 |
| ← wonko-the-sane left | 07:04 |
| → The_Blode joined | 07:04 |
| → wonko-the-sane joined | 07:04 |
| ← Gustavo6046 left | 07:04 |
| ← hbautista_ left | 07:05 |
| → Gustavo6046 joined | 07:05 |
| ← hbautista__ left | 07:07 |
| ← vicecea left | 07:09 |
| → vicecea joined | 07:11 |
| → dionysus69 joined | 07:12 |
| → feriman joined | 07:26 |
| → EvilDMP joined | 07:31 |
| → geowiesnot joined | 07:36 |
| → donofrio joined | 07:40 |
| ← Wulf left | 07:40 |
|
j416
| sphex: you can create commits, try stuff, redo if needed | 07:41 |
|
| sphex: man git-add look for --patch (-p) | 07:42 |
|
gitinfo
| sphex: the git-add manpage is available at https://gitirc.eu/git-add.html | 07:42 |
|
j416
| sphex: also read up on work tree vs. staging area (index) vs. committed changes; this might be a good read -> https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository | 07:43 |
| ← wonko-the-sane left | 07:44 |
| ← donofrio left | 07:48 |
| → kix joined | 07:54 |
| ← x88x88x left | 07:55 |
| ← fling left | 07:55 |
| ← chenqisu1 left | 07:57 |
| → fling joined | 07:57 |
| ← kix left | 07:58 |
| → kix joined | 07:58 |
| ← lehinsun left | 08:01 |
| → wonko-the-sane joined | 08:03 |
| ← howdoi left | 08:14 |
| ← Gustavo6046 left | 08:14 |
| → rsx joined | 08:16 |
| → MajorBiscuit joined | 08:23 |
| → menace joined | 08:26 |
| ← Sulky_ left | 08:26 |
| ← menace left | 08:27 |
| → menace joined | 08:27 |
| menace → Deknos | 08:27 |
| → Tangent-Man joined | 08:29 |
| ← Tangent-Man left | 08:31 |
| → Tangent-Man joined | 08:31 |
| → gurkenglas joined | 08:38 |
| → bkircher joined | 08:45 |
| → kenanmarasli joined | 08:50 |
| ← dionysus69 left | 08:51 |
| ← The_Blode left | 08:55 |
| ← fling left | 08:59 |
| → x88x88x joined | 09:00 |
| → fling joined | 09:02 |
| ← kyshoc left | 09:02 |
| → kyshoc joined | 09:03 |
| ← kyshoc left | 09:03 |
| → kyshoc joined | 09:03 |
| ← MajorBiscuit left | 09:06 |
| → TheCatBehemoth joined | 09:07 |
| ← TheCatBehemoth left | 09:11 |
| ← sudoforge left | 09:13 |
| → wootehfoot joined | 09:14 |
| → coot joined | 09:31 |
| → The_Blode joined | 09:34 |
| → vimal joined | 09:34 |
| → ss4 joined | 09:37 |
| → zeenk joined | 09:38 |
| ← The_Blode left | 09:38 |
| ← euouae left | 09:40 |
| ← wootehfoot left | 09:41 |
| → The_Blode joined | 09:41 |
| → wootehfoot joined | 09:52 |
| ← ss4 left | 09:53 |
| ← kix left | 09:54 |
| → The_Blode_ joined | 09:54 |
| ← The_Blode left | 09:55 |
| → TheCatBehemoth joined | 09:55 |
| ← Willtech left | 09:56 |
| → kix joined | 09:56 |
| → Willtech joined | 09:56 |
| → vitali64 joined | 09:58 |
| ← fling left | 10:04 |
| → carl- joined | 10:04 |
| → fling joined | 10:06 |
| ← GoGi left | 10:07 |
| ← bindu left | 10:08 |
| → bindu joined | 10:08 |
| → GoGi joined | 10:09 |
| ← GoGi left | 10:09 |
| → GoGi joined | 10:09 |
| → MajorBiscuit joined | 10:24 |
| → sobkas joined | 10:25 |
| ← kix left | 10:33 |
| ← skapata left | 10:35 |
| → coaxing joined | 10:35 |
| ← geowiesnot left | 10:37 |
| ← MajorBiscuit left | 10:38 |
| ← vishal left | 10:41 |
| → vishal joined | 10:42 |
| ← toulene left | 10:43 |
| → sudoforge joined | 10:45 |
| ← kenanmarasli left | 10:45 |
| → Sulky_ joined | 10:46 |
| → toulene joined | 11:03 |
| ← toulene left | 11:03 |
| → The_Blode joined | 11:06 |
| → toulene joined | 11:06 |
| ← vitali64 left | 11:07 |
| ← The_Blode_ left | 11:07 |
| ← fling left | 11:07 |
| ← chexum left | 11:08 |
| → fling joined | 11:08 |
| → chexum joined | 11:09 |
| → vitali64 joined | 11:09 |
| → geowiesnot joined | 11:10 |
| ← jazzy left | 11:16 |
| → gustik joined | 11:18 |
| ← zeenk left | 11:21 |
| → tyson2 joined | 11:24 |
| → m0viefreak2 joined | 11:27 |
| ← m0viefreak left | 11:27 |
| m0viefreak2 → m0viefreak | 11:27 |
| ← bkircher left | 11:28 |
| → DNH joined | 11:44 |
| → bkircher joined | 11:44 |
| → mannequin joined | 11:50 |
| → Guest6951 joined | 12:01 |
| ← EvilDMP left | 12:03 |
| → wakeup joined | 12:05 |
| ← bkircher left | 12:07 |
| → oriba joined | 12:10 |
| ← GoGi left | 12:11 |
| ← fling left | 12:12 |
| → GoGi joined | 12:14 |
| ← GoGi left | 12:14 |
| → GoGi joined | 12:14 |
| → fling joined | 12:14 |
| → cweiss0765321 joined | 12:14 |
| ← vitali64 left | 12:17 |
| → thiago joined | 12:18 |
| → ss4 joined | 12:18 |
| → metabulation joined | 12:20 |
| ← wootehfoot left | 12:20 |
| → vitali64 joined | 12:22 |
| → seifeslimene joined | 12:23 |
| → lpapp joined | 12:23 |
| ← ss4 left | 12:24 |
|
lpapp
| hi, is there a nicer way than this "grep Laszlo" at the end? for branch in `git branch -r --no-merged | grep -v HEAD`; do echo -e `git show --format="%ci %cr %an" $branch | head -n 1` \\t$branch; done | sort -r | 12:24 |
|
| https://railsware.com/blog/git-housekeeping-tutorial-clean-up-outdated-branches-in-local-and-remote-repositories/ -> want to find all branches on the remote where I am the last author basically. | 12:24 |
|
| So that I can do my fair share of cleaning up stale remote branches. | 12:24 |
|
ikke
| lpapp: look at man git for-each-ref | 12:25 |
|
gitinfo
| lpapp: the git-for-each-ref manpage is available at https://gitirc.eu/git-for-each-ref.html | 12:25 |
|
ikke
| Not sure how you can avoid grepping for author, though | 12:27 |
|
lpapp
| I was hoping some kind of --author option | 12:28 |
|
ikke
| The closest I could get to is this: | 12:34 |
|
| git for-each-ref refs/remotes/origin --format='%(if:equals=<name>)%(authorname)%(then)%(refname:short)%(else)%(end)' | 12:34 |
|
| The only drawback is that it would return an empty line for every branch that does not match | 12:34 |
| → cdown_ joined | 12:35 |
|
lpapp
| if I --delete the branches remotely and come down to 0 lines left on me, can I be sure that no remote branches are staling on me? | 12:36 |
| → avalon joined | 12:36 |
|
lpapp
| that command does not work for me somehow | 12:36 |
| ← cdown left | 12:38 |
| cdown_ → cdown | 12:38 |
| → Yruama joined | 12:42 |
| ← rsx left | 12:48 |
| → masber joined | 12:49 |
| ← sudoforge left | 12:49 |
| → donofrio joined | 12:55 |
| ← gustik left | 12:55 |
| → cdown_ joined | 12:56 |
| ← YuGiOhJCJ left | 12:58 |
| ← cdown left | 12:59 |
| cdown_ → cdown | 12:59 |
| → rsx joined | 13:02 |
| → m0viefreak2 joined | 13:02 |
| ← m0viefreak left | 13:02 |
| m0viefreak2 → m0viefreak | 13:02 |
| ← wakeup left | 13:03 |
| → DibbTubberOne joined | 13:08 |
| ← seifeslimene left | 13:13 |
| → seifeslimene joined | 13:15 |
| ← seifeslimene left | 13:16 |
| ← fling left | 13:16 |
| → fling joined | 13:16 |
| ← Guest6951 left | 13:20 |
| → n8chan joined | 13:21 |
| ← neightchan left | 13:23 |
| → cdown_ joined | 13:28 |
| ← m0viefreak left | 13:29 |
| ← cdown left | 13:30 |
| cdown_ → cdown | 13:30 |
| ← thebombzen left | 13:31 |
| → Misotauros joined | 13:32 |
| → junktext joined | 13:35 |
| → seifeslimene joined | 13:35 |
| ← DibbTubberOne left | 13:36 |
| → MajorBiscuit joined | 13:37 |
| → nate1 joined | 13:40 |
| → rgrinberg joined | 13:43 |
| ← nate1 left | 13:45 |
| → duxsco joined | 13:46 |
| → gast0n joined | 13:53 |
| ← zer0bitz left | 14:00 |
| → zer0bitz joined | 14:03 |
| ← cronos left | 14:05 |
| vitali64 → BaluBot | 14:07 |
| BaluBot → vitali64 | 14:07 |
| vitali64 → BaluBot | 14:07 |
| BaluBot → vitali64 | 14:07 |
| → cronos joined | 14:09 |
| → roadie joined | 14:12 |
| → EvilDMP joined | 14:16 |
| ← donofrio left | 14:21 |
| → iomari891 joined | 14:21 |
| → donofrio joined | 14:21 |
| ← Sazhen86 left | 14:29 |
| ← anaveragehuman left | 14:33 |
| ← DNH left | 14:43 |
| → srinidhi joined | 14:45 |
| → xkuru joined | 14:50 |
| → thebombzen joined | 14:51 |
| → sudoforge joined | 14:54 |
| → cloaker joined | 14:57 |
| ← donofrio left | 15:08 |
| → kix joined | 15:09 |
| → bkircher joined | 15:12 |
| → Guest2493 joined | 15:14 |
| → nyah joined | 15:16 |
| ← FinnElija left | 15:17 |
| ← vimal left | 15:18 |
| → FinnElija joined | 15:18 |
| → madewokherd joined | 15:19 |
| ← madewokherd` left | 15:22 |
| ← vdamewood left | 15:24 |
| → vdamewood joined | 15:25 |
| → reset joined | 15:27 |
| ← Jong left | 15:27 |
| ← carl- left | 15:33 |
| → donofrio joined | 15:37 |
| → carl- joined | 15:43 |
| → palasso joined | 15:44 |
| ← rgrinberg left | 15:46 |
| → Gustavo6046 joined | 15:47 |
| ← Gustavo6046 left | 15:48 |
| → Gustavo6046 joined | 15:48 |
| ← metabulation left | 15:50 |
| ← donofrio left | 15:56 |
| ← bkircher left | 16:01 |
| → bkircher joined | 16:02 |
| ← geowiesnot left | 16:04 |
| → Jacques joined | 16:05 |
| ← Murr left | 16:10 |
| → Murr joined | 16:10 |
| ← MajorBiscuit left | 16:19 |
| → wakeup joined | 16:19 |
| → MajorBiscuit joined | 16:23 |
| → spacenautx joined | 16:23 |
| → m_ joined | 16:24 |
| → snedd joined | 16:25 |
| ← m__ left | 16:27 |
| → The_Blode_ joined | 16:28 |
| ← The_Blode left | 16:29 |
| → geowiesnot joined | 16:34 |
| → DNH joined | 16:37 |
| ← bkircher left | 16:41 |
| ← roadie left | 16:43 |
| → bkircher joined | 16:43 |
| ← EvilDMP left | 16:43 |
| ← vysn left | 16:47 |
| → bloody joined | 16:51 |
| → roadie joined | 16:52 |
| ← bkircher left | 16:56 |
| → auk joined | 16:56 |
| → bkircher joined | 16:56 |
| ← bkircher left | 16:57 |
| ← Sulky_ left | 16:57 |
| → bkircher joined | 16:58 |
| → zebrag joined | 17:01 |
| ← coot left | 17:12 |
| → coot joined | 17:13 |
| → great_taste joined | 17:16 |
| ← TheCatBehemoth left | 17:26 |
| → TheCatBehemoth joined | 17:26 |
| ← Jacques left | 17:28 |
| → ChmEarl joined | 17:30 |
| → nuttingd joined | 17:33 |
| → zeenk joined | 17:34 |
| ← machinehum left | 17:35 |
| → john_johnk joined | 17:35 |
| → machinehum joined | 17:36 |
| ← geowiesnot left | 17:37 |
| ← fflam left | 17:40 |
| → fflam joined | 17:42 |
| ← Deknos left | 17:45 |
| ← MajorBiscuit left | 17:46 |
| → Sulky joined | 17:49 |
| ← rsx left | 17:50 |
| ← vitali64 left | 17:50 |
| → vitali64 joined | 17:52 |
| ← wakeup left | 17:55 |
| ← spacenautx left | 17:59 |
| → bambanxx joined | 17:59 |
| → spacenautx joined | 17:59 |
| ← vicfred left | 18:00 |
| → hkm joined | 18:02 |
| ← han-solo left | 18:02 |
| → cerill joined | 18:04 |
| ← john_johnk left | 18:07 |
| ← junktext left | 18:07 |
| → junktext joined | 18:10 |
| ← Murr left | 18:10 |
| → entbsagtc^ joined | 18:10 |
| → Murr joined | 18:10 |
| ← bambanxx left | 18:20 |
| ← snedd left | 18:21 |
| ← machinehum left | 18:28 |
| ← moldorcoder7 left | 18:28 |
| → moldorcoder7 joined | 18:32 |
| ← palasso left | 18:37 |
| ← Xenguy left | 18:38 |
| → palasso joined | 18:38 |
| → john_johnk joined | 18:38 |
| ← hkm left | 18:39 |
|
gumnos
| is there an easy way to inform git of a rename that has happened outside of git? If I `mv a.txt b.txt` and then inform git with `git mv {a,b}.txt` it complains that the target already exists. | 18:41 |
| ← foul_owl left | 18:42 |
|
gumnos
| I can manually `git rm a.txt; git add b.txt` and it will do what I intend, but is there a single command to do the same? | 18:42 |
|
ikke
| gumnos: you don't need to tell git about renames | 18:42 |
|
| it does not store anywhere that files have been renamed | 18:42 |
|
gumnos
| right, but if I've renamed the file in the shell (or my $EDITOR), I need to do the two-step remove-the-old-add-the-new for it to be recognized. | 18:43 |
|
| looking for something like (an imaginary) `git mv --already-did-it-in-the-shell {a,b}.txt` | 18:44 |
| → duxco joined | 18:44 |
|
ikke
| Don't think there is | 18:45 |
|
| except for making an alias that uses rm --cached + add | 18:45 |
| ← duxsco left | 18:46 |
| duxco → duxsco | 18:46 |
| → foul_owl joined | 18:46 |
|
gumnos
| okay, that's the path I was going to chase down next (my alias-authoring is weak), but I wanted to make sure there wasn't something obvious I'd missed. Thanks! | 18:47 |
| ← cliluw left | 18:47 |
| → cliluw joined | 18:47 |
| ← ano left | 18:49 |
| ← auk left | 18:53 |
| ← LuKaRo_ left | 18:54 |
| → ano joined | 18:59 |
| → The_Blode joined | 18:59 |
| → Rashad joined | 19:01 |
| ← Rashad left | 19:01 |
| ← The_Blode_ left | 19:02 |
| ← hololeap left | 19:02 |
| → LuKaRo_ joined | 19:02 |
| → hololeap joined | 19:03 |
| → EvilDMP joined | 19:11 |
| ← vitali64 left | 19:13 |
| ← iomari891 left | 19:17 |
| ← LuKaRo_ left | 19:18 |
| → vimal joined | 19:19 |
| → LuKaRo joined | 19:24 |
| ← kix left | 19:25 |
| ← keypusher left | 19:27 |
| → keypusher joined | 19:27 |
| → skapata joined | 19:35 |
| ← skapata left | 19:35 |
| → skapata joined | 19:35 |
| → pflanze joined | 19:36 |
| → dionysus69 joined | 19:36 |
| ← entbsagtc^ left | 19:41 |
| → bertvvvs joined | 19:45 |
| → wonko-th1-sane joined | 19:46 |
| ← wonko-the-sane left | 19:47 |
| ← vimal left | 19:48 |
| → Sazhen86 joined | 19:49 |
| → zer0bitz_ joined | 19:50 |
| → dodo joined | 19:51 |
| ← zer0bitz left | 19:51 |
| ← Sulky left | 19:53 |
| → Sulky joined | 19:53 |
| → bambanxx joined | 19:54 |
| → vicfred joined | 19:58 |
| ← hololeap left | 20:00 |
| → lgc joined | 20:03 |
| → hololeap joined | 20:09 |
| ← Murr left | 20:10 |
| ← palasso left | 20:10 |
| → Murr joined | 20:10 |
| ← lgc left | 20:11 |
| ← junktext left | 20:13 |
| ← ChmEarl left | 20:14 |
| ← zer0bitz_ left | 20:15 |
| → rgrinberg joined | 20:16 |
| → Lord_of_Life_ joined | 20:16 |
| ← Lord_of_Life left | 20:17 |
| Lord_of_Life_ → Lord_of_Life | 20:19 |
| ← keypusher left | 20:19 |
| → funhouse joined | 20:19 |
| → keypusher joined | 20:20 |
|
nedbat
| is there a disciplined way to know for a git repo what the GitHub name/repo is, if there is one? | 20:25 |
|
ikke
| git remote -v | 20:25 |
| ← carl- left | 20:25 |
|
nedbat
| ikke: i didn't know if there was a plumbing version of it at least? | 20:26 |
| ← tyson2 left | 20:26 |
| ← bambanxx left | 20:27 |
|
ikke
| nedbat: git config --get-regex 'remote.*url' | 20:27 |
|
nedbat
| ikke: interesting. Why is there a leading space in the output? | 20:28 |
|
ikke
| not for me | 20:28 |
|
nedbat
| ikke: hmm, not for me either if i pipe it through cat.... | 20:29 |
| → Xenguy joined | 20:32 |
| ← feriman left | 20:34 |
| ← LuKaRo left | 20:42 |
| ← bertvvvs left | 20:43 |
| → ChmEarl joined | 20:48 |
| → bambanxx joined | 20:51 |
| → wakeup joined | 20:51 |
| → cx joined | 20:52 |
| ← john_johnk left | 20:52 |
| → AbleBacon joined | 20:52 |
| ← cx left | 20:56 |
| → tyson2 joined | 21:06 |
| ← cebor left | 21:07 |
| → cebor joined | 21:07 |
| ← bambanxx left | 21:08 |
| ← dionysus69 left | 21:09 |
| ← DNH left | 21:09 |
| → jazzy joined | 21:11 |
| ← roadie left | 21:15 |
| ← sobkas left | 21:20 |
| → sobkas joined | 21:21 |
| → LuKaRo joined | 21:23 |
| → ramblebamble joined | 21:23 |
| ← cebor left | 21:24 |
| → cebor joined | 21:24 |
| → auk joined | 21:27 |
| ← otisolsen70 left | 21:29 |
| ← ramblebamble left | 21:33 |
| → roadie joined | 21:41 |
| ← mannequin left | 21:44 |
| ← wakeup left | 21:55 |
| → DNH joined | 21:56 |
| ← thebombzen left | 21:56 |
| → wakeup joined | 21:59 |
| ← roadie left | 21:59 |
| ← vdamewood left | 22:04 |
| → wagle joined | 22:05 |
| ← jazzy left | 22:05 |
| ← elastic_dog left | 22:18 |
| ← sobkas left | 22:19 |
| → sobkas joined | 22:20 |
| → elastic_dog joined | 22:24 |
| ← DNH left | 22:27 |
| ← nyah left | 22:30 |
| → zen_coder joined | 22:36 |
| → roadie joined | 22:40 |
| ← sobkas left | 22:44 |
| ← coot left | 22:45 |
| ← roadie left | 22:45 |
|
jjakob
| I checked out a new branch, did git submodule update --init (new submodules) but now it says the sobmodule paths are modified content, the submodule paths are empty except for .git, and nothing I try will do the correct checkout | 22:48 |
| ← zeenk left | 22:53 |
| ← arand left | 22:55 |
| ← igemnace left | 22:56 |
| ← hanneso left | 22:57 |
| → bambanxx joined | 22:57 |
| ← masber left | 23:00 |
| → hoochmonger joined | 23:02 |
| ← pizdets left | 23:03 |
| → pizdets_ joined | 23:03 |
| ← TheCatBehemoth left | 23:05 |
| ← vicfred left | 23:08 |
| ← sa0 left | 23:09 |
|
jjakob
| fixed it with git reset --hard origin/master inside the submodule (the commit it was supposed to checkout) | 23:10 |
| → hanneso joined | 23:13 |
| → finn_elija joined | 23:15 |
| ← FinnElija left | 23:15 |
| finn_elija → FinnElija | 23:15 |
| → arand joined | 23:17 |
| ← Tangent-Man left | 23:23 |
| ← nuttingd left | 23:24 |
| → nuttingd joined | 23:26 |
| → chenqisu1 joined | 23:27 |
| ← chenqisu1 left | 23:27 |
| → chenqisu1 joined | 23:28 |
| ← chenqisu1 left | 23:28 |
| → chenqisu1 joined | 23:29 |
| → roadie joined | 23:29 |
|
duxsco
| a remote git repo's content is initially retrieved with "git clone --depth 1 https://github.com/gentoo-mirror/gentoo.git .". thereafter, the local repo is updated with "git fetch origin --depth 1". why does a "git reset --merge" lead to this error: https://dpaste.com/E5ZLUCG85 | 23:31 |
| ← nuttingd left | 23:33 |
| → nuttingd joined | 23:33 |
| ← Ram-Z left | 23:35 |
| ← roadie left | 23:37 |
| ← srinidhi left | 23:37 |
| ← jstein left | 23:40 |
| → Ram-Z joined | 23:41 |
| → sa0 joined | 23:47 |
| ← sa0 left | 23:52 |
| ← gurkenglas left | 23:59 |