| 2022-07-28 |
| ← elkalamar left | 00:01 |
| → segfaultfizzbuzz joined | 00:07 |
| → lucasta joined | 00:08 |
| → vysn joined | 00:14 |
| → tejr joined | 00:20 |
| → kevr_ joined | 00:20 |
| ← kevr left | 00:21 |
| ← vysn left | 00:21 |
| ← segfaultfizzbuzz left | 00:21 |
| → vysn joined | 00:21 |
| ← elastic_dog left | 00:22 |
|
ccx
| osse: Yeah, the issue of centralized hosting is something FOSS has been struggling with for a while. If you dig through ESR's old writing there will be lot about making open-source forge software and a migration tools to get people off SF and other proprietary services. | 00:27 |
| ← bambanxx left | 00:28 |
| → elastic_dog joined | 00:29 |
|
ccx
| Is there a command to get content of just one file at a particular commit? (In bazaar/breezy this is `bzr cat -r revisionspec filename`) | 00:31 |
| → Xenguy joined | 00:32 |
| ← rama left | 00:33 |
| ← Sasazuka left | 00:36 |
| ← konrados left | 00:37 |
| ← rgrinberg left | 00:39 |
| ← pflanze left | 00:41 |
|
mackerman
| ccx: git cat-file blob <tree-ish>:<path> | 00:44 |
| → dodobrain joined | 00:44 |
| → DreamweaverN joined | 00:45 |
|
ccx
| mackerman: thanks! | 00:46 |
|
mackerman
| You are welcome. | 00:46 |
| ← xx left | 00:46 |
| → lemonsni- joined | 00:48 |
| ← lemonsnicks left | 00:48 |
| ← thebombzen left | 00:50 |
| ← ghost43 left | 00:51 |
| ← FinnElija left | 00:51 |
| ← gildasio left | 00:51 |
| → Shentino joined | 00:51 |
| → ghost43 joined | 00:51 |
| → FinnElija joined | 00:51 |
| → gildasio joined | 00:52 |
| ← Shentino left | 00:58 |
| ← KaitoDaumoto left | 01:04 |
| → Shentino joined | 01:04 |
| → vitali64 joined | 01:06 |
| → gildasio1 joined | 01:10 |
| ← gildasio left | 01:10 |
| → Misotauros joined | 01:12 |
| ← vitali64 left | 01:12 |
| ← thiago left | 01:13 |
| ← Grace left | 01:15 |
| → rgrinberg joined | 01:18 |
| → haritz joined | 01:21 |
| ← haritz left | 01:21 |
| → haritz joined | 01:21 |
| ← DaNeenjah left | 01:23 |
| ← umbramalison left | 01:24 |
| → umbramalison joined | 01:25 |
| ← lolok left | 01:31 |
| ← cdown left | 01:35 |
| ← tsraoien left | 01:41 |
| ← FinnElija left | 01:42 |
| → FinnElija joined | 01:42 |
| ← gildasio1 left | 01:58 |
| → segfaultfizzbuzz joined | 01:58 |
| ← segfaultfizzbuzz left | 02:02 |
| ← fling left | 02:03 |
| ← adanwan left | 02:03 |
| ← YuGiOhJCJ left | 02:03 |
| ← FinnElija left | 02:03 |
| ← kevr_ left | 02:03 |
| → FinnElija joined | 02:03 |
| → YuGiOhJCJ joined | 02:03 |
| → adanwan joined | 02:03 |
| → fling joined | 02:03 |
| ← Yruama left | 02:04 |
| → kevr joined | 02:04 |
| ← YuGiOhJCJ left | 02:07 |
| → YuGiOhJCJ joined | 02:08 |
| → thebombzen joined | 02:10 |
| ← rgrinberg left | 02:13 |
| ← pretty_dumm_guy left | 02:14 |
| → tsraoien joined | 02:15 |
| ← erarnitox left | 02:17 |
| ← dodobrain left | 02:17 |
| → dodobrain joined | 02:18 |
| ← ferdna left | 02:20 |
| ← adanwan left | 02:23 |
| → adanwan joined | 02:23 |
| → thiago joined | 02:23 |
| ← eqw left | 02:24 |
| → eqw joined | 02:25 |
| ← kevr left | 02:36 |
| ← YuGiOhJCJ left | 02:36 |
| → YuGiOhJCJ joined | 02:36 |
| → kevr joined | 02:37 |
| → rgrinberg joined | 02:39 |
| ← rgrinberg left | 02:40 |
| ← tsraoien left | 02:42 |
| → rgrinberg joined | 02:42 |
| → musashi joined | 02:49 |
|
musashi
| Hello! Is there a way to `git log --pretty=oneline > FIX.TXT`, edit the commit messages in FIX.TXT and then feed it back into the repo somehow? | 02:50 |
|
| Trying to batch edit commit messages | 02:50 |
| ← kevr left | 02:56 |
| → kevr joined | 02:56 |
|
npcomp
| musashi, I think you want `git rebase -i <commit before all the ones you want to reword>` | 02:56 |
|
| You will have to do it one at a time that way. | 02:57 |
|
rewt
| musashi, have a look at git-filter-repo's --replace-message or --message-callback | 02:59 |
| ← YuGiOhJCJ left | 03:01 |
| → YuGiOhJCJ joined | 03:01 |
| ← YuGiOhJCJ left | 03:05 |
|
npcomp
| Hmmm, just hunting around for this, also found git-revise , which I had never heard of before. | 03:05 |
| → YuGiOhJCJ joined | 03:05 |
| ← gast0n left | 03:07 |
|
musashi
| Cool | 03:07 |
|
| There's no real way to batch edit based on a changed FIX.TXT though? Would make things a whole lot easier | 03:09 |
| ← lucasta left | 03:10 |
| ← tyson2 left | 03:10 |
| → rickybob joined | 03:13 |
|
musashi
| Is there a way to add it as a feature request to Git maybe? I'll reword manually for now though, cheers! | 03:15 |
|
| Or maybe we could try to write a Zsh/Bash script to do it for us? | 03:19 |
| ← hexnewbie left | 03:21 |
| → hexnewbie joined | 03:23 |
| ← vysn left | 03:28 |
| → vysn joined | 03:30 |
| ← atrigent left | 03:30 |
| ← bloody left | 03:36 |
| ← farzat left | 03:36 |
| → farzat joined | 03:38 |
| ← tejr left | 03:43 |
| ← vysn left | 03:50 |
| → saroy joined | 03:55 |
| → sandipan joined | 03:57 |
| ← saroy left | 04:02 |
| ← sandipan left | 04:02 |
| ← FinnElija left | 04:03 |
| ← zebrag left | 04:04 |
| → lucasta joined | 04:04 |
| ← kevr left | 04:06 |
| → ghost43_ joined | 04:06 |
| → fling_ joined | 04:07 |
| → kevr joined | 04:07 |
| ← pulse left | 04:08 |
| → Sasazuka joined | 04:09 |
| ← fling left | 04:09 |
| ← ghost43 left | 04:09 |
| → vqueiroz joined | 04:10 |
| ← rgrinberg left | 04:11 |
| → FinnElija joined | 04:12 |
| ← Sasazuka left | 04:13 |
| fling_ → fling | 04:14 |
| ← randm left | 04:15 |
| → randm joined | 04:15 |
| ← lucasta left | 04:15 |
| ← sudoforge left | 04:15 |
| ← dodobrain left | 04:17 |
| → lucasta joined | 04:18 |
| ← Xenguy left | 04:18 |
| → dodobrain joined | 04:18 |
| → Xenguy joined | 04:18 |
| → The_Blode joined | 04:21 |
| → mat001 joined | 04:21 |
| → vicky_ joined | 04:22 |
| ← vicky_ left | 04:22 |
| ← randm left | 04:23 |
| → randm joined | 04:23 |
| → maryo joined | 04:24 |
| ← mat001_ left | 04:24 |
| ← chao left | 04:25 |
| → rama joined | 04:33 |
| → vdamewood joined | 04:34 |
| ← randm left | 04:35 |
| → randm joined | 04:35 |
| ← rama left | 04:37 |
| → matt0x6f joined | 04:37 |
| ← jazzy left | 04:41 |
| → Sasazuka joined | 04:42 |
| ← Sasazuka left | 04:46 |
| → forgotmynick joined | 04:49 |
| → Techcable joined | 04:59 |
| → srinidhi joined | 05:00 |
| ← Techcable left | 05:01 |
| → Techcable joined | 05:01 |
| → matt0x6f_ joined | 05:04 |
| ← matt0x6f left | 05:07 |
| matt0x6f_ → matt0x6f | 05:07 |
| ← moldorcoder7 left | 05:07 |
| ← FinnElija left | 05:08 |
| ← thiago left | 05:08 |
| ← vdamewood left | 05:10 |
| → FinnElija joined | 05:11 |
| → madewokherd` joined | 05:17 |
| ← madewokherd left | 05:20 |
| → saroy joined | 05:20 |
| ← FinnElija left | 05:21 |
| → FinnElija joined | 05:23 |
| ← Sazhen86 left | 05:31 |
| ← maryo left | 05:36 |
| → vdamewood joined | 05:40 |
| ← Murr left | 05:50 |
| → Murr joined | 05:51 |
| → Sazhen86 joined | 05:55 |
| → RiFo joined | 05:55 |
| → xx joined | 06:00 |
| → EvilDMP joined | 06:02 |
| ← loulou_ left | 06:06 |
| → rsx joined | 06:10 |
| ← hbautista left | 06:11 |
| → coot joined | 06:14 |
| ← dodobrain left | 06:17 |
| → dodobrain joined | 06:18 |
| → zeenk joined | 06:18 |
| → loulou_ joined | 06:19 |
| ← loulou_ left | 06:19 |
| → loulou_ joined | 06:19 |
| ← saroy left | 06:21 |
| → saroy joined | 06:22 |
| → rickayy joined | 06:23 |
| → bkircher joined | 06:25 |
| ← rickybob left | 06:27 |
| ← rickayy left | 06:28 |
| → gunner joined | 06:33 |
| ← gunner left | 06:34 |
| → gunner joined | 06:43 |
| ← skapata left | 06:45 |
| ← lucasta left | 06:50 |
| → jinsun__ joined | 06:53 |
| jinsun → Guest7583 | 06:53 |
| jinsun__ → jinsun | 06:53 |
| → atrigent joined | 06:54 |
| ← Guest7583 left | 06:55 |
| → Murr- joined | 06:57 |
| ← Murr left | 07:00 |
| Murr- → Murr | 07:00 |
| ← k_sze left | 07:04 |
| → k_sze joined | 07:05 |
| ← unluckyshrubbery left | 07:05 |
| ← k_sze left | 07:07 |
| → k_sze joined | 07:10 |
| ← Leonarbro left | 07:11 |
| → Qbit_ joined | 07:14 |
| → csm3105 joined | 07:21 |
| ← gunner left | 07:22 |
| → rfuentess joined | 07:24 |
| ← YuGiOhJCJ left | 07:25 |
| → YuGiOhJCJ joined | 07:26 |
| → lucasta joined | 07:28 |
| ← riposte left | 07:34 |
| → finalriposte joined | 07:34 |
| → MajorBiscuit joined | 07:40 |
| ← xx left | 07:42 |
| → iomari891 joined | 07:43 |
| → gunner joined | 07:46 |
| ← Qbit_ left | 07:46 |
| → mbalmer joined | 07:48 |
| → Sasazuka joined | 07:52 |
| → gryffus joined | 07:53 |
| ← Sasazuka left | 07:57 |
| ← gryffus left | 07:57 |
| → feriman joined | 07:58 |
| → chao joined | 08:08 |
| ← rsx left | 08:14 |
| ← dodobrain left | 08:17 |
| → dodobrain joined | 08:17 |
| → gryffus joined | 08:18 |
| → Anticom joined | 08:22 |
| ← csm3105 left | 08:26 |
| → Sasazuka joined | 08:26 |
| chao → stenno | 08:27 |
| → dante-as joined | 08:27 |
| → csm3105 joined | 08:28 |
| ← Sasazuka left | 08:31 |
| ← vicecea left | 08:36 |
| → vicecea joined | 08:37 |
| → lxsameer joined | 08:37 |
| → dionysus69 joined | 08:37 |
| → mncheck-m joined | 08:37 |
| → Hi-Angel joined | 08:40 |
|
Hi-Angel
| Did anybody notice that `git cherry-pick` applies commits in a weird order? I can't seem to find that documented | 08:41 |
| ← Misotauros left | 08:41 |
|
Hi-Angel
| Like, I has this command `git cherry-pick 467a9dbe4 6766307e3 c6c50a8a1^..87f756493`. You would think it first applies 467a9dbe4, right? Well no, it applies c6c50a8a1 first for some reason π€·ββοΈ | 08:42 |
|
| Which of course results in conflicts | 08:42 |
| → mexen joined | 08:43 |
| ← Betal left | 08:45 |
|
ikke
| Never noticed that, though must say I haven't tried anything like that either. | 08:47 |
| → arescorpio joined | 08:49 |
| → pflanze joined | 08:50 |
| → jmabr joined | 08:51 |
|
Hi-Angel
| Actually, `man git-cherry-pick` mentions in "Examples" section some weird usage, which contradicts the rest of the documentation, although could explain the problem. The examples is this "git cherry-pick maint master..next` and is described as "Apply the changes introduced by all commits that are ancestors of maint or next, but not master or any of its ancestors.". So I would think this takes the top commit from `maint` and then the range of commits | 08:53 |
|
gitinfo
| the git-cherry-pick manpage is available at https://gitirc.eu/git-cherry-pick.html | 08:53 |
|
Hi-Angel
| `master..next`, but apparently it does something else | 08:53 |
| ← gunner left | 08:53 |
|
Hi-Angel
| A the same time it has a more conventional example `git cherry-pick master~4 master~2` β "[..]create 2 new commits with these changes." | 08:53 |
|
| Not sure how it's decided what syntax is used | 08:54 |
| ← arescorpio left | 08:54 |
|
Hi-Angel
| But most important: the usage at the top says `git cherry-pick [--edit] [-n] [-m <parent-number>] [-s] [-x] [--ff] [-S[<keyid>]] <commit>...`. So you'd expect just a range of commits, without any weirdness | 08:54 |
|
| Hi-Angel sighs | 08:55 |
| ← hexadecagram left | 08:55 |
| ← atrigent left | 08:55 |
| → atrigent joined | 08:56 |
|
ikke
| Well foo..bar means ^foo bar | 08:56 |
|
| So you exclude everything from foo | 08:56 |
|
| So anything that is reachable by foo is excluded | 08:57 |
|
| A | 08:57 |
|
| Try it with the --no-walk option | 08:58 |
| → tirnanog joined | 09:00 |
| → Misotauros joined | 09:00 |
| → rendar joined | 09:00 |
|
rendar
| help! git add -A just took 100% cpu and never finished, i had to press ctrl+c | 09:01 |
|
| any clue? | 09:01 |
|
Hi-Angel
| ikke, I'm not sure what `--no-walk` does, but `man git-cherry-pick` states that its effect is used by default, quoting "Sets of commits can be passed but no traversal is done by default, as if the --no-walk option was specified" | 09:01 |
|
gitinfo
| ikke: the git-cherry-pick manpage is available at https://gitirc.eu/git-cherry-pick.html | 09:01 |
| → Sasazuka joined | 09:02 |
|
ikke
| Hi-Angel: only if you mention individual commits | 09:02 |
|
| Read the last part | 09:02 |
| → hexadecagram joined | 09:02 |
|
Hi-Angel
| rendar, try `--verbose` switch to see what it does | 09:02 |
|
ikke
| Hi-Angel: after <commit>.. | 09:03 |
| ← gryffus left | 09:03 |
|
Hi-Angel
| ikke, anyway, adding a `--no-walk` to my command with commits still adds the same c6c50a8a1 commit first | 09:04 |
|
rendar
| oh i saw the problem, i had gigabytes of data into the git directory.. | 09:04 |
|
Hi-Angel
| rendar, C: | 09:04 |
|
rendar
| so git -A tried to add those very big files | 09:04 |
|
| how can i revert that? i have deleted them now | 09:04 |
|
Hi-Angel
| rendar, `git reset` | 09:05 |
|
rendar
| Hi-Angel, that wouldn't lose my non-yet-committed work, right? | 09:05 |
|
Hi-Angel
| rendar, no, that would just remove added files from index, but won't do any changes to your files | 09:06 |
|
rendar
| good thanks | 09:06 |
|
Hi-Angel
| rendar, why did you use a `-A` anyway? I usually use `git add -u`, because I never know if there's some junk in the repo, like object files or what not. | 09:07 |
| ← Sasazuka left | 09:07 |
|
Hi-Angel
| `-u` switch won't add any new files | 09:07 |
| → gunner joined | 09:07 |
|
Hi-Angel
| It rarely happen that you want to add new files, so in those rare cases it isn't too hard to just list them explicitly. | 09:07 |
|
rendar
| Hi-Angel, because usually i have new files in my repos, when i add new sources files.. | 09:07 |
|
Hi-Angel
| Well, okay π€·ββοΈ | 09:08 |
| → gryffus joined | 09:10 |
| ← dante-as left | 09:12 |
| ← atrigent left | 09:21 |
| ← tirnanog left | 09:25 |
| → kenanmarasli joined | 09:25 |
| → Shentino_ joined | 09:28 |
| ← Shentino left | 09:29 |
| ← hexadecagram left | 09:29 |
| → unluckyshrubbery joined | 09:29 |
| → darkstarx joined | 09:30 |
| → elkalamar joined | 09:30 |
| → cdown joined | 09:32 |
| → Sasazuka joined | 09:35 |
| → Swahili joined | 09:35 |
| → hexadecagram joined | 09:37 |
| → zaher joined | 09:39 |
|
zaher
| hi, i forked a repo in gitlab to my repo, i cloned it to local, modified sent merge request etc, now i want to update my repo to last revision of original, | 09:40 |
| ← iomari891 left | 09:41 |
|
zaher
| i am trying to rebase my local to original fork to push it to my remote repo, but i have merge conflics etc, what the best way to update remote repo to last commit of original | 09:42 |
| → iomari891 joined | 09:42 |
|
Hi-Angel
| zaher, I'm a bit confused by your last part. So, you have a local branch. You're trying to rebase it⦠Upon what? Are you trying to rebase it upon the master branch? | 09:43 |
| → pretty_dumm_guy joined | 09:44 |
| → masber joined | 09:44 |
|
zaher
| i am confused too, i am forked a repo to send merger requests (patching) FPC/Lazarus , to my repo zaher/Lazarus then i cloned it locally, i modified, commited/pushed to zaher/Lazaurs, merge request applied success | 09:46 |
|
| now | 09:46 |
|
| i want my zaher/Lazarus to rebased on original, FPC/Lazarus then i want to rebase my local to zaher/Lazarus | 09:47 |
|
| what the good steps? | 09:47 |
|
| how to make remote repo to rebase to another remote repo | 09:47 |
| → xx joined | 09:48 |
| ← forgotmynick left | 09:48 |
| ← kevr left | 09:51 |
|
Hi-Angel
| zaher, well, you would add the remote repo as upstream `git remote add upstream https://your-git-forge.com/FPC/Lazarus.git` (something like that), and then use `git pull upstream HEAD --rebase`. It should rebase your local branch upon the main branch of the upstream. Then just `git push origin HEAD -f` | 09:53 |
| → kevr joined | 09:53 |
| ← mon_aaraj left | 09:53 |
| ← Sasazuka left | 09:54 |
|
zaher
| ty Hi-Angel i will try | 09:55 |
| ← srinidhi left | 09:56 |
| → mon_aaraj joined | 09:58 |
| → freeman_h joined | 10:00 |
|
zaher
| i have this error: ```warning: squelched 26938 whitespace errors | 10:01 |
|
| and i have alot of conflicts ```CONFLICT (add/add): Merge conflict in components/lazdebuggers/cmdlinedebuggerbase/Makefile | 10:02 |
| ← gunner left | 10:03 |
| ← codaraxis left | 10:04 |
| ← crabbedhaloablut left | 10:04 |
| ← av2156 left | 10:05 |
| → crabbedhaloablut joined | 10:05 |
|
freeman_h
| to run git pull you need to be in the directory you want this to happen is it possible to give a directory has part of the argument? for example if I am in directory "Myworkfolder" inside this I have other directory such as "shoeShop, teststuff, javastuff, cstuff" while inside Myworkfolder can i do "git fetch origin master javastuff" | 10:06 |
| ← feriman left | 10:06 |
|
freeman_h
| because when i run that command i get fatal: not a git repository (or any of the parent directories): .git | 10:06 |
| ← vqueiroz left | 10:06 |
| ← Sazhen86 left | 10:07 |
|
osse
| ccx, mackerman: git show commit:path is perhaps easier to use | 10:14 |
| → srinidhi joined | 10:14 |
| → FH_thecat joined | 10:15 |
| → enoq joined | 10:17 |
| ← keypusher left | 10:17 |
| ← dodobrain left | 10:17 |
| → dodobrain joined | 10:17 |
| → Gaboradon joined | 10:19 |
| ← kevr left | 10:20 |
| → kevr joined | 10:21 |
| → lolok joined | 10:25 |
| ← phundrak left | 10:28 |
| ← rendar left | 10:30 |
| ← dionysus69 left | 10:32 |
|
Hi-Angel
| zaher, well, I presume that's because in changes you've done on your branch you have modified components/lazdebuggers/cmdlinedebuggerbase/Makefile, and then upon rebasing someone else's commit also modifies that file, so you get the conflicts | 10:34 |
|
zaher
| i have no local changes, i want to rebase with reset everything, but still have conflict | 10:34 |
|
| what the best way to rebase and reset in one line | 10:35 |
|
| git pull upstream HEAD --rebase | 10:35 |
| ← srinidhi left | 10:36 |
| ← mon_aaraj left | 10:36 |
| → mon_aaraj joined | 10:38 |
| ← hoochmonger left | 10:39 |
| → feriman joined | 10:39 |
| → phundrak joined | 10:40 |
|
Hi-Angel
| zaher, by "changes you've done on your branch" I meant your commits. Does `git log upstream/master.. --oneline` show any commits? | 10:41 |
| ← kevr left | 10:44 |
| → kevr joined | 10:47 |
| ← Vonter left | 10:48 |
| ← vishal left | 10:48 |
| → vishal joined | 10:50 |
| ← mon_aaraj left | 10:52 |
| → mon_aaraj joined | 10:54 |
| ← YuGiOhJCJ left | 10:59 |
| ← kevr left | 11:00 |
| ← crabbedhaloablut left | 11:00 |
| → gunner joined | 11:00 |
| → crabbedhaloablut joined | 11:00 |
| → kevr joined | 11:00 |
| → TomyWork joined | 11:10 |
| ← FH_thecat left | 11:11 |
| ← gunner left | 11:14 |
| → DaNeenjah joined | 11:15 |
| → freeman_j joined | 11:17 |
| ← freeman_h left | 11:17 |
| ← eroux left | 11:17 |
| → eroux joined | 11:18 |
| ← gryffus left | 11:18 |
| → maroloccio joined | 11:20 |
| → kanka joined | 11:22 |
| → gryffus joined | 11:26 |
| → dionysus69 joined | 11:28 |
| ← Swahili left | 11:33 |
| → Swahili joined | 11:34 |
| → kkkk joined | 11:39 |
| ← kkkk left | 11:39 |
| → konsolebox joined | 11:46 |
| → keypusher joined | 11:55 |
| → srinidhi joined | 11:59 |
| → gildasio joined | 12:07 |
| → gunner joined | 12:14 |
| ← Anticom left | 12:15 |
| → Qbit_ joined | 12:15 |
| ← srinidhi left | 12:16 |
| ← dodobrain left | 12:17 |
| → dodobrain joined | 12:18 |
| → Anticom joined | 12:20 |
| ← adanwan left | 12:21 |
| ← fling left | 12:21 |
| ← ghost43_ left | 12:21 |
| ← FinnElija left | 12:21 |
| ← coot left | 12:22 |
| → adanwan joined | 12:22 |
| → fling joined | 12:22 |
|
zaher
| Hi-Ange ty it work fine, i pulled the original source for FPC/Lazarus changed it commit push to my fork repo zaher/Lazarus but with new branch, i will delete branch after merge req applied (it is auto) | 12:22 |
| → FinnElija joined | 12:22 |
| → ghost43 joined | 12:23 |
| → pulse joined | 12:29 |
| → hoochmonger joined | 12:30 |
| → srinidhi joined | 12:38 |
| → konrados joined | 12:39 |
| ← gryffus left | 12:45 |
| → hex_ joined | 12:45 |
| ← Qbit_ left | 12:47 |
| → tejr joined | 12:49 |
| → maryo joined | 12:49 |
| → bloody joined | 12:51 |
| ← hex_ left | 12:53 |
| → bambanxx joined | 12:54 |
| ← jmabr left | 12:55 |
| ← masber left | 12:59 |
| → masber joined | 13:01 |
| → tuskkk____ joined | 13:01 |
| → gh34 joined | 13:01 |
| ← maroloccio left | 13:01 |
| ← tejr left | 13:04 |
| ← dionysus69 left | 13:04 |
| → cdown_ joined | 13:05 |
| ← loulou_ left | 13:05 |
| → gryffus joined | 13:06 |
| → igemnace joined | 13:06 |
| → tejr joined | 13:06 |
| ← cdown left | 13:07 |
| cdown_ → cdown | 13:07 |
| ← elkalamar left | 13:08 |
| → skapata joined | 13:08 |
| ← skapata left | 13:08 |
| → skapata joined | 13:08 |
| ← csm3105 left | 13:08 |
| → Sasazuka joined | 13:13 |
| → lpapp joined | 13:14 |
|
lpapp
| hi, to create a branch from a release tag, I used to do git checkout -b new-branch-name tag-name, but it is possible to do git switch -C branch tag now? | 13:14 |
|
ikke
| yes | 13:15 |
|
lpapp
| Surprisingly, no such an update to the list of answer here, so was just wondering before I potentially crack any issues: https://stackoverflow.com/questions/10940981/how-to-create-a-new-branch-from-a-tag | 13:15 |
|
| ok, thanks, will post an answer there. | 13:15 |
|
| challanging a past answer with 1113 upvotes, good luck, I guess | 13:16 |
| ← fling left | 13:17 |
| ← adanwan left | 13:17 |
| ← lpapp left | 13:17 |
| ← Sasazuka left | 13:17 |
| → adanwan joined | 13:18 |
| → fling joined | 13:18 |
| ← zaher left | 13:18 |
| → dionysus69 joined | 13:19 |
| ← gunner left | 13:20 |
| → powftw joined | 13:21 |
| → lpapp joined | 13:24 |
| ← Xenguy left | 13:24 |
|
lpapp
| is this the right way to cherry-pick lines whilst also preserving where those lines were cherry-picked from? https://stackoverflow.com/a/1526093/2682142 | 13:25 |
| ← srinidhi left | 13:27 |
| → m0viefreak joined | 13:29 |
| ← Lunatrius left | 13:34 |
|
jast
| lpapp: git never preserves where lines came from, really... but yeah, that's one way to cherry-pick selectively | 13:36 |
|
ikke
| it can track it later, though | 13:37 |
|
jast
| after that sequence of commands, you might have uncommitted changes left, the ones you didn't commit, so you may want to discard those | 13:37 |
| → loulou_ joined | 13:45 |
| ← loulou_ left | 13:45 |
| → loulou_ joined | 13:45 |
| ← Jong left | 13:46 |
| ← vdamewood left | 13:46 |
|
furrymcgee
| git revert also has -n, so you could cherry-pick and revert selectively | 13:47 |
| ← feriman left | 13:50 |
| → sudoforge joined | 13:52 |
| → jjakob joined | 13:54 |
| → coot joined | 13:58 |
| ← lucasta left | 13:59 |
| ← dionysus69 left | 14:01 |
| → dionysus69 joined | 14:01 |
| → av2156 joined | 14:01 |
| → thiago joined | 14:02 |
| → atrigent joined | 14:04 |
| ← dionysus69 left | 14:05 |
| → cvmn joined | 14:09 |
| → srinidhi joined | 14:12 |
| → lucasta joined | 14:15 |
| → gast0n joined | 14:16 |
| ← dodobrain left | 14:17 |
| → dodobrain joined | 14:18 |
| ← av2156 left | 14:19 |
| ← thiago left | 14:21 |
| → tsraoien joined | 14:24 |
| ← dodobrain left | 14:25 |
|
lpapp
| ok, thanks. | 14:28 |
| ← jiffe left | 14:32 |
| → dionysus69 joined | 14:36 |
| → lucasta- joined | 14:38 |
| → cdown_ joined | 14:40 |
| ← MajorBiscuit left | 14:42 |
| ← gryffus left | 14:42 |
| → benjwadams joined | 14:43 |
| ← cdown left | 14:43 |
| cdown_ → cdown | 14:43 |
| → zebrag joined | 14:44 |
| ← unluckyshrubbery left | 14:48 |
| ← bn_work left | 14:54 |
| → cdown_ joined | 14:55 |
| ← cdown left | 14:56 |
| cdown_ → cdown | 14:57 |
| ← cvmn left | 14:57 |
| → gryffus joined | 14:58 |
| → unluckyshrubbery joined | 15:00 |
| → causasui joined | 15:04 |
| ← cdown left | 15:05 |
| → jazzy joined | 15:05 |
| ← LuKaRo_ left | 15:07 |
| ← kanka left | 15:12 |
| ← Anticom left | 15:12 |
| ← fling left | 15:13 |
| → loki_val joined | 15:14 |
| ← crabbedhaloablut left | 15:14 |
| → FH_thecat joined | 15:14 |
| → fling joined | 15:14 |
| ← gryffus left | 15:15 |
| → cyberpear joined | 15:16 |
| → thiago joined | 15:17 |
| → madewokherd joined | 15:19 |
| ← madewokherd` left | 15:22 |
| → gunner joined | 15:23 |
| → LuxuryMode joined | 15:23 |
| → tirnanog joined | 15:23 |
| → atrigent_ joined | 15:25 |
| ← leftyfb left | 15:26 |
| → leftyfb joined | 15:26 |
| ← Hi-Angel left | 15:26 |
| ← atrigent left | 15:27 |
| ← maryo left | 15:27 |
| → maryo joined | 15:27 |
| → rama joined | 15:30 |
| → Ajax1463 joined | 15:31 |
| ← Ajax146 left | 15:33 |
| Ajax1463 → Ajax146 | 15:33 |
| → rgrinberg joined | 15:34 |
| ← igemnace left | 15:35 |
| ← unluckyshrubbery left | 15:36 |
| → kanka joined | 15:40 |
| → roadie joined | 15:40 |
| → av2156 joined | 15:47 |
| ← mon_aaraj left | 15:49 |
| ← rama left | 15:49 |
| → hamburgler joined | 15:50 |
| → belsirk joined | 15:50 |
| → rama joined | 15:50 |
| ← hamburgler left | 15:50 |
| → mon_aaraj joined | 15:51 |
| ← FH_thecat left | 15:51 |
| ← adanwan left | 15:52 |
| → adanwan joined | 15:52 |
| ← Swahili left | 15:53 |
| ← Sulky left | 15:53 |
| ← rfuentess left | 15:53 |
| ← xx left | 15:54 |
| Shentino_ → Shentino | 15:54 |
| ← benjwadams left | 15:56 |
| ← maryo left | 15:56 |
| ← av2156 left | 15:57 |
| ← enoq left | 15:59 |
| ← atrigent_ left | 16:00 |
| → atrigent joined | 16:01 |
| ← dionysus69 left | 16:04 |
| → Ajax1463 joined | 16:05 |
| → feriman joined | 16:05 |
| ← lucasta left | 16:05 |
| → lucasta joined | 16:06 |
| → sandipan joined | 16:07 |
| ← Ajax146 left | 16:07 |
| Ajax1463 → Ajax146 | 16:07 |
| ← saroy left | 16:10 |
| → David78 joined | 16:10 |
| David78 → d6wnpg | 16:11 |
| ← kevr left | 16:12 |
| ← freeman_j left | 16:14 |
| ← loki_val left | 16:14 |
| → crabbedhaloablut joined | 16:14 |
| → gildasio1 joined | 16:15 |
| → finn_elija joined | 16:15 |
| ← FinnElija left | 16:15 |
| finn_elija → FinnElija | 16:15 |
| → kevr joined | 16:16 |
| → fling_ joined | 16:16 |
| ← sandipan left | 16:16 |
| → saroy joined | 16:16 |
| → maryo joined | 16:16 |
| ← gildasio left | 16:16 |
| ← fling left | 16:17 |
| ← mon_aaraj left | 16:20 |
| → lgc joined | 16:20 |
| ← lgc left | 16:20 |
| fling_ → fling | 16:23 |
| → mon_aaraj joined | 16:32 |
| ← gunner left | 16:32 |
| → Sasazuka joined | 16:37 |
| ← lxsameer left | 16:38 |
| → pyeveryt_ joined | 16:41 |
| → Betal joined | 16:47 |
| → rfuentess__ joined | 16:48 |
| ← belsirk left | 16:51 |
| ← powftw left | 16:51 |
| ← mon_aaraj left | 16:52 |
| ← bambanxx left | 16:53 |
| → mon_aaraj joined | 16:54 |
| ← rama left | 16:57 |
| → rama joined | 16:59 |
| → rickybob joined | 16:59 |
| ← rickybob left | 17:00 |
| → rickybob joined | 17:00 |
| ← rickybob left | 17:01 |
| → rickybob joined | 17:01 |
| ← rickybob left | 17:02 |
| → rickybob joined | 17:02 |
| ← Sasazuka left | 17:03 |
| ← RiFo left | 17:04 |
| → dionysus69 joined | 17:04 |
| ← rama left | 17:04 |
| → rama joined | 17:05 |
| ← saroy left | 17:07 |
| ← rgrinberg left | 17:08 |
| → LuKaRo joined | 17:10 |
| → MajorBiscuit joined | 17:12 |
| ← d6wnpg left | 17:14 |
| ← gildasio1 left | 17:15 |
| → gildasio1 joined | 17:15 |
| → Natrick joined | 17:17 |
| ← kanka left | 17:19 |
| → nyah joined | 17:21 |
| → Sasazuka joined | 17:22 |
| ← dionysus69 left | 17:22 |
| → elkalamar joined | 17:22 |
| → dionysus69 joined | 17:22 |
| ← TomyWork left | 17:26 |
| → rgrinberg joined | 17:27 |
| → bambanxx joined | 17:28 |
| ← DaNeenjah left | 17:28 |
| ← bambanxx left | 17:30 |
| → Jong joined | 17:30 |
| ← masber left | 17:36 |
| ← elkalamar left | 17:39 |
| → dhrv joined | 17:42 |
|
dhrv
| hi, is there any issue in git signingkey being tracked in a git repo so as to maintain dot files? | 17:43 |
| → tyson2 joined | 17:43 |
| → dhrv1 joined | 17:46 |
| ← jim left | 17:48 |
| ← dhrv left | 17:49 |
| → bambanxx joined | 17:49 |
| → k8yun joined | 17:51 |
| → lehinsun_w_ joined | 17:57 |
| → codaraxis joined | 17:57 |
| → Lord_of_Life_ joined | 17:59 |
| ← lehinsun_w left | 18:00 |
| ← Lord_of_Life left | 18:01 |
| → lehinsun_w__ joined | 18:01 |
| Lord_of_Life_ → Lord_of_Life | 18:02 |
| silly_ → silly | 18:02 |
| ← silly left | 18:02 |
| → silly joined | 18:02 |
| ← dhrv1 left | 18:03 |
| ← codaraxis left | 18:03 |
| ← lehinsun_w_ left | 18:04 |
| → Sulky joined | 18:10 |
| ← atrigent left | 18:18 |
| gildasio1 → gildasio | 18:22 |
| ← lucasta left | 18:22 |
| → lucasta joined | 18:23 |
| ← gildasio left | 18:24 |
| → Guest92 joined | 18:24 |
| → gildasio joined | 18:25 |
| → dhrv joined | 18:29 |
| ← dhrv left | 18:30 |
| → keypushe- joined | 18:33 |
| ← keypusher left | 18:33 |
| keypushe- → keypusher | 18:35 |
| → cahoots joined | 18:39 |
| ← keypusher left | 18:40 |
| → keypushe- joined | 18:40 |
|
cahoots
| hi, i want to avoid the "Your local changes to the following files would be overwritten by checkout:" error when doing git-checkout whenever there's not a merge conflict. i.e., i want to have `git checkout` be roughly equivalent to `git stash push && git checkout && git stash pop`. is there any way to do that? | 18:40 |
| ← rgrinberg left | 18:41 |
| ← k8yun left | 18:42 |
|
ikke
| cahoots: git checkout -m | 18:43 |
|
| (git checkout --merge) | 18:43 |
|
| But, if there are conflicts, you will get them | 18:43 |
| keypushe- → keypusher | 18:43 |
| → k8yun joined | 18:43 |
|
ikke
| But, if there are conflicts, you will get them | 18:43 |
| ← keypusher left | 18:47 |
| → rgrinberg joined | 18:50 |
| ← bambanxx left | 18:52 |
| → keypusher joined | 18:52 |
| → DaNeenjah joined | 18:53 |
| → bn_work joined | 18:55 |
| ← rama left | 18:56 |
| → rama joined | 18:57 |
| ← coot left | 18:57 |
| ← iomari891 left | 18:59 |
| → hbautista joined | 19:01 |
| ← lucasta- left | 19:02 |
| ← maryo left | 19:04 |
|
cahoots
| ikke, ty king | 19:04 |
| ← keypusher left | 19:04 |
| → bambanxx joined | 19:05 |
| → lucasta- joined | 19:05 |
| ← mncheck-m left | 19:06 |
| → mncheck-m joined | 19:06 |
| ← Sulky left | 19:08 |
| → keypusher joined | 19:08 |
| → atrigent joined | 19:09 |
| ← mon_aaraj left | 19:12 |
| → mon_aaraj joined | 19:14 |
| ← Sasazuka left | 19:15 |
| ← tyson2 left | 19:27 |
| → gunner joined | 19:35 |
| ← cahoots left | 19:40 |
| → hashworks joined | 19:45 |
| ← atrigent left | 19:45 |
|
hashworks
| Hi! Is there a way to change the path of the $GIT_WORK_TREE/.gitmodules file in a repository? | 19:46 |
|
cbreak
| hashworks: why? | 19:46 |
|
hashworks
| I'm using git to manage my dotfiles using a bare repo and a git alias, like so | 19:47 |
|
| git init --bare $HOME/.dotfilesCLI | 19:47 |
|
| alias dfCLI='/usr/bin/git --git-dir=$HOME/.dotfilesCLI/ --work-tree=$HOME' | 19:47 |
| → atrigent joined | 19:47 |
|
hashworks
| I wanted to split stuff into multiple bare repos (CLI, GUI, X11, etc.) β but then I can't use .gitmodules. | 19:48 |
|
cbreak
| :/ | 19:48 |
|
| .gitmodules is for submodules. You wouldn't have those in a bare repo | 19:49 |
| → elkalamar joined | 19:49 |
|
hashworks
| Hm? I can easily call `dfCLI submodule add β¦` here. | 19:49 |
|
cbreak
| because you're forcing a working dir onto the repo, making it no longer bare | 19:50 |
|
hashworks
| Ah. Well, yes. This is so I can A) use multiple git repos for one work tree and B) `git status` in any level above $HOME doesn't use a dotfiles repo | 19:52 |
|
| I know that I'm kinda hammering things together here, but besides the.gitmodules problematic it should work | 19:53 |
| ← Guest92 left | 19:53 |
| ← crabbedhaloablut left | 19:53 |
|
cbreak
| how about you just symlink the stuff from your repo into ~/? | 19:53 |
| → crabbedhaloablut joined | 19:53 |
|
hashworks
| Ah, I did that before. Sometimes stuff breaks because of that, it's hard to manage etc. | 19:54 |
|
cbreak
| your new idea doesn't seem better to me :) | 19:54 |
| ← gunner left | 19:55 |
|
hashworks
| Everything has its downsides :) | 19:55 |
| → gunner joined | 19:55 |
|
hashworks
| But besides this beeing a horrible idea, you know of no way to change the .gitmodules file path? | 19:55 |
| ← skapata left | 19:56 |
| ← lpapp left | 19:59 |
| → ferdna joined | 20:00 |
| → tyson2 joined | 20:00 |
| → Ajax1462 joined | 20:04 |
| ← rgrinberg left | 20:04 |
|
hashworks
| Hm, quite hardcoded. https://github.com/git/git/search?q=GITMODULES_FILE | 20:05 |
| ← Ajax146 left | 20:06 |
| Ajax1462 → Ajax146 | 20:06 |
| ← Coop left | 20:08 |
| ← konsolebox left | 20:09 |
| → Sasazuka joined | 20:09 |
| ← Dotz0cat left | 20:14 |
| ← gunner left | 20:16 |
| → lxsameer joined | 20:16 |
| ← SuperLag left | 20:18 |
| → SuperLag joined | 20:19 |
| → structoha joined | 20:25 |
| ← feriman left | 20:28 |
| → gunner joined | 20:28 |
| ← mbalmer left | 20:30 |
| ← rama left | 20:31 |
| → tonitch joined | 20:31 |
| → rama joined | 20:32 |
| ← ghost43 left | 20:35 |
| → ghost43_ joined | 20:35 |
| → Coop joined | 20:36 |
| ← structoha left | 20:40 |
| → structoha joined | 20:41 |
| ← lucasta left | 20:42 |
| ← MajorBiscuit left | 20:45 |
| ← gh34 left | 20:49 |
| → k8yun_ joined | 20:53 |
| ← structoha left | 20:54 |
| ← k8yun left | 20:57 |
| → Rhonda joined | 20:59 |
| → YuGiOhJCJ joined | 20:59 |
| ← piwu left | 21:04 |
| → piwu7 joined | 21:04 |
| ← rama left | 21:05 |
| ← piwu7 left | 21:08 |
| → piwu joined | 21:08 |
| ← ghost43_ left | 21:11 |
| → ghost43 joined | 21:11 |
| → piwu4 joined | 21:11 |
| → Dotz0cat joined | 21:12 |
| ← srinidhi left | 21:13 |
| ← piwu left | 21:13 |
| piwu4 → piwu | 21:13 |
| ← jimklimov left | 21:14 |
| → Sulky joined | 21:14 |
| → jimklimov joined | 21:14 |
| → M3w0[m] joined | 21:15 |
| → piwu5 joined | 21:19 |
| ← piwu left | 21:20 |
| piwu5 → piwu | 21:20 |
| → torresjrjr joined | 21:20 |
| ← gunner left | 21:25 |
| → mat001_ joined | 21:25 |
| → Leonarbro joined | 21:27 |
| ← YuGiOhJCJ left | 21:27 |
| ← mat001 left | 21:28 |
| ← roadie left | 21:30 |
| ← lucasta- left | 21:34 |
| → rgrinberg joined | 21:39 |
| ← thiago left | 21:40 |
| → YuGiOhJCJ joined | 21:41 |
| ← dionysus69 left | 21:45 |
| ← Murr left | 21:50 |
| → Murr joined | 21:50 |
| → Guest68 joined | 21:51 |
| ← Guest68 left | 21:51 |
| ← atrigent left | 21:55 |
| ← bambanxx left | 21:55 |
| → atrigent joined | 21:55 |
|
shush
| Is there a way to express a revision that is either the first commit with another branch or multiple child commits? This way I can do `git rebase -i SPECIAL` where SPECIAL is the revision expression I seek | 21:56 |
| → roadie joined | 21:57 |
|
shush
| The idea is to rebase up to where the branch forked from master/main | 21:57 |
|
| But the master branch may have newer commits and I may not want to rebase onto master yet. | 21:58 |
| ← tyson2 left | 21:58 |
| → bambanxx joined | 21:58 |
| → Murr- joined | 22:04 |
| ← Murr left | 22:06 |
| Murr- → Murr | 22:06 |
| ← crabbedhaloablut left | 22:07 |
| → xx joined | 22:07 |
| → crabbedhaloablut joined | 22:07 |
| ← lxsameer left | 22:07 |
| ← kevr left | 22:08 |
| → Guddu joined | 22:09 |
| → kevr joined | 22:09 |
| ← hoochmonger left | 22:10 |
| ← roadie left | 22:10 |
| ← rfuentess__ left | 22:15 |
| → Rashad joined | 22:16 |
| ← ferdna left | 22:16 |
| → auk joined | 22:18 |
| ← YuGiOhJCJ left | 22:18 |
| → YuGiOhJCJ joined | 22:19 |
| ← jimklimov left | 22:20 |
| → GNUmoon2 joined | 22:21 |
| → jimklimov joined | 22:21 |
| → k8yun__ joined | 22:24 |
| ← bambanxx left | 22:25 |
| ← k8yun_ left | 22:27 |
| → thiago joined | 22:31 |
| → atrigent_ joined | 22:31 |
| → lucasta joined | 22:32 |
| ← atrigent left | 22:32 |
| ← ghost43 left | 22:32 |
| → ghost43 joined | 22:32 |
| → roadie joined | 22:36 |
| → cdown joined | 22:41 |
| → cbdlt^ joined | 22:45 |
| ← kyshoc left | 22:47 |
| → kyshoc joined | 22:47 |
| ← kyshoc left | 22:47 |
| → kyshoc joined | 22:47 |
| ← roadie left | 22:48 |
| → Sazhen86 joined | 22:50 |
| ← gildasio left | 22:58 |
| → gildasio joined | 22:59 |
| ← cdown left | 23:06 |
| → bambanxx joined | 23:10 |
| ← kenanmarasli left | 23:10 |
| → roadie joined | 23:13 |
| ← inversed left | 23:20 |
| ← cbdlt^ left | 23:20 |
| → bodiccea_ joined | 23:21 |
| ← bodiccea left | 23:22 |
| ← bn_work left | 23:23 |
| ← jlc left | 23:27 |
| ← roadie left | 23:27 |
| → tyson2 joined | 23:27 |
| ← k8yun__ left | 23:33 |
| ← nyah left | 23:35 |
| ← elkalamar left | 23:37 |
| ← xx left | 23:39 |
| ← pretty_dumm_guy left | 23:41 |
| → ramblebamble joined | 23:43 |
| → pretty_dumm_guy joined | 23:43 |
| ← m0viefreak left | 23:48 |
| → Xenguy joined | 23:50 |
| ← elastic_dog left | 23:51 |
| → skapata joined | 23:52 |
| ← skapata left | 23:52 |
| → skapata joined | 23:52 |
| → roadie joined | 23:55 |