| 2021-10-22 |
| → The_Jag joined | 00:04 |
|
perrierjouet
| thanks for the helpo | 00:05 |
| → Xenguy joined | 00:06 |
| → juliopcrj joined | 00:09 |
| → rgrinberg joined | 00:10 |
| ← jazzy left | 00:12 |
| → jetchisel joined | 00:13 |
| ← juliopcrj left | 00:15 |
| → Lord_of_Life_ joined | 00:15 |
| ← Lord_of_Life left | 00:15 |
| Lord_of_Life_ → Lord_of_Life | 00:16 |
| ← Sven_vB left | 00:18 |
| → gordonfish- joined | 00:19 |
| ← gordonfish left | 00:22 |
| ← Guest4 left | 00:27 |
| ← Ilyu_ left | 00:33 |
| → Ilyu joined | 00:33 |
| → jazzy joined | 00:35 |
| ← ArtVandelayer left | 00:47 |
| → ttree joined | 00:50 |
|
quazimodo
| elibrokeit: just saw what you said re. git-flow | 00:54 |
|
| agree | 00:54 |
| ← Gustavo6046 left | 00:58 |
| → Gustavo6046_ joined | 00:58 |
|
quazimodo
| the ceremony is a bit nonsensical too | 00:59 |
| → pyevery__ joined | 00:59 |
| → pyeve____ joined | 01:00 |
| ← pyevery__ left | 01:00 |
| Gustavo6046_ → Gustavo6046 | 01:01 |
| ← pyeve____ left | 01:05 |
| → pyevery__ joined | 01:07 |
| ← Gustavo6046 left | 01:11 |
| ← pyevery__ left | 01:12 |
| ← jetchisel left | 01:12 |
| → Gustavo6046 joined | 01:13 |
| ← ZacSharp left | 01:13 |
| ← thebombzen left | 01:16 |
| → ferdna joined | 01:25 |
| → mud joined | 01:28 |
| → The_Jag_ joined | 01:33 |
| → mgedmin joined | 01:33 |
| ← The_Jag left | 01:36 |
| ← bambanxx left | 01:39 |
| → DoofusCanadensis joined | 01:44 |
| ← awmv left | 01:47 |
| ← snedd left | 01:47 |
| ← durham left | 01:50 |
| → stats4647 joined | 01:53 |
| ← stats4647 left | 01:58 |
|
nedbat
| quazimodo: what ceremony do you mean? | 02:04 |
| → jetchisel joined | 02:04 |
| → mp3 joined | 02:05 |
|
elibrokeit
| nedbat: it's a reply to this comment of mine from quite a while back: | 02:07 |
|
| [10:45:34 PM] <elibrokeit> quazimodo: the other problem with git-flow is that it assumes "sprinkle more branches on top" is the solution to all problems. It adds a lot of ritual ceremony that you generally don't need, and when you do need it, you don't need git-flow as a prerequisite (e.g. "branch a maintenance lineage off of the latest major release" is trivially done after the fact) | 02:07 |
|
| git-flow has very particular branching "recommendations", when all you probably need is a) master, b) maint-$MAJOR.$MINOR | 02:08 |
|
nedbat
| elibrokeit: i was wondering in particular what steps were branded as ritual ceremony? | 02:09 |
| → thebombzen joined | 02:13 |
| → durham joined | 02:17 |
|
elibrokeit
| well, you have a develop branch which is the git-flow version of traditional master branches. This is then branched into "release-MAJOR.MINOR" and then carefully merged --no-ff into "master", because merge commits are apparently next to godliness... that branch is atrociously named, it should be named "release". Then to seal the deal, you merge --no-ff back into develop too! Then delete release-MAJOR.MINOR | 02:20 |
|
| Want to make a maintenance fix? Branch master this time, to hotfix-MAJOR.MINOR.PATCH, then merge that back into master and then back into develop again. You can't branch off of release-MAJOR.MINOR because you deleted it lol | 02:20 |
| ← fling left | 02:24 |
| ← bn_work left | 02:26 |
| ← jcbjoe2021 left | 02:27 |
| ← Darkfoe_ left | 02:27 |
| ← merpnderp left | 02:28 |
| ← sa left | 02:28 |
| ← ec left | 02:28 |
| ← ^3^ left | 02:28 |
| ← LordLion left | 02:28 |
| → fling joined | 02:28 |
| → LordLion joined | 02:29 |
| → jcbjoe2021 joined | 02:29 |
| ← durham left | 02:29 |
| → Darkfoe_ joined | 02:29 |
| → merpnderp joined | 02:29 |
| → sa joined | 02:29 |
| → ec joined | 02:29 |
| → ^3^ joined | 02:29 |
| ← igemnace left | 02:34 |
| → bn_work joined | 02:42 |
| ← FinnElija left | 02:43 |
| → FinnElija joined | 02:45 |
| → dsrt^ joined | 02:51 |
| ← BSaboia left | 02:55 |
| ← alzgh left | 02:57 |
| ← Gustavo6046 left | 02:58 |
| → Gustavo6046 joined | 02:58 |
| ← skapata left | 03:10 |
|
quazimodo
| you make it sound worse than it is | 03:14 |
|
| in practice the biggest problems are not the thinking, the style or naming or even the ceremony but the effect it has on development professional practice & the business as a whole | 03:15 |
| ← ChmEarl left | 03:15 |
|
quazimodo
| devs tend to do longer, more complex features that are harder to 'get into prod ready state' | 03:15 |
|
| they often merge into `develop` stuff that is questionable | 03:15 |
|
| and frequently it gets hard to cut a release because `develop` is blocked by a feature that's not quite ready, or even more insidiously, is ready but marketing says don't release it yet | 03:16 |
|
| sensible cicd + excellent automated testing + trunk based dev + feature flags + elephant carpaccio is the way to go, i think | 03:17 |
| → Gustavo6046_ joined | 03:41 |
| ← Gustavo6046 left | 03:42 |
| Gustavo6046_ → Gustavo6046 | 03:44 |
| → yeirr joined | 03:52 |
| → coot joined | 03:56 |
| ← zebrag left | 04:06 |
| ← reset left | 04:11 |
| ← pulse left | 04:17 |
| → saroy joined | 04:19 |
| → forgotmynick joined | 04:27 |
| ← jazzy left | 04:35 |
| ← bloody left | 04:37 |
| ← tirnanog left | 04:37 |
| ← Thanatermesis left | 04:43 |
| ← mp4 left | 04:43 |
| → ArtVandelayer joined | 04:46 |
| ← ArtVandelayer left | 04:48 |
| → ArtVandelayer joined | 04:48 |
| ← FH_thecat left | 04:49 |
| → BSaboia joined | 04:50 |
| → madewokherd` joined | 04:52 |
| ← BSaboia left | 04:52 |
| → mp4 joined | 04:53 |
| → BSaboia joined | 04:54 |
| ← madewokherd left | 04:55 |
| → betelgeuse joined | 04:56 |
| ← vishal left | 04:57 |
| ← Murr left | 04:59 |
| → Murr joined | 04:59 |
| ← yeirr left | 04:59 |
| → vishal joined | 05:00 |
| → daoudr joined | 05:03 |
| ← crabbedhaloablut left | 05:06 |
| → crabbedhaloablut joined | 05:06 |
| ← DoofusCanadensis left | 05:10 |
| ← Gustavo6046 left | 05:13 |
| ← junktext_ left | 05:13 |
| → Null_A joined | 05:13 |
| → Gustavo6046 joined | 05:14 |
| ← emf_ left | 05:14 |
| → jazzy joined | 05:15 |
| ← arcatech left | 05:15 |
| ← ferdna left | 05:18 |
| ← BSaboia left | 05:25 |
| ← sudoforge left | 05:26 |
| → d1b_ joined | 05:30 |
| d1b_ → d1b | 05:30 |
| ← hbautista left | 05:31 |
| ← saroy left | 05:31 |
| → A_Dragon joined | 05:31 |
| → Gustavo6046_ joined | 05:33 |
| ← Gustavo6046 left | 05:33 |
| Gustavo6046_ → Gustavo6046 | 05:36 |
| → mei joined | 05:37 |
| ← zmt00 left | 05:37 |
|
Jong
| Question, if I see a bug that I can fix with one line, but it's in someone else's code, is it a problem if I commit the one line change to master? I ask because if everyone made a commit per one-line change, there'd be far too many commits | 05:41 |
| ← gxt_ left | 05:41 |
| → gxt_ joined | 05:42 |
| ← thiago left | 05:43 |
| → gatty joined | 05:46 |
| ← rgrinberg left | 05:51 |
| ← gxt_ left | 05:52 |
| → gxt_ joined | 05:53 |
| → yeirr joined | 05:57 |
| → igemnace joined | 06:03 |
| ← gxt_ left | 06:06 |
| → rgrinberg joined | 06:07 |
| → gxt_ joined | 06:09 |
| → steam joined | 06:10 |
| → bkircher joined | 06:16 |
| ← ttree left | 06:17 |
| ← Xenguy left | 06:26 |
| → aniruddha joined | 06:27 |
| → ckeshav joined | 06:30 |
|
j416
| osse: nice! ty @ patch | 06:30 |
|
aniruddha
| hello everyone I have a question that I want to get last 3 commits https://github.com/flatcar-linux/locksmith/pull/14/commits to another branch. I am not able to figure out that how can i get the last 3 commits if i merge it's also getting the 4th one from last | 06:35 |
|
| can anyone help me :) | 06:35 |
| → palasso joined | 06:37 |
|
ikke
| aniruddha: man git cherry-pick | 06:37 |
|
gitinfo
| aniruddha: the git-cherry-pick manpage is available at https://gitirc.eu/git-cherry-pick.html | 06:37 |
|
aniruddha
| thanks :D | 06:38 |
|
ikke
| Should those commits still be in the original branch? | 06:40 |
| ckeshav → ckeshav_ | 06:41 |
| ckeshav_ → ckeshav__ | 06:42 |
| ckeshav__ → ckeshav | 06:43 |
|
aniruddha
| yes they are in the integrate-fleetlock branch and i want those in the tmp-integrate-fleetlock branch to play with some of the logic | 06:44 |
| ← ckeshav left | 06:46 |
| → ckeshav joined | 06:46 |
| ← Null_A left | 06:49 |
|
ikke
| you can first cherry-pick them on the correct branch, then reset the first branch to the 4th commit | 06:49 |
| → theoceaniscool joined | 06:51 |
| → The_Blode_ joined | 06:52 |
| → rfuentess joined | 06:53 |
| → elkalamar_ joined | 06:54 |
| → otisolsen70 joined | 06:55 |
|
aniruddha
| yes its done thanks alot :D | 06:56 |
| ← elkalamar__ left | 06:57 |
|
ikke
| n;p | 06:57 |
|
| np* | 06:57 |
| ← gast0n left | 06:58 |
| → kenanmarasli joined | 06:59 |
| ← ckeshav left | 06:59 |
| ← elkalamar_ left | 06:59 |
| → vlado_ joined | 07:00 |
| ← rgrinberg left | 07:03 |
| ← unluckyshrubbery left | 07:04 |
| → mallkrampus joined | 07:09 |
| → mat001 joined | 07:16 |
| → mannequin joined | 07:16 |
| → arcatech joined | 07:18 |
| → alkino joined | 07:19 |
| ← arcatech left | 07:23 |
| ← jazzy left | 07:27 |
| → shored joined | 07:27 |
| ← vlado_ left | 07:28 |
| → vladoski joined | 07:31 |
| ← dsrt^ left | 07:31 |
| ← bkircher left | 07:33 |
|
osse
| j416: my motives were questioned :( | 07:34 |
|
| oh I misread a bit. | 07:38 |
| ← forgotmynick left | 07:47 |
| ← mat001 left | 07:52 |
| ← alkino left | 07:55 |
| → alkino joined | 07:55 |
| → RiFo joined | 08:11 |
| → bkircher joined | 08:13 |
| ← gatty left | 08:14 |
|
osse
| Jong: no. Sometimes bugfixes are small, but they certainly deserve to stand out as separate commits | 08:19 |
| → pcarphin joined | 08:28 |
| → danbak joined | 08:31 |
| → jimklimov joined | 08:31 |
| → lgc joined | 08:33 |
| ← jimklimov left | 08:36 |
| ← coot left | 08:42 |
| → BenjiProd joined | 08:44 |
| ← Ilyu left | 08:48 |
| → Ilyu joined | 08:48 |
| → spare joined | 08:58 |
| ← spare left | 09:02 |
| → spare joined | 09:03 |
| ← Swahili left | 09:04 |
| → Swahili joined | 09:04 |
| → coot joined | 09:04 |
| → alzgh joined | 09:05 |
| ← alkino left | 09:05 |
| → alkino joined | 09:06 |
| → unluckyshrubbery joined | 09:08 |
| ← daoudr left | 09:09 |
| → elkalamar joined | 09:10 |
| A_Dragon → Awoobis | 09:12 |
| ← yeirr left | 09:13 |
|
Timvde
| Jong: The idea is that a commit should be one semantic "change". How you define how much one "change" can entail is up to the users, but I prefer a more granular approach. I try to make sure that every commit passes the build and could be deployed on its own. | 09:14 |
| → daoudr joined | 09:15 |
| ← spare left | 09:19 |
| → spare joined | 09:19 |
|
dviola
| I'm trying to rebase two commits, when doing `git rebase -i HEAD~2' I get: fatal: invalid upstream 'HEAD~2' | 09:19 |
|
| any ideas what I'm doing wrong? | 09:19 |
|
| this is a new repo I just created | 09:19 |
|
osse
| dviola: use --root | 09:24 |
|
| if you only have two commits then only HEAD and HEAD~1 exist | 09:24 |
| → txtsd joined | 09:24 |
|
dviola
| osse: oh, that explains it, thanks :) | 09:25 |
| ← tejr left | 09:28 |
| ← ghost43 left | 09:28 |
| → tejr joined | 09:29 |
| → ghost43 joined | 09:29 |
| → rsx joined | 09:42 |
| → wender joined | 09:43 |
| → vlado_ joined | 09:45 |
| ← computeiro left | 09:47 |
| ← vladoski left | 09:47 |
| ← af left | 09:50 |
| → Ryan__ joined | 10:02 |
| ← Ryan_ left | 10:05 |
| ← AbleBacon left | 10:09 |
| → af joined | 10:23 |
| → caveman joined | 10:23 |
| ← igemnace left | 10:33 |
| → ckeshav joined | 10:38 |
| → stats4647 joined | 10:52 |
| ← stats4647 left | 10:56 |
| ← Gustavo6046 left | 11:00 |
| → velix joined | 11:01 |
|
velix
| Man... I hate this: git for Windows randomly connects via curl.exe to IP 104.21.24.9 ... Any way to turn this off? I think that's against law in many countries. | 11:02 |
|
| Is it sending out any data? | 11:02 |
|
| I bet it's telemetry... | 11:02 |
|
| I my country, you have to CONSENT to do so! | 11:02 |
|
bremner
| I guess there's a git-for-windows github repo where you can complain? | 11:03 |
| → Gustavo6046 joined | 11:03 |
| → Rhvs joined | 11:10 |
|
velix
| bremner: Okay, thanks. | 11:11 |
|
| I should start a firewall on linux, too. Maybe it does the same here. | 11:12 |
|
| I bet this was Micro$oft's idea. | 11:12 |
|
| They like sending telemetry. | 11:12 |
| ← spare left | 11:14 |
|
velix
| I think the problem is bigger than expected. Seems like it affects binary builds only! It's not in the source code: https://github.com/git-for-windows/git/search?q=104.21.24.9 | 11:15 |
| ← velix left | 11:19 |
| → pulse joined | 11:20 |
| → cdown_ joined | 11:21 |
| cdown_ → cdown | 11:24 |
| → BSaboia joined | 11:26 |
| ← pah left | 11:28 |
| → pah_ joined | 11:28 |
| ← caveman left | 11:32 |
| → frobnic joined | 11:35 |
| ← quazimodo left | 11:37 |
| → cdown_ joined | 11:38 |
| ← cdown left | 11:41 |
| cdown_ → cdown | 11:41 |
| ← ckeshav left | 11:49 |
| → natrys joined | 11:52 |
| → skapata joined | 11:58 |
| ← skapata left | 11:58 |
| → skapata joined | 11:58 |
| ← wender left | 11:58 |
| → caveman joined | 11:59 |
| → Sazhen86 joined | 12:00 |
| ← BSaboia left | 12:00 |
| → BSaboia joined | 12:02 |
| → computeiro joined | 12:02 |
| → nyah joined | 12:03 |
| → rewrit3 joined | 12:04 |
| ← vlado_ left | 12:15 |
|
Seveas
| "telemetry" yes. Probably just checking for updates... | 12:15 |
| → vladoski joined | 12:15 |
| ← coot left | 12:16 |
|
bookworm
| (why would you put an IP in the source... chances are it would be there as a hostname) | 12:18 |
|
Seveas
| yeah | 12:18 |
| → Betal joined | 12:19 |
| → jiehuan joined | 12:19 |
| → speckz joined | 12:23 |
| → jwillikers joined | 12:24 |
| → Lunatrius joined | 12:25 |
|
bremner
| fwiw, they left | 12:28 |
| ← alzgh left | 12:29 |
| → mei6 joined | 12:30 |
| ← mei left | 12:31 |
| mei6 → mei | 12:31 |
| ← jwillikers left | 12:33 |
|
Dragnslcr
| In case they come back, that's the IP address for gitforwindows.org | 12:34 |
| → burakcank joined | 12:34 |
|
mgedmin
| checking for updates maybe? | 12:35 |
| ← rahl left | 12:37 |
| → rahl joined | 12:39 |
| → alzgh joined | 12:43 |
| ← caveman left | 12:44 |
| → causa_sui joined | 12:51 |
| ← ano left | 12:52 |
| → forgotmynick joined | 12:53 |
| → ano joined | 12:53 |
| → Rashad joined | 12:57 |
| ← causa_sui left | 12:57 |
| → coot joined | 13:01 |
| ← ano left | 13:01 |
| → ano joined | 13:02 |
| → bloody joined | 13:04 |
| ← speckz left | 13:13 |
| → meator joined | 13:16 |
| → sudoforge joined | 13:17 |
| → spare joined | 13:17 |
| ← spare left | 13:25 |
| ← ano left | 13:27 |
| → spare joined | 13:27 |
| → ano joined | 13:28 |
| → Thanatermesis joined | 13:29 |
| → causa_sui joined | 13:30 |
| ← spare left | 13:30 |
| → spare joined | 13:31 |
| → juliopcrj joined | 13:32 |
| → gh34 joined | 13:38 |
| ← jiehuan left | 13:38 |
| → harpia joined | 13:40 |
| ← RiFo left | 13:41 |
| → utis joined | 13:43 |
| → RiFo joined | 13:44 |
| ← otisolsen70 left | 13:46 |
| ← pulse left | 13:48 |
| → pyevery__ joined | 13:55 |
| → BUSY joined | 13:55 |
| → pulse joined | 13:56 |
| → pepperoni joined | 14:01 |
| ← pyevery__ left | 14:03 |
| → pyevery__ joined | 14:04 |
| ← ArtVandelayer left | 14:06 |
| → cyberpear joined | 14:06 |
| Portugol9_ → Portugol9 | 14:08 |
| → yeirr joined | 14:08 |
| ← pyevery__ left | 14:09 |
| → vlado_ joined | 14:13 |
| ← vladoski left | 14:15 |
| ← spare left | 14:16 |
| ← meator left | 14:16 |
| → spare joined | 14:18 |
| ← Ilyu left | 14:21 |
| → Ilyu joined | 14:22 |
| ← spare left | 14:27 |
| → spare joined | 14:27 |
| → zebrag joined | 14:29 |
| ← causa_sui left | 14:34 |
| → pflanze joined | 14:36 |
| ← Sazhen86 left | 14:36 |
| → pyevery__ joined | 14:37 |
| → Xaldafax joined | 14:44 |
| → pretty_dumm_guy joined | 14:53 |
| → Argorok joined | 14:54 |
| → thiago joined | 14:55 |
|
Argorok
| Is it possible to create a branch from master (let's call it featureX), then compare a featureXY branch against master and cherry pick code easily? The featureXY branch include featureX and featureY, I want to separate them accordingly but there are too many changes to do it manually | 14:57 |
| ← shokohsc8 left | 14:57 |
| ← Murr left | 14:58 |
| → Murr joined | 14:58 |
| ← pyevery__ left | 15:00 |
| → arcatech joined | 15:00 |
| → tsdh joined | 15:06 |
| ← mud left | 15:08 |
| → shokohsc8 joined | 15:09 |
| → mud joined | 15:12 |
| → stats4647 joined | 15:12 |
|
bookworm
| Argorok: simplest in that case is to rebase twice, so that you have both X and Y separate | 15:13 |
|
| as in, interactive rebase down to master, delete anything that isn't the thing you want (either X or Y parts) then merge the thing as needed back to master | 15:14 |
|
Argorok
| Never used/did a rebase. Lemme read about it | 15:14 |
|
bookworm
| as for "comparing", you mean diff? git diff / git log can both take a range of commits. start..stop | 15:14 |
|
Argorok
| Only delete? Because I wil also need to readd some code that was deleted | 15:15 |
|
| Yeah, git diff between master and featureXY | 15:15 |
|
bookworm
| >I wil also need to readd some code that was deleted , what do you mean? | 15:17 |
| → marw joined | 15:18 |
| ← stats4647 left | 15:19 |
|
Argorok
| FeatureXY started with featureX and then featureY started after featureX finished. But, for featureY, some code of featureX was deleted. So, when separating them into two distinct branches, I need to get all the featureX code back | 15:19 |
| ← arcatech left | 15:20 |
|
bookworm
| ah, but then you already have a clean separation yes? X1->X2->X3->Y1->Y2->Y3 that's how your commit graph looks then? | 15:20 |
|
| if so, simply checkout a new branch with X3, that's X. | 15:21 |
|
| if Y messes with X / needs stuff from it, you either need to keep it on top of it or remove the stuff that depends on X, your choice | 15:21 |
|
Argorok
| Mooooore or less... There are some X4 and X5 among the Ys | 15:23 |
|
bookworm
| then you need to rebase | 15:23 |
|
| so that you can sort them to the rest of the x changes | 15:23 |
| ← hackinghorn left | 15:24 |
| → ChmEarl joined | 15:24 |
|
Argorok
| Hmmmmm... Thanks. I will read about and watch some videos to not fuck up everything. More than 115 files, don't want to do the separation manually x.x | 15:25 |
| → zmt00 joined | 15:29 |
| → causa_sui joined | 15:30 |
| → alfredb joined | 15:32 |
| alfredb → abu | 15:33 |
| → pyeveryt_ joined | 15:33 |
| → rgrinberg joined | 15:33 |
| → Gustavo6046_ joined | 15:34 |
| ← Gustavo6046 left | 15:34 |
| ← natrys left | 15:34 |
| ← harpia left | 15:35 |
| ← causa_sui left | 15:35 |
| ← causasui left | 15:36 |
| Gustavo6046_ → Gustavo6046 | 15:37 |
| ← Ryan__ left | 15:37 |
| → Ryan_ joined | 15:38 |
| → Null_A joined | 15:38 |
| ← pyeveryt_ left | 15:38 |
| ← vdamewood left | 15:38 |
| ← rfuentess left | 15:40 |
| → vdamewood joined | 15:41 |
| → m0viefreak joined | 15:42 |
| ← RiFo left | 15:44 |
| → durham joined | 15:49 |
| ← madewokherd` left | 15:50 |
| → rafspiny joined | 15:53 |
| → arcatech joined | 15:54 |
| ← Gustavo6046 left | 15:54 |
| → Gustavo6046 joined | 15:55 |
| ← arcatech left | 15:57 |
| ← rafspiny left | 16:00 |
| → arcatech joined | 16:00 |
| ← mp4 left | 16:05 |
| ← kenanmarasli left | 16:06 |
| ← arcatech left | 16:06 |
| → arcatech joined | 16:07 |
| ← arcatech left | 16:08 |
| ← vlado_ left | 16:11 |
| → odoood joined | 16:14 |
| ← odoood left | 16:14 |
| → Krematorium joined | 16:16 |
|
Krematorium
| hello guys, question: if i rename my local and origin branch but i already have an PR (Gitlab, Github, Bitbucket) opened with, the existing PR would recognize the branch name just fine or i would have to pen a new PR or so? | 16:17 |
|
ikke
| Krematorium: No, you would still need to push to the old branch name, or open a new MR/PR | 16:18 |
|
| You cannot push a branch rename | 16:18 |
|
Krematorium
| oh | 16:18 |
|
| ok, thanks | 16:18 |
| → hackinghorn joined | 16:20 |
|
Dragnslcr
| I've used git-svn to migrate a Subversion repository to git, and everything seems to have worked fine. I'm now trying to setup mirroring commits to the git repository back to Subversion, but I don't have the original directory that I used for the migration, and I haven't been able to get it to work. | 16:21 |
| ← mei left | 16:21 |
| ← hackinghorn left | 16:21 |
|
Dragnslcr
| I've tried doing git svn clone, git remote add, and git pull, but I end up with two copies of every branch. Trying to do git svn rebase gives me "Unable to determine upstream SVN information". | 16:22 |
|
| Does anyone have any pointers to get this to work? | 16:22 |
| ← Gustavo6046 left | 16:25 |
| → Gustavo6046_ joined | 16:25 |
| → madewokherd joined | 16:27 |
| Gustavo6046_ → Gustavo6046 | 16:28 |
| → brianward joined | 16:28 |
| ← rsx left | 16:28 |
| → causa_sui joined | 16:29 |
| → harpia joined | 16:32 |
| ← alzgh left | 16:35 |
| → alzgh joined | 16:36 |
| ← m0viefreak left | 16:39 |
| → zer0bitz joined | 16:41 |
|
woss[m]
| Hi guys, I'd appreciate any constructive comments on the article i'm writing. it's a first part of the series `Rehosting on IPFS`. | 16:44 |
|
| I mainly seek the comments on the stuff i say about git, is it in the correct form, and is it correct in terms `i don't want to confuse people and tell lies`. Thank you in advance | 16:44 |
|
| https://kelp.notion.site/WIP-Part-1-Rehosting-git-repositories-on-IPFS-db5ab8e567064eba8fd10237e6b1fecc | 16:44 |
| → orbyt joined | 16:44 |
| → emf joined | 16:49 |
| → ArtVandelayer joined | 16:53 |
| → ___nick___ joined | 16:57 |
| ← ___nick___ left | 16:57 |
| → ___nick___ joined | 16:58 |
| ← Murr left | 16:58 |
| ← The_Blode_ left | 16:59 |
| → Murr joined | 16:59 |
| → junktext_ joined | 17:00 |
| ← BenjiProd left | 17:02 |
| → natrys joined | 17:02 |
| → darkdrgn2k joined | 17:03 |
|
darkdrgn2k
| is it possible to submodle into a folder of a repo, or does it always have to be root | 17:04 |
|
ikke
| no, it can be in any subdirectory | 17:04 |
|
darkdrgn2k
| how would you define that? | 17:04 |
|
thiago
| it's always the root of the submodule's repo | 17:05 |
|
darkdrgn2k
| yeh thats what i was asking :/ | 17:05 |
|
| you cant go deper into a folder in the repo | 17:06 |
|
| i guess that makes sense tough since git refrence everythig from that : | 17:06 |
| ← natrys left | 17:07 |
| ← forgotmynick left | 17:09 |
|
thiago
| note that a repository does not have a root | 17:09 |
|
| the submodule points to a commit and the commit has a root tree | 17:09 |
|
| so you can just make a commit that has something as as the root | 17:10 |
| → kenanmarasli joined | 17:12 |
| → ash_worksi joined | 17:13 |
| ← causa_sui left | 17:15 |
| → causa_sui joined | 17:16 |
| ← theoceaniscool left | 17:21 |
| ← durham left | 17:21 |
| ← causa_sui left | 17:21 |
| → durham joined | 17:22 |
| → causa_sui joined | 17:22 |
| ← vdamewood left | 17:25 |
| ← causa_sui left | 17:27 |
| ← SuperLag left | 17:28 |
| → pyeveryt_ joined | 17:34 |
| ← pyeveryt_ left | 17:39 |
| ← coot left | 17:40 |
|
relipse
| I configured my .gitignore file, then I did git add public_html only to realize it took a good 15 minutes because of all the image files, how can I add uploads/ to my .gitignore and unstage all the matching uploads/* files | 17:42 |
|
ikke
| add uploads/ to your .gitignore file using your favorite editor | 17:44 |
|
| then git rm --cached uploads | 17:44 |
|
relipse
| so just to be clear. That will not delete anything. | 17:46 |
| → masber joined | 17:46 |
| → SuperLag joined | 17:46 |
| → wojciech joined | 17:47 |
|
ikke
| correct | 17:47 |
|
| make sure you add --cached | 17:47 |
| ← wojciech left | 17:48 |
| → wojciech joined | 17:48 |
| ← wojciech left | 17:48 |
| → wojciech joined | 17:49 |
| ← wojciech left | 17:49 |
| → dolor_avis joined | 17:49 |
| → kaartic joined | 17:50 |
| ← dolor_avis left | 17:53 |
| → dolor_avis joined | 17:53 |
| ← dolor_avis left | 17:54 |
| → dolor_avis joined | 17:54 |
| ← dolor_avis left | 17:55 |
| → causa_sui joined | 17:58 |
| ← causa_sui left | 18:02 |
| ← kaartic left | 18:04 |
| ← ano left | 18:06 |
| ← Null_A left | 18:07 |
| → rsrx joined | 18:07 |
| ← rsrx left | 18:07 |
| → rsrx joined | 18:07 |
| → pyeveryt_ joined | 18:09 |
| → ano joined | 18:09 |
| → Null_A joined | 18:10 |
| → gast0n joined | 18:17 |
| → vdamewood joined | 18:17 |
| → meator joined | 18:18 |
| → vinleod joined | 18:19 |
| ← Null_A left | 18:20 |
| ← rgrinberg left | 18:20 |
| ← spare left | 18:21 |
| → spare joined | 18:21 |
| ← vdamewood left | 18:22 |
| vinleod → vdamewood | 18:22 |
| → Null_A joined | 18:22 |
| → reset joined | 18:23 |
| → The_Blode joined | 18:24 |
| → humky joined | 18:30 |
| → john_johnk joined | 18:31 |
| ← meator left | 18:33 |
| ← rsrx left | 18:35 |
| → bloodElk joined | 18:40 |
| → stats4647 joined | 18:45 |
| → kd5678__ joined | 18:45 |
| → goldfish joined | 18:48 |
| ← spare left | 18:48 |
| → spare joined | 18:48 |
| ← spare left | 18:48 |
| → spare joined | 18:49 |
| → theoceaniscool joined | 18:49 |
| ← spare left | 18:50 |
| → spare joined | 18:50 |
| ← kd5678__ left | 18:51 |
| → kd5678__ joined | 18:51 |
| → jonosterman joined | 19:03 |
|
relipse
| is it possible to see the sum total of all the sizes of the files that are staged (added with git add) | 19:04 |
|
| about to be committed | 19:04 |
|
| so i can see if my repository will get too big from this commit | 19:04 |
|
| also I tried doing git rm --cached public_html/_uploads/* and i'm getting fatal: pathspec 'public_html/_uploads/1032568974.png' did not match any files so it is failing? | 19:12 |
|
| and there are still hundreds of them in the staging area | 19:13 |
| ← Null_A left | 19:15 |
| → Null_A joined | 19:15 |
| ← theoceaniscool left | 19:19 |
| ← yeirr left | 19:22 |
| ← john_johnk left | 19:23 |
| ← BSaboia left | 19:25 |
| ← af left | 19:29 |
| → af joined | 19:30 |
| ← vdamewood left | 19:31 |
| ← Krematorium left | 19:31 |
| → ZacSharp joined | 19:34 |
| → rond_ joined | 19:34 |
|
relipse
| how do I clone a responsitory that is stored over ssh | 19:37 |
|
| is the idea of fork a git thing or is that only github and bitbucket? | 19:37 |
| ← masber left | 19:38 |
|
j416
| not a git thing | 19:38 |
|
mackerman
| fork workflow was invented by git hosting. There is no fork operation native to git. | 19:38 |
|
j416
| a fork is just another repo as far as git is concerned | 19:38 |
|
mackerman
| Regarding rm --cached, you asked to "unstage" files. This will leave them in the working directory. | 19:38 |
|
j416
| relipse: the * in public_html/_uploads/* is expanded by your shell, not git. If you want to remove that entire directory with contents, you can git rm -r --cached public_html/_uploads | 19:40 |
|
relipse
| *update* yep -r worked fine thanks | 19:40 |
|
j416
| might be able to quote it like 'public_html/_uploads/*' too. | 19:40 |
| ← Rashad left | 19:41 |
|
relipse
| I have a server that I log in as relipse and then do sudo su to get to /home/foobar/myrepo/ , how do I clone that from my home computer | 19:42 |
|
| git clone [email@hidden.address] ?? | 19:43 |
|
mackerman
| A user that can log in with ssh, and has file permissions there. | 19:43 |
|
relipse
| so i'll need root | 19:44 |
|
mackerman
| No, not root | 19:44 |
|
| You can grant user relipse read and write to ~foobar/myrepo | 19:45 |
|
relipse
| how do I do that mackerman | 19:45 |
|
mackerman
| Try asking a support channel of your operating system. | 19:45 |
|
| File permissions aren't really a git thing. | 19:46 |
|
| Would have the same problem if you wanted sftp access to upload and download files. | 19:47 |
| → Krematorium joined | 19:48 |
| → jimklimov joined | 19:48 |
| ← stats4647 left | 19:49 |
| → euouae joined | 19:52 |
|
euouae
| Hello | 19:52 |
|
| I'm confused about git workflows. Here's an example: | 19:52 |
|
| Suppose there's a function A() I want to modify. I make some changes, but it turns out that A() uses B() and B() is broken too. However, I don't want to make a gigantic PR with /too many/ changes, because it's hard to review. | 19:53 |
|
| so I make another branch, I fix B(), then I wish to continue working on A(), and I'd like to push two PRs, fix-B and fix-A. In github, this means I need the fix-A commented with "depends on #fix-B", for the sake of having some continuity -- helps reviewers. | 19:54 |
|
| My question is, after I have fixed B, do I merge A with it to continue working? Is that what I'm supposed to do? | 19:54 |
|
mackerman
| euouae: There are multple ways to do anything | 19:55 |
|
| A rebase of fix-A to the main branch might make sense after fix-B is merged. | 19:55 |
|
euouae
| That's true mackerman, I guess, I'm struggling because the project has a "clean commits" soft-policy which I guess means the merges are ugly. But rebases are good? | 19:56 |
|
| Yeah unfortunately that means I have to wait for fix-B to be merged; I want to continue working on fix-A | 19:56 |
| ← Krematorium left | 19:58 |
|
mackerman
| If you can prove fix-A fixes the problem at hand, you may not have to wait on fix-B. Depends on your workflow, reviewers, and tests. | 19:58 |
| → rgrinberg joined | 19:58 |
|
ZacSharp
| If you are sure fix-B will be merged you can merge it for yourself locally and then rebase fix-A onto that | 19:58 |
| ← furrymcgee left | 19:59 |
|
ZacSharp
| as long as you and the upstream maintainer do the same thing the commits will end up being the same | 19:59 |
|
euouae
| ZacSharp ah! nice. Why should I merge it locally? | 19:59 |
|
| Hm... ok. to repeat the actions. Got it | 19:59 |
|
ZacSharp
| only problem might be authorship | 19:59 |
|
| if the merge requires a signed commit you have no chance to do it or you discovered a severe security problem | 20:00 |
|
relipse
| do you need write permissions to clone a repo? | 20:00 |
|
| you'd think you only need read | 20:00 |
|
euouae
| ZacSharp, mackerman thanks for your help | 20:01 |
| ← ___nick___ left | 20:04 |
| → theoceaniscool joined | 20:05 |
| → evocatus joined | 20:05 |
|
euouae
| although I sign my commits, this is an open-source project with no security requirements | 20:06 |
|
ZacSharp
| the problem is if the merge is a commit signed by someone else | 20:06 |
|
lantech19446
| / autojoinem.py add\n | 20:06 |
|
euouae
| I think the merges are done automatically by github that signs them right? | 20:07 |
|
ZacSharp
| but I just noticed you can just cherry-pick your commits onto theirs and are fine | 20:07 |
|
| probably | 20:07 |
|
| I think github singns its commits | 20:07 |
|
euouae
| github kind of gets in the way sometimes :( it's annoying | 20:07 |
|
ZacSharp
| but that just prevents creating the same commit | 20:08 |
|
euouae
| Another question I have is, how to maintain the order of branches? | 20:08 |
|
ZacSharp
| you can still merge locally, work on that merge and the cherry-pick/repase/whatever the files onto the actual merge | 20:08 |
| ← kd5678__ left | 20:08 |
|
euouae
| For example if I have a main and a devel, how to ensure devel is /always/ ahead of main? | 20:08 |
|
ikke
| on github you do not have a lot of control over that | 20:09 |
| → kd5678__ joined | 20:09 |
|
euouae
| Got it. Thanks | 20:09 |
|
ikke
| Only thing you can do is prevent pushes to main and always require pull requests | 20:10 |
|
relipse
| i can't believe they are getting rid of master | 20:10 |
|
| that's so silly | 20:10 |
|
ikke
| It's not worth the effort to argue over it | 20:10 |
| ← theoceaniscool left | 20:11 |
|
j416
| do you know if git.git is also moving to make main the default name? | 20:11 |
|
ikke
| I have not seen any discussions about it | 20:12 |
| → AbleBacon joined | 20:14 |
| ← kd5678__ left | 20:16 |
|
euouae
| This project I work on uses master instead of main | 20:18 |
|
| I think it's too much work for the devs to change it right now | 20:19 |
|
ikke
| That was and still is the default for git | 20:19 |
|
euouae
| I have another project that I work on myself where I made two mistakes | 20:20 |
|
| 1) I didn'g sign the commits and 2) I forgot to include a license until after | 20:21 |
|
| how can I reapply everything, and reorder the license to be commit #1? With rebase, right? | 20:21 |
|
| (reapply everything so that it's signed) | 20:21 |
|
mackerman
| You don't need for a license to be the first commit | 20:21 |
|
euouae
| I've been told that's the case mackerman , not legal advice but general advice on a gpl channel | 20:22 |
|
ikke
| but in general, rebase can be used for these kinds of things, yes | 20:23 |
|
mackerman
| Do you have users you are having arguments with about the license? If not it doesn't matter. | 20:23 |
|
euouae
| I agree that it doesn't matter, but I want to do it regardless :P | 20:24 |
|
nedbat
| euouae: if someone says the license has to be first, they will also say that rebasing to make it first doesn't count. | 20:24 |
|
| euouae: the point is, if someone grabbed your code now, there's no license. You can't actually go back in time to fix that. | 20:25 |
| Puyo → puyoxyz | 20:25 |
|
euouae
| This is local code only nedbat | 20:25 |
|
| I have not yet made my move to upload it | 20:25 |
|
nedbat
| euouae: then it doesn't matter. | 20:25 |
|
| euouae: the first moment anyone can see the code, it has a license on it. | 20:25 |
| → Crispy joined | 20:26 |
|
mackerman
| As soon as you create a thing, it may have copyright. Depending on local laws. | 20:26 |
| → Krematorium joined | 20:27 |
| pah_ → pa | 20:27 |
| ← pa left | 20:27 |
| → pa joined | 20:27 |
| puyoxyz → Puyo | 20:30 |
| → m0viefreak joined | 20:31 |
| → rafspiny joined | 20:31 |
| → causa_sui joined | 20:32 |
| ← ArtVandelayer left | 20:35 |
| ← aniruddha left | 20:36 |
| ← causa_sui left | 20:37 |
| → ghost43_ joined | 20:39 |
| → remyabel joined | 20:40 |
| ← Null_A left | 20:40 |
| ← ghost43 left | 20:41 |
| ← rgrinberg left | 20:41 |
| ← junktext_ left | 20:41 |
| ← Krematorium left | 20:42 |
| → junktext_ joined | 20:42 |
| gordonfish- → gordonfish | 20:44 |
| → lantech19446 joined | 20:46 |
| ← madewokherd left | 20:47 |
| ← lantech19446 left | 20:48 |
| → lantech19446 joined | 20:48 |
| → mat001 joined | 20:50 |
| → ArtVandelayer joined | 20:51 |
| ← rond_ left | 20:55 |
| ← zer0bitz left | 20:58 |
| ← Murr left | 20:58 |
| → Murr joined | 20:58 |
| → vdamewood joined | 20:59 |
| ← euouae left | 20:59 |
| ← Gustavo6046 left | 21:04 |
| ← evocatus left | 21:07 |
| → Gustavo6046 joined | 21:07 |
| ← johncs left | 21:09 |
| → vinleod joined | 21:10 |
| → johncs joined | 21:10 |
| ← vdamewood left | 21:11 |
| ← Ilyu left | 21:12 |
| ← mat001 left | 21:16 |
| → rgrinberg joined | 21:22 |
| ← zebrag left | 21:22 |
| → mat001 joined | 21:24 |
| → forgotmynick joined | 21:24 |
| ← orbyt left | 21:25 |
| ← kenanmarasli left | 21:26 |
| → madewokherd joined | 21:27 |
| → ZacSharp63 joined | 21:30 |
| ← Sario left | 21:31 |
| → ericnoan joined | 21:31 |
| → SpacePlod joined | 21:31 |
| → avar joined | 21:31 |
| → starfarer joined | 21:31 |
| → xaxas joined | 21:31 |
| → NoImNotNineVolt joined | 21:31 |
| → mattf joined | 21:31 |
| → mfiano joined | 21:31 |
| → makara joined | 21:31 |
| → Ugrastil joined | 21:31 |
| → sahilister joined | 21:31 |
| → blmt joined | 21:31 |
| → eschwartz joined | 21:32 |
| → alissa joined | 21:32 |
| → Tabmow joined | 21:32 |
| → gjnoonan joined | 21:32 |
| → hendry joined | 21:32 |
| → Piraty joined | 21:32 |
| → wilz joined | 21:32 |
| → Sario joined | 21:32 |
| → eamanu joined | 21:32 |
| → hwrd joined | 21:32 |
| → NiKaN joined | 21:32 |
| → shush joined | 21:32 |
| → paruh joined | 21:32 |
| → Byteflux joined | 21:33 |
| → det joined | 21:33 |
| → dgw joined | 21:33 |
| → themill joined | 21:33 |
| → jrm joined | 21:33 |
| → jinsun joined | 21:33 |
| → Anarchic joined | 21:33 |
| → sunyibo joined | 21:33 |
| → jiffe joined | 21:33 |
| → mrkajetanp joined | 21:33 |
| → lemonsnicks joined | 21:33 |
| → Cyp joined | 21:33 |
| → Ram-Z joined | 21:33 |
| → Timvde joined | 21:33 |
| → amosbird joined | 21:33 |
| → webstrand joined | 21:33 |
| → dslegends joined | 21:33 |
| ← ZacSharp left | 21:33 |
| ← computeiro left | 21:34 |
| ZacSharp63 → ZacSharp | 21:36 |
| → RichiH joined | 21:36 |
| → hanneso joined | 21:36 |
| → tureba joined | 21:36 |
| → cryptonector joined | 21:36 |
| ← jimklimov left | 21:36 |
| → arand joined | 21:36 |
| ← ash_worksi left | 21:42 |
| → euouae joined | 21:42 |
|
euouae
| I have | 21:42 |
|
| I have origin and upstream and it's a bit misconfigured | 21:42 |
|
| I originally had origin to be my gh clone, but I want to only push to my gh clone and do PRs, instead of fetching from gh clone | 21:42 |
|
| so I'm trying to have branch foo track upstream/foo instead of origin/foo. How can I do this? I used --unset-upstream, but I don't understand how to use --set-upstream-to | 21:43 |
| ← mat001 left | 21:43 |
| → jimklimov joined | 21:45 |
| ← gh34 left | 21:46 |
| → jazzy joined | 21:47 |
| ← jimklimov left | 21:47 |
| → cahoots joined | 21:48 |
| jazzy → jazz-o-lantern | 21:48 |
|
ZacSharp
| you just checkout the branch and run `git branch --set-upstream-to=remote/branch` | 21:49 |
|
| do you have write permissions for the repo? Otherwise it might be better to set up a triangular setup where you fetch from upstream but push to origin | 21:50 |
| → mat001 joined | 21:51 |
| ← spare left | 21:52 |
| → spare joined | 21:52 |
| ← junktext_ left | 21:52 |
| ← spare left | 21:55 |
| → zebrag joined | 21:57 |
|
cahoots
| hi, i'm trying to make a tool for github CI. for various legacy reasons, it can only have the name of the base branch and sha of the topic branch that the pr is trying to merge in. given this, can i reliably determine the sha of the base branch with which topic has been merged for the CI job? i mean, github always just merges topic with some base branch, so i can just look at the head commit and use the | 22:00 |
|
| parent sha that's not the topic sha i've been given, right? | 22:00 |
| ← eschwartz left | 22:00 |
| → eschwartz joined | 22:00 |
| ← rewrit3 left | 22:01 |
| ← euouae left | 22:01 |
|
ZacSharp
| In fact, if you can rely on Github always merging the pr into the base branch and never the base branch into the pr you can just take the first parent | 22:02 |
| ← harpia left | 22:04 |
| ← mat001 left | 22:07 |
| → causa_sui joined | 22:10 |
|
cahoots
| can i rely on that? | 22:14 |
| ← causa_sui left | 22:14 |
| → LuKaRo joined | 22:22 |
| → jazzy joined | 22:23 |
| ← jazz-o-lantern left | 22:25 |
| ← Swahili left | 22:29 |
| → ash_worksi joined | 22:29 |
| → Swahili joined | 22:30 |
| ← rafspiny left | 22:31 |
| vinleod → vdamewood | 22:34 |
| ← rgrinberg left | 22:37 |
| → DoofusCanadensis joined | 22:37 |
| ← jazzy left | 22:39 |
| ← nyah left | 22:40 |
| → BisexualWolf joined | 22:42 |
| → mat001 joined | 22:42 |
|
BisexualWolf
| Hello, all. I have a personal project and I'm trying to work on documenting it. I am hosting the documentation on gh-pages and was wanting to use the jekyll theme "documentation" from tomjoht/documentation-theme-jekyll on github. My question is how best to make use of the repo. | 22:42 |
|
| My repo has a docs directory in the master branch that will be used for the documentation. My first thought was to just clone the repo into that directory and then make the required changes and i need and then push my changes back to my repo. But I would like to maintain upstream changes/improvements to the theme in my theme, so I thought to use a git submodlule after cloning into the docs directory. | 22:42 |
|
| Would using git submodules be the proper way to make use of theme but still be able to receive upstream changes? Is there a better way to achive what I'm after? | 22:43 |
| ← mat001 left | 22:46 |
| ← daoudr left | 22:46 |
| → jazzy joined | 22:48 |
| ← palasso left | 22:51 |
|
BisexualWolf
| Or having just finished reading about git subtree, which one sounds more true to what I'm trying to accomplish? | 22:53 |
| → hbautista joined | 22:57 |
| → ChemicalRascal joined | 22:58 |
| → magic_ninja_work joined | 23:00 |
| ← pizdets left | 23:02 |
| → pizdets joined | 23:03 |
| ← det left | 23:07 |
| → Xenguy joined | 23:08 |
| → det joined | 23:12 |
| ← brianward left | 23:14 |
| ← ash_worksi left | 23:15 |
| ← darkdrgn2k left | 23:19 |
| → howudodat joined | 23:24 |
|
howudodat
| I have a weird problem synchronizing repos. | 23:24 |
|
| I have a local repo on my computer, and I created a central repo on my web server. On another computer I did git clone to retrieve from the web server | 23:25 |
|
| Computer A: added some files and made some changes, did a commit and push to local repo and push to central repo | 23:25 |
|
| Computer B: pulled those files down, and now they show as unstaged / untracked on Computer B | 23:26 |
| ← goldfish left | 23:27 |
| ← vdamewood left | 23:31 |
| ← Gustavo6046 left | 23:35 |
| → rafspiny joined | 23:36 |
| → Gustavo6046 joined | 23:36 |
| → ninjin joined | 23:39 |
| → rgrinberg joined | 23:40 |
| ← ZacSharp left | 23:41 |
| ← magic_ninja_work left | 23:41 |
| ← DoofusCanadensis left | 23:42 |
| → stats4647 joined | 23:46 |
| → ZacSharp joined | 23:47 |
| ← ZacSharp left | 23:48 |
| ← stats4647 left | 23:50 |
| → dsrt^ joined | 23:55 |