| 2022-11-13 |
|
NorrinRadd
| the feature branch merges should not have been lost | 00:00 |
|
lmat
| nedbat: Yes, it's a very pared down git flow. Basically, develop branch, master branch, feature branches. That's about it :-D | 00:00 |
| ← thebombzen left | 00:00 |
|
NorrinRadd
| as long as you rebase on top of and do not edit any commits, those commits will still be there | 00:00 |
|
| in a big enough team, i think git-flow can be useful. for teams that don't release often and don't have good CI and potentially still use manual testing, it can be useful | 00:02 |
|
| lmat they most likely need hotfix branches also | 00:02 |
| → hbautista joined | 00:03 |
|
NorrinRadd
| but back to the original issue, github is saying development is not updated because somehow master updated from a source that is not development. a hotfix is a good enough reason. but either someone commited to it directly, which is most likely against the team room. So they screwed up the repo. | 00:04 |
|
| i said rebase development but that's not necessarily good because it'll disturb the development branch that people have locally. you can also merge master into development and it should solve the problem | 00:05 |
|
| meh just review the merge commit thoroughly to make sure it isn't reverting any development work | 00:05 |
| → thebombzen joined | 00:06 |
|
NorrinRadd
| in the future any hotfixes should merge both into master and the development branch at roughly the same time | 00:06 |
|
BtbN
| the merge commit alone is enough to make it says it's not up to date | 00:07 |
| ← xandris left | 00:10 |
| ← TonyStone31 left | 00:11 |
| → xandris joined | 00:12 |
| → hoochmonger joined | 00:17 |
| → _natrys_ joined | 00:18 |
|
lmat
| NorrinRadd: "somehow master updated from a source that is not development." I am unable to verify that. Like I said, the only commit on master that is NOT on development is the last merge from development to master. | 00:18 |
|
| BtbN: Thank you. | 00:19 |
|
NorrinRadd
| yeah master should have been fast-forwarded instead of a merge commit | 00:19 |
|
lmat
| https://github.com/STARTedUP-Foundation/IEDC-Webserver/pull/197 | 00:20 |
|
| NorrinRadd: Oh...hmm | 00:20 |
|
| NorrinRadd: Does Microsoft Github do FF? | 00:20 |
|
NorrinRadd
| yes | 00:20 |
| ← natrys_ left | 00:21 |
|
NorrinRadd
| BtbN but if its merged back to dev, it should get rid of the github complaint i think | 00:21 |
|
BtbN
| With a Spaghetti-History like that, who knows how Github interprets things | 00:22 |
|
| I've just learned to avoid merge commits, since they always cause confusion and complications | 00:22 |
|
NorrinRadd
| ^ that part | 00:22 |
|
lmat
| NorrinRadd: I agree: merging that merge commit back to dev should get rid of it. But I don't want to do that. | 00:23 |
|
| BtbN: No merges at all? | 00:23 |
|
BtbN
| no, they confusing | 00:23 |
|
lmat
| BtbN: Do you work on a team (of more than one ^_^)? | 00:23 |
| → TonyStone31 joined | 00:23 |
|
NorrinRadd
| it's possible to work without merges | 00:23 |
|
lmat
| Certainly, | 00:23 |
|
NorrinRadd
| on a large team even | 00:23 |
|
BtbN
| Not using merge commits does not mean not working in branches... | 00:24 |
|
NorrinRadd
| git-flow generally only moves in one directly | 00:24 |
|
| from devs up to master | 00:24 |
|
| not the reverse | 00:24 |
|
| s/directly/direction | 00:24 |
|
lmat
| The way I generally work is basically the same, except that we use merge commits (that could be FFs) to help delineate feature branches: https://imgur.com/a/k3Ems9R | 00:25 |
|
NorrinRadd
| keeps your git history nice and linear | 00:25 |
|
BtbN
| doing bisects with merge commits is more painful as well | 00:25 |
|
lmat
| BtbN: certainly! | 00:25 |
|
BtbN
| I'd rather have single, isolated commits, each doing one thing, in one long line | 00:25 |
|
lmat
| With the pattern I posted above, the merge commits are helpful because they point back to the Microsoft Github pull request so that I can see the code review comments and discussion. | 00:26 |
|
NorrinRadd
| lmat all that can be part of commit messages though | 00:26 |
|
| the link to the PRs, etc | 00:27 |
|
| i guess what i mean to say is, you can configure github so that when a PR is "merged", it'll so a fast forward with a commit message that contains the first message of the PR. | 00:28 |
|
lmat
| NorrinRadd: Yeah...I don't think I could get my team to be that tidy xD | 00:28 |
|
specing
| remember the days when git was supposed to store project history | 00:28 |
|
BtbN
| Github is smart enough to keep a refernece to the PR if you rebase-merge via its UI anyway | 00:28 |
|
lmat
| specing: curated project history ;-) | 00:29 |
|
BtbN
| "Project history" like... "Fixes", "More Fixes", "Ooops", "seriufgbsrgf", "", ... | 00:29 |
|
| Each commit with a random amount of changes ranging from -1+1 to -3000+5000000 | 00:30 |
| ← _natrys_ left | 00:30 |
|
lmat
| BtbN: No kidding! | 00:30 |
|
| BtbN: "Added css property" "that didn't work, using inline styles" "forgot comma". I mean, for real. I look at coworkers' 50-commit feature branches and almost all of them are fixing typos from previous commits. That is not helpful. | 00:31 |
|
BtbN
| There is nothing wrong with making commits pretty. That's what feature staging branches are for | 00:31 |
|
nedbat
| lmat: why do you type "Microsoft GitHub" each time instead of just "github"? | 00:31 |
|
BtbN
| Each commit should be precise, concise and work on its own. | 00:32 |
|
lmat
| nedbat: Not sure...been doing that for many years. Same reason I type Microsoft Outlook and Microsoft Windows and GNU/Linux and Atlassian Jira and Chevrolet Camaro :shrug: | 00:35 |
|
NorrinRadd
| BtbN++ | 00:36 |
|
lmat
| BtbN: Oh if only...I will rejoice when I see the day in one of my projects! | 00:36 |
|
NorrinRadd
| you make it a rule & work doesn't get "meged" until they fix their commit messages | 00:36 |
|
| giving them a format to fill out helps | 00:37 |
|
BtbN
| You want me to merge your code? You at least follow basic git hygiene. | 00:37 |
|
nedbat
| lmat: you can save some typing | 00:38 |
| → brezanac joined | 00:45 |
| → mandeep joined | 00:47 |
| ← brezanac left | 00:49 |
| → ThorMojito joined | 01:09 |
| ← TonyStone31 left | 01:16 |
| ← forgotmynick left | 01:17 |
| ← thuna` left | 01:17 |
| → thuna` joined | 01:18 |
| ← eligos left | 01:25 |
| ← gvg left | 01:30 |
| ← rgrinberg left | 01:36 |
| ← wootehfoot left | 01:38 |
| → xx joined | 01:38 |
| ← ghost43 left | 01:39 |
| ← FinnElija left | 01:39 |
| ← Aminda left | 01:39 |
| → ghost43 joined | 01:39 |
| → Aminda joined | 01:40 |
| → thiago joined | 01:40 |
| → FinnElija joined | 01:43 |
| → lucasta joined | 01:43 |
| → rgrinberg joined | 01:44 |
| → va5c0 joined | 01:45 |
| → TonyStone31 joined | 01:45 |
| ← ghost43 left | 01:49 |
| → ghost43 joined | 01:50 |
| ← va5c0 left | 01:50 |
| ← crabbedhaloablut left | 01:51 |
| → crabbedhaloablut joined | 01:51 |
| → va5c0 joined | 01:52 |
| ← ThorMojito left | 02:00 |
| ← va5c0 left | 02:00 |
| → va5c0 joined | 02:01 |
| ← va5c0 left | 02:03 |
| ← DaNeenjah left | 02:03 |
| → va5c0 joined | 02:06 |
| ← TonyStone31 left | 02:06 |
| ← va5c0 left | 02:09 |
| → va5c0 joined | 02:09 |
| ← clime left | 02:12 |
| → YuGiOhJCJ joined | 02:13 |
| ← va5c0 left | 02:13 |
| → elastic_1 joined | 02:17 |
| ← elastic_dog left | 02:17 |
| elastic_1 → elastic_dog | 02:17 |
| ← ___nick___ left | 02:19 |
| ← Aminda left | 02:20 |
| ← YuGiOhJCJ left | 02:20 |
| → Aminda joined | 02:20 |
| → YuGiOhJCJ joined | 02:20 |
| → TonyStone31 joined | 02:20 |
| → ___nick___ joined | 02:21 |
| ← ___nick___ left | 02:21 |
| → ___nick___ joined | 02:23 |
| ← atrigent_ left | 02:23 |
| → atrigent joined | 02:24 |
| → small joined | 02:26 |
| ← YuGiOhJCJ left | 02:30 |
| → YuGiOhJCJ joined | 02:31 |
| ← TonyStone31 left | 02:34 |
| ← thuna` left | 02:36 |
| ← loulou_ left | 02:37 |
| → hiroot joined | 02:38 |
| ← tonymke left | 02:39 |
| ← thiago left | 02:40 |
| → wallabra joined | 02:45 |
| ← funhouse__ left | 02:47 |
| → atrigent_ joined | 02:59 |
| ← atrigent left | 03:00 |
| → wallabra_ joined | 03:04 |
| ← wallabra left | 03:05 |
| wallabra_ → wallabra | 03:05 |
| ← atrigent_ left | 03:10 |
| ← audio left | 03:11 |
| ← vaaleyard left | 03:12 |
| → audio joined | 03:12 |
| ← moldorcoder7 left | 03:12 |
| → thiago joined | 03:12 |
| → TonyStone31 joined | 03:13 |
| ← TonyStone31 left | 03:19 |
| → ikwyl6 joined | 03:21 |
| → gvg_ joined | 03:22 |
| ← gvg_ left | 03:22 |
| → vdamewood joined | 03:25 |
| ← ferdna left | 03:26 |
| → gvg joined | 03:29 |
| ← gvg left | 03:31 |
| ← hoochmonger left | 03:32 |
| ← lucasta left | 03:32 |
| → gvg joined | 03:37 |
| → SirRippovMaple5 joined | 03:38 |
| → lucasta joined | 03:38 |
| → TonyStone31 joined | 03:39 |
| → vaaleyard joined | 03:41 |
| ← audio left | 03:44 |
| ← terrorjack left | 03:48 |
| → terrorjack joined | 03:49 |
| → ThorMojito joined | 03:52 |
| ← ThorMojito left | 03:53 |
| ← hiroot left | 04:17 |
| ← thebombzen left | 04:19 |
| smol-hors → pony | 04:19 |
| → vyryls joined | 04:27 |
| → gsi_ joined | 04:29 |
| → ThorMojito joined | 04:31 |
| ← ThorMojito left | 04:32 |
| ← gsi left | 04:32 |
| ← vdamewood left | 04:32 |
| ← gast0n left | 04:36 |
| ← vyryls left | 04:40 |
| → Milos joined | 04:41 |
| ← zebrag left | 04:44 |
| → hiroot joined | 04:44 |
| ← zulutango left | 04:51 |
| → vdamewood joined | 04:51 |
| ← lucasta left | 04:54 |
| ← small left | 04:56 |
| → audio joined | 04:59 |
| → small joined | 04:59 |
| ← hiroot left | 05:05 |
| ← wallabra left | 05:07 |
| → valeyard joined | 05:08 |
| ← vaaleyard left | 05:12 |
| → nate4 joined | 05:16 |
| → wallabra joined | 05:18 |
| ← nate4 left | 05:20 |
| → Lord_of_Life_ joined | 05:28 |
| ← Lord_of_Life left | 05:29 |
| Lord_of_Life_ → Lord_of_Life | 05:30 |
| ← small left | 05:34 |
| ← rgrinberg left | 05:41 |
| ← YuGiOhJCJ left | 05:46 |
| → YuGiOhJCJ joined | 05:47 |
| → madewokherd` joined | 05:52 |
| ← chexum left | 05:53 |
| → chexum joined | 05:53 |
| ← madewokherd left | 05:54 |
| ← jundran left | 05:55 |
| → ThorMojito joined | 05:55 |
| ← ThorMojito left | 05:55 |
| → jmd joined | 05:58 |
| ← reset left | 06:00 |
| ← audio left | 06:03 |
| ← valeyard left | 06:03 |
| → xlirate__ joined | 06:06 |
| ← xlirate_ left | 06:09 |
| → small joined | 06:12 |
| → ThorMojito joined | 06:19 |
| ← ThorMojito left | 06:19 |
| ← Murr left | 06:25 |
| → Murr joined | 06:26 |
| ← hbautista left | 06:28 |
| → igemnace joined | 06:37 |
| → zenobius joined | 06:37 |
| → ThorMojito joined | 06:40 |
| ← YuGiOhJCJ left | 06:40 |
| ← ThorMojito left | 06:40 |
| → YuGiOhJCJ joined | 06:41 |
| ← Aminda left | 06:41 |
| ← YuGiOhJCJ left | 06:42 |
| → Aminda joined | 06:42 |
| → YuGiOhJCJ joined | 06:43 |
| → vyryls joined | 06:51 |
| → nate4 joined | 06:52 |
| → thebombzen joined | 06:53 |
| ← YuGiOhJCJ left | 06:54 |
| → YuGiOhJCJ joined | 06:55 |
| ← nate4 left | 06:56 |
| ← vyryls left | 06:58 |
| → ThorMojito joined | 06:59 |
| ← ThorMojito left | 06:59 |
| pony → smol-hors | 07:00 |
| ← jmd left | 07:04 |
| → jmd joined | 07:05 |
| ← jmd left | 07:05 |
| → jmd joined | 07:05 |
| → IceMichael joined | 07:11 |
|
IceMichael
| hi guys | 07:11 |
|
| cross-posting from docker, but I think, it's really just a git question: I would like to retrieve the revision from git, which I can do. But which files do I need for that? Currently I copy .git to my container but... that seems huge | 07:12 |
|
Celeo
| Revision as in current commit SHA? If so: ./.git/refs/heads/<branch_name> | 07:17 |
|
IceMichael
| Celeo: yeah! hm, let me try | 07:18 |
| ← small left | 07:20 |
| → ThorMojito joined | 07:20 |
|
IceMichael
| well, but it will still yield "not a git repository" | 07:20 |
| ← Aminda left | 07:20 |
|
IceMichael
| I mean, I could just directly access the files | 07:20 |
| ← ThorMojito left | 07:20 |
| → Aminda joined | 07:21 |
|
IceMichael
| so I would basically "git ref-parse HEAD" to work | 07:21 |
|
Celeo
| If you have the .git folder, yeah, that command would work. The _latest_ SHA is in that file, if that's all you need. | 07:24 |
|
IceMichael
| yeah, my issue is: I don't want to COPY my entire .git folder into my docker container just to get this command working | 07:24 |
|
| .git is clearly large :) | 07:24 |
|
| so I was thinking: maybe copy a subset... | 07:25 |
|
| but now I'm thinking, maybe it's cleaner to just run the git command before and ship the result | 07:25 |
| ← elastic_dog left | 07:26 |
| → elastic_1 joined | 07:26 |
| elastic_1 → elastic_dog | 07:26 |
|
gnoo
| you could try a shallow clone | 07:32 |
|
| git clone --depth 1 | 07:33 |
|
IceMichael
| gnoo: yeah, but it's rather not 3rd party | 07:36 |
|
| depth 0 would be nice lol | 07:37 |
| ← igemnace left | 07:38 |
| → zeenk joined | 07:38 |
| → ThorMojito joined | 07:41 |
| ← ThorMojito left | 07:42 |
|
Celeo
| Could also give `git clone --no-checkout` a run; depends on where the size you don't want is located - the git history, or the repo content | 07:43 |
|
IceMichael
| ah sorry, misunderstood depth | 07:44 |
|
| Celeo: ah, I could combine it | 07:44 |
| ← thiago left | 07:48 |
| → dnh joined | 07:48 |
|
IceMichael
| ok, I need history but no checkout, so that helps, thank you guys :) 478M -> 22MB | 07:48 |
|
Celeo
| Great! | 07:53 |
|
IceMichael
| yes, thank you very much :) | 07:58 |
| ← rustyshackleford left | 07:59 |
|
IceMichael
| well, that shifts more from docker stuff into a outside-docker bash file but cannot be helped | 07:59 |
|
| (with disadvantage that this does not work well on Windows, not sure how to solve this... maybe use Python?!) | 07:59 |
| ← derjanni left | 08:01 |
| → derjanni joined | 08:02 |
| → han-solo joined | 08:04 |
| → feriman joined | 08:14 |
| ← potash left | 08:18 |
| → igemnace joined | 08:20 |
| → fling_ joined | 08:24 |
| ← fling left | 08:25 |
| ← Techcable left | 08:25 |
| → potash joined | 08:30 |
| fling_ → fling | 08:31 |
| → dksnd joined | 08:34 |
| ← YuGiOhJCJ left | 08:40 |
| ← jazzy left | 08:44 |
| ← dksnd left | 08:45 |
| ← jmd left | 08:48 |
| → jmd joined | 08:48 |
| → atrigent joined | 08:53 |
| → sedzcat joined | 08:54 |
| ← fling left | 08:59 |
| → fling joined | 08:59 |
| ← jfsimon1981 left | 09:05 |
| → jfsimon1981 joined | 09:06 |
| → nate4 joined | 09:10 |
| → sa0 joined | 09:12 |
| ← nate4 left | 09:15 |
| → YuGiOhJCJ joined | 09:16 |
| → bpaster joined | 09:17 |
|
bpaster
| is there a way to put a badge on README.md that shows the amout of git clones in github? | 09:17 |
|
| or unique visitors | 09:17 |
| → EvilDMP joined | 09:19 |
| ← bodiccea left | 09:20 |
|
bookworm
| bpaster: #github is over there --> | 09:20 |
|
bpaster
| kk | 09:20 |
| → srinidhi joined | 09:21 |
| → ThorMojito joined | 09:22 |
| ← ThorMojito left | 09:22 |
| → bodiccea joined | 09:25 |
| ← YuGiOhJCJ left | 09:25 |
| → YuGiOhJCJ joined | 09:25 |
|
bpaster
| bookworm, are you a git pro? | 09:32 |
|
bookworm
| I can manage... wouldn't call myself a pro | 09:33 |
| → small joined | 09:33 |
|
bookworm
| if you ask an actual question, someone out of ~850 people probably knows the answer | 09:33 |
|
bpaster
| bookworm, i had a question but it solved itself lol. my git remote show origin didnt show my branches in 'Local refs configured for 'git push'... but after i restarted my computer it shows now for some reason o_o | 09:34 |
|
bookworm
| sounds like a GUI ? | 09:35 |
|
bpaster
| im using cli | 09:35 |
|
| git version 2.34.1 | 09:35 |
|
| it updated the | 09:35 |
|
| 'git pull side' correctly, but for some reason didnt show on push | 09:36 |
| ← t0mm13b left | 09:36 |
|
bookworm
| ah, I never issue git remote show | 09:36 |
|
bpaster
| you just have upstream in config? | 09:36 |
|
bookworm
| if I want to associate a branch, I push with -u... from then on I don't need to care | 09:37 |
|
| and generally I know what's mapped to what, so I don't need to query that information | 09:37 |
|
| (it's normally a one to one mapping anyhow) | 09:37 |
|
bpaster
| well i was working on another branch and i did the --upstream-set-to so remote show origin updated for pull, i could git pull without extras, but git push didnt work, but now it seems it works after i restarted... | 09:38 |
|
bookworm
| restarting your OS shouldn't impact git in the slightes t | 09:39 |
|
bpaster
| I agree 100% thats why i was confused | 09:39 |
|
bookworm
| considering that it dies between invocations, every new git command starts from scratch | 09:39 |
|
| (it uses the fs as a cache, but those survive a reboot) | 09:39 |
| → atrigent_ joined | 09:39 |
|
bpaster
| bookworm, if you make pseudo branch now and remote it to another pseudo branch | 09:39 |
|
| does it update both push and pull for you? | 09:40 |
| ← atrigent left | 09:40 |
|
bookworm
| s/remote/rename/ ? | 09:40 |
|
bpaster
| in 'git show remote origin' | 09:40 |
|
| im a git newb so i have some wrong commands in histry... but i did 'git checkout -b tracker2' then 'git branch --set-upstream-to origin/fake2' / 'git push --set-upstream origin tracker2:fake2' | 09:42 |
|
| and so on... and 'git remote show origin' | 09:42 |
|
| it updated the git pull side | 09:42 |
|
| but not push for whatever reason | 09:42 |
|
| osse tried to help me but i think he had the same problem | 09:43 |
|
| so i just resorted to changing confing to 'push.default upstream' | 09:43 |
|
bookworm
| well, _osse is what I'd call a git pro, so if they reproduced it, it is in fact that way (might be buggy) | 09:43 |
|
bpaster
| it still didnt show in 'git remote show origin' in push section | 09:43 |
|
| oh okay | 09:44 |
|
| bookworm, are you able to reproduce it? | 09:44 |
|
| can i make a bug report somewhere or | 09:44 |
|
bookworm
| you can ask the git mailing list | 09:44 |
|
bpaster
| i have no idea why it shows now though, like you said after restarting my pc | 09:45 |
|
| Local refs configured for 'git push': main pushes to main ... was only shown, but now it shows the other two branches as well | 09:45 |
| ← crabbedhaloablut left | 09:46 |
| → crabbedhaloablut joined | 09:46 |
| → rsx joined | 09:48 |
| → dionysus69 joined | 09:49 |
|
bookworm
| you'll need to get a reproducer (minimal), preferably something that can be run from an small script to get to the same state | 09:50 |
|
| that is, if you want to poke the mailing list | 09:51 |
| ← sa0 left | 09:53 |
| → sa0 joined | 09:53 |
| → coot joined | 09:53 |
| ← Betal left | 09:56 |
| ← coot left | 09:59 |
| → t0mm13b joined | 09:59 |
| → coot joined | 10:00 |
| ← bodiccea left | 10:02 |
| → bodiccea joined | 10:02 |
| ← coot left | 10:05 |
| ← bodiccea left | 10:08 |
| → Techcable joined | 10:09 |
| → bodiccea joined | 10:10 |
| → ThorMojito joined | 10:12 |
| ← ThorMojito left | 10:12 |
| → vitali64 joined | 10:18 |
| ← vitali64 left | 10:19 |
| → jackneilll joined | 10:22 |
| → vitali64 joined | 10:24 |
| ← vitali64 left | 10:24 |
| → vitali64 joined | 10:24 |
| vitali64 → f_ | 10:25 |
| ← Murr left | 10:25 |
| ← bodiccea left | 10:26 |
| → Murr joined | 10:26 |
| → bodiccea joined | 10:26 |
| ← bodiccea left | 10:28 |
| → bodiccea joined | 10:33 |
| ← bodiccea left | 10:41 |
| → sedzcat1 joined | 10:43 |
| ← sedzcat left | 10:44 |
| sedzcat1 → sedzcat | 10:44 |
| → bodiccea joined | 10:45 |
| ← teddyc left | 10:47 |
| ← skapata left | 10:47 |
| → coot joined | 10:47 |
| → peirik_ joined | 10:52 |
| → teddyc joined | 11:01 |
| → liefer39 joined | 11:08 |
| → memoryleak joined | 11:16 |
| ← peirik_ left | 11:18 |
| → peirik_ joined | 11:20 |
| → atrigent joined | 11:20 |
| ← atrigent_ left | 11:21 |
| → clime joined | 11:21 |
| → terminalpusher joined | 11:22 |
| ← zer0bitz left | 11:29 |
| → cdown joined | 11:33 |
| → mw_ joined | 11:36 |
| ← memoryleak left | 11:36 |
| ← mw_ left | 11:37 |
| → bgs joined | 11:38 |
| → memoryleak joined | 11:39 |
| ← f_ left | 11:40 |
| ← teddyc left | 11:40 |
| → vitali64 joined | 11:41 |
| ← EvilDMP left | 11:43 |
| → lucasta joined | 11:43 |
| → EvilDMP joined | 11:43 |
| → zer0bitz joined | 11:45 |
| → wootehfoot joined | 11:45 |
| ← peirik_ left | 11:50 |
| ← vdamewood left | 11:50 |
| → vdamewood joined | 11:51 |
| → teddyc joined | 11:53 |
| ← cdown left | 11:54 |
| → momomo joined | 11:58 |
| → humanface joined | 11:59 |
|
humanface
| hello | 11:59 |
|
| if I set a github repo to public, then everybody can search and find that repo easily, and possibly add anything to that? | 11:59 |
|
| so if I go to sleep and when I wake up, there could be modifications or the whole repo could have been deleted by a random user? | 12:00 |
|
| or how does it work? | 12:00 |
| ← clime left | 12:00 |
| ← vitali64 left | 12:00 |
| → vitali64 joined | 12:01 |
| → roadie joined | 12:02 |
| ← vitali64 left | 12:03 |
| ← stemid left | 12:03 |
| → vitali64 joined | 12:04 |
| → john_johnk joined | 12:04 |
| ← jmd left | 12:05 |
| → stemid joined | 12:05 |
|
osse
| bpaster: I think it's just git remote show being weird, not that the configuration is weird | 12:12 |
|
nedbat
| humanface: a github public repo is not public-writable. | 12:13 |
| vitali64 → f_ | 12:14 |
| → ThorMojito joined | 12:16 |
| ← feriman left | 12:16 |
| → duxsco joined | 12:16 |
| ← ThorMojito left | 12:16 |
| → peirik_ joined | 12:17 |
| ← bpaster left | 12:20 |
| ← wootehfoot left | 12:25 |
| → jmd joined | 12:27 |
| ← YuGiOhJCJ left | 12:29 |
| ← jmd left | 12:34 |
| ← peirik_ left | 12:50 |
| → gareppa joined | 13:07 |
| ← duxsco left | 13:09 |
| → duxsco joined | 13:11 |
| → ThorMojito joined | 13:11 |
| ← ThorMojito left | 13:12 |
| → nate4 joined | 13:12 |
| ← f_ left | 13:16 |
| ← nate4 left | 13:17 |
| ← gareppa left | 13:18 |
| → gareppa joined | 13:19 |
| ← gareppa left | 13:20 |
| → gareppa joined | 13:20 |
| ← yappar left | 13:21 |
| ← coot left | 13:22 |
| ← OnkelBlade left | 13:22 |
| → jmd joined | 13:24 |
| ← roadie left | 13:24 |
| → OnkelBlade joined | 13:24 |
| → peirik_ joined | 13:25 |
| → szkl joined | 13:28 |
| ← OnkelBlade left | 13:29 |
| → yappar joined | 13:29 |
| ← wallabra left | 13:30 |
| ← peirik_ left | 13:30 |
| → OnkelBlade joined | 13:31 |
| → ThorMojito joined | 13:32 |
| ← ThorMojito left | 13:33 |
| ← yappar left | 13:34 |
|
gsi_
| "public repo" in github means it's just publicly visible, readable | 13:36 |
|
| but only the owner (you) or the people that _you_ allow to can write there | 13:37 |
|
| when in doubt, than check _that_ provider's documentation (github happens to use git, but "isn't git") | 13:38 |
| → yappar joined | 13:43 |
| ← lucasta left | 13:46 |
| ← yappar left | 13:48 |
| → ThorMojito joined | 13:52 |
| → yappar joined | 13:53 |
| ← ThorMojito left | 13:53 |
| ← yappar left | 13:54 |
| → yappar joined | 13:54 |
| ← chexum left | 14:01 |
| → chexum joined | 14:02 |
| → mw_ joined | 14:05 |
| → kkawg joined | 14:07 |
| ← jmd left | 14:07 |
|
humanface
| gsi_ thanks | 14:07 |
| → jmd joined | 14:07 |
| ← jmd left | 14:08 |
|
humanface
| gsi_ so in general, if you want to share a test project with a recruiter (a lead dev), for example, then you usually set the repo to public, and give him the url, right? | 14:08 |
| ← rsx left | 14:08 |
| → peirik_ joined | 14:08 |
|
humanface
| and not the other way around (private repo, inviting the recruiter lead dev as collaborator) | 14:09 |
| → duxsco75 joined | 14:10 |
| duxsco → Guest3590 | 14:11 |
| → jmd joined | 14:11 |
| duxsco75 → duxsco | 14:11 |
| → ferdna joined | 14:11 |
| ← chexum left | 14:11 |
| ← Guest3590 left | 14:12 |
| → ThorMojito joined | 14:17 |
| ← ThorMojito left | 14:18 |
|
nedbat
| humanface: right. The recruiter can read but not write if you make it public. He can write to it if you invite them as a collaborator, and also that introduces a hurdle for them (they need a GitHub account, they need to accept, etc.) | 14:19 |
|
humanface
| nedbat ok thanks <3 | 14:19 |
| ← jmd left | 14:23 |
| → jmd joined | 14:24 |
| ← elastic_dog left | 14:30 |
| → lucasta joined | 14:33 |
| → ThorMojito joined | 14:34 |
| ← ThorMojito left | 14:34 |
| ← small left | 14:34 |
| → elastic_dog joined | 14:35 |
| → chexum joined | 14:36 |
| → ThorMojito joined | 14:39 |
| ← peirik_ left | 14:41 |
| ← dionysus69 left | 14:41 |
| → vitali64 joined | 14:42 |
| vitali64 → f_ | 14:42 |
| ← ___nick___ left | 14:42 |
| ← ThorMojito left | 14:43 |
| → rurtty joined | 14:43 |
| → ___nick___ joined | 14:43 |
| ← john_johnk left | 14:47 |
| ← duxsco left | 14:50 |
| ← mpldr left | 14:53 |
| → mpldr joined | 14:53 |
| → peirik_ joined | 14:53 |
| ← lucasta left | 14:54 |
| ← vdamewood left | 14:55 |
| → nosferandu joined | 14:55 |
| → vdamewood joined | 14:56 |
| ← peirik_ left | 14:58 |
| → Davidian joined | 15:01 |
| ← mw_ left | 15:07 |
| → madewokherd joined | 15:07 |
| ← madewokherd` left | 15:11 |
| → peirik_ joined | 15:12 |
| → lucasta joined | 15:12 |
| → ThorMojito joined | 15:13 |
| ← ThorMojito left | 15:14 |
| → fweht joined | 15:15 |
| ← peirik_ left | 15:16 |
| ← srinidhi left | 15:17 |
| → thuna` joined | 15:18 |
| → zmt01 joined | 15:20 |
| ← zmt00 left | 15:21 |
| ← lucasta left | 15:21 |
| ← yappar left | 15:23 |
| ← ferdna left | 15:27 |
| → alfredb joined | 15:33 |
| → zmt00 joined | 15:33 |
| → duxsco joined | 15:33 |
| ← zmt01 left | 15:34 |
| → rostero joined | 15:34 |
| ← sedzcat left | 15:41 |
| ← Xenguy left | 15:43 |
| → sedzcat joined | 15:45 |
| → adamlaska joined | 15:47 |
| → yappar joined | 15:55 |
| → lucasta joined | 15:55 |
| ← yappar left | 15:56 |
| ← adamlaska left | 15:57 |
| → moldorcoder7 joined | 15:59 |
| → ThorMojito joined | 16:17 |
| ← ThorMojito left | 16:17 |
| → Mordag joined | 16:21 |
| → Xenguy joined | 16:22 |
| ← kkawg left | 16:25 |
| ← Murr left | 16:25 |
| → Murr joined | 16:25 |
| → ThorMojito joined | 16:40 |
| ← ThorMojito left | 16:40 |
| → phil170 joined | 16:40 |
| → roadie joined | 16:40 |
| ← sedzcat left | 16:42 |
| → thiago joined | 16:43 |
| ← duxsco left | 16:44 |
| → duxsco joined | 16:47 |
| → geri joined | 16:50 |
| ← warmana left | 16:53 |
| → peirik_ joined | 17:00 |
| → nate4 joined | 17:13 |
| ← mcon left | 17:14 |
| → ThorMojito joined | 17:17 |
| ← ThorMojito left | 17:18 |
| ← roadie left | 17:18 |
| ← nate4 left | 17:18 |
|
humanface
| nedbat and do I need to send anything else to the recruiter near the github repo link? | 17:27 |
|
| if the repo is public | 17:27 |
| ← Xenguy left | 17:32 |
| ← peirik_ left | 17:34 |
| → roadie joined | 17:37 |
| ← duxsco left | 17:39 |
|
gsi_
| did you check the github provider's docs? this channel being git ... | 17:41 |
|
| don't wait for others to tell you, check yourself | 17:41 |
|
| use the URL (from a different account, from a friend's machine) and see whether it's accessible | 17:42 |
|
humanface
| gsi_ sorry for being stressful a bit, I need to send something tomorrow... | 17:44 |
|
gsi_
| alternatively try accessing other people's public repos with just their URL | 17:45 |
|
| it's the same situation, this time "you are the recruiter" | 17:46 |
|
| or ask github specific questions in the github specific channel, they are in a much better position to help you | 17:46 |
|
humanface
| ok it seems, HTTPS url is working | 17:47 |
|
| I have no idea why the SSH version is not | 17:47 |
| ← dsrt^ left | 17:51 |
| ← TonyStone31 left | 17:51 |
|
humanface
| gsi_ | 17:55 |
| → Xenguy joined | 17:56 |
| ← lucasta left | 17:57 |
|
humanface
| so is it normal that a HTTPS url can be used to clone a public github repo, and the SSH url can't be used without some sort of authentication? | 17:57 |
|
imMute
| humanface: SSH *requires* authentication for git repos. I suppose it's technically possible to have anon access, but it would be tricky and I've never seen it done | 17:58 |
|
| humanface: basically, SSH was built with client authentication from the get go, while HTTPS was not. | 17:59 |
|
humanface
| hmm I see | 17:59 |
|
| thanks for the clarification | 17:59 |
| → rgrinberg joined | 18:03 |
| → TonyStone31 joined | 18:04 |
| ← rostero left | 18:04 |
| → coot joined | 18:05 |
| ← thuna` left | 18:12 |
| ← rurtty left | 18:12 |
| ← TonyStone31 left | 18:12 |
| → rurtty joined | 18:16 |
| ← rgrinberg left | 18:16 |
| → skapata joined | 18:18 |
| ← cweiss076532124 left | 18:18 |
| → cweiss076532124 joined | 18:21 |
| → TonyStone31 joined | 18:24 |
| ← Murr left | 18:25 |
| → Murr joined | 18:25 |
| → thuna` joined | 18:27 |
| → lucasta joined | 18:28 |
| ← rurtty left | 18:30 |
| ← atrigent left | 18:32 |
| → atrigent joined | 18:32 |
| → LuKaRo joined | 18:35 |
|
osse
| imMute: I think the "git" is like an anonymous ssh. never really understood how it worked | 18:39 |
|
| oh, it's just a raw tcp thing | 18:40 |
| ← zeenk left | 18:41 |
|
mjt0k
| heh. what *is* "raw tcp"? :) | 18:41 |
|
osse
| I dunno man! | 18:42 |
|
| networking confuses me! | 18:42 |
| ← thiago left | 18:42 |
|
mjt0k
| tcp is just a bi-directional stream, that's it. stream of bytes. how it's interpreted is up to the application. smtp, http, pop3, etc etc - that's raw tcp too, in your definition :) | 18:43 |
| → thiago joined | 18:43 |
|
ikke
| Yes, not everything will go over http or ssh :P | 18:43 |
|
mjt0k
| and git protocol ("language") is quite simple too. To me it has been sort of mistery how git lays out on top of http | 18:44 |
| ← LuKaRo left | 18:44 |
|
ikke
| though people try to shove more and more over just http(s) | 18:44 |
|
osse
| mjt0k: what I mean is that when you use git:// there is no procol "between" tcp itself and the git data, like there is with ssh or http(s) | 18:44 |
|
| protocol | 18:44 |
|
ikke
| the protocol is git | 18:45 |
|
mjt0k
| well yes, this is git protocol | 18:45 |
|
| simple and effective | 18:45 |
|
rewt
| just like the http protocol is on "tcp itself" | 18:45 |
|
ikke
| but yes, it's not wrapped | 18:45 |
|
mjt0k
| and git-over-http is kind of like translating the language into foreign language and back | 18:45 |
|
osse
| hmm, you seem to know more than me. what does the payload look like? | 18:46 |
|
mjt0k
| heh. how a git object look like? :) | 18:47 |
|
ikke
| dumb http is just http requests | 18:47 |
|
| smart http I'm not familiar with the details | 18:47 |
|
osse
| no i mean for the git protocol | 18:47 |
|
ikke
| It's a binary protocol | 18:47 |
|
mjt0k
| https://git-scm.com/docs/protocol-v2 | 18:48 |
| ← terminalpusher left | 18:48 |
| → LuKaRo joined | 18:49 |
| → hamburgler joined | 18:51 |
|
osse
| hmm | 18:52 |
|
| if I'm reading this right then apart from the initial request there is no difference between what the TCP payload is (when using git://) and what the e.g. HTTP body is | 18:54 |
| → alkhwarizmi joined | 18:55 |
|
mjt0k
| what *is" "tcp payload" ? | 18:55 |
|
ikke
| the byte of streams | 18:55 |
| → Ajax1465 joined | 18:55 |
| → chimbosonic1 joined | 18:55 |
|
ikke
| stream of bytes* :PP | 18:55 |
|
mjt0k
| tcp is a stream of bytes. it needs to be structured - either in http: or git: | 18:56 |
|
| but the same objects are transferred in either case by git, yes | 18:56 |
| ← TonyStone31 left | 18:57 |
| ← Ajax146 left | 18:57 |
| Ajax1465 → Ajax146 | 18:57 |
|
mjt0k
| it's just the surrounding in "git-over-http" is much bigger usually :) | 18:57 |
|
| btw, where 'hyper-text' in there is really interesting question ;)) | 18:58 |
|
| it has become an "etp", or "everything-transfer-protocol" :) | 18:59 |
| ← OnkelBlade left | 18:59 |
|
osse
| I think we're just talking past eachother here... | 19:00 |
| ← lucasta left | 19:01 |
| → OnkelBlade joined | 19:01 |
|
osse
| by tcp payload I mean the stuff that is not the tcp header | 19:01 |
|
mjt0k
| you don't see headers at the application level, it is all done by the kernel for you | 19:02 |
|
| be it git or http or whatever | 19:02 |
|
osse
| of course | 19:03 |
|
mjt0k
| so everything you see is the tcp payload. and the git structures and commands are there *too* | 19:03 |
|
alkhwarizmi
| Anyone else fed up of personal access tokens and SSH keys? I wrote a Git credential helper that securely authenticates to GitHub, GitLab, BitBucket and other forges using OAuth. Help wanted to test https://github.com/hickford/git-credential-oauth | 19:03 |
|
ikke
| ssh keys work perfectly fine for me | 19:04 |
|
osse
| mjt0k: we're definitely talking past eachother here. | 19:05 |
|
| i'm not at the application level, or at the command line | 19:06 |
|
| my initial question about git:// is basically this: I open Wireshark, and capture that I clone over git:// and clone over http:// What are the difference in the captures? | 19:07 |
|
alkhwarizmi
| git is a higher level protocol ? the layering is: git over http over TCP over IP | 19:08 |
| → donofrio joined | 19:09 |
| → TonyStone31 joined | 19:10 |
| ← alkhwarizmi left | 19:12 |
| → lgc joined | 19:13 |
| ← lgc left | 19:13 |
|
mjt0k
| and they run away :) | 19:16 |
| ← igemnace left | 19:20 |
| ← jmd left | 19:28 |
| → jmd joined | 19:28 |
| → srinidhi joined | 19:31 |
| → peirik_ joined | 19:31 |
| ← EvilDMP left | 19:34 |
| → jazzy joined | 19:35 |
| → squirrel joined | 19:35 |
| ← han-solo left | 19:35 |
| ← gnoo left | 19:39 |
| → zer0bitz_ joined | 19:39 |
| ← zer0bitz left | 19:40 |
| → lucasta joined | 19:44 |
| → stef204 joined | 19:51 |
| → gnoo joined | 19:54 |
| ← coot left | 19:54 |
|
osse
| actually, I could just do that experiment myself I guess :p | 19:55 |
|
| but I am organizing my cables | 19:55 |
| → zeenk joined | 20:00 |
| ← peirik_ left | 20:04 |
| ← thebombzen left | 20:04 |
| ← zeenk left | 20:05 |
| ← lucasta left | 20:06 |
| → theoceaniscool joined | 20:07 |
| ← perrierjouet left | 20:09 |
| ← Davidian left | 20:10 |
| → goldfish joined | 20:11 |
| → jetchisel joined | 20:12 |
| ← thiago left | 20:15 |
| ← alfredb left | 20:16 |
| → peirik_ joined | 20:16 |
| → DoubleJ joined | 20:16 |
| ← agowa339 left | 20:17 |
| → vqueiroz joined | 20:18 |
| → agowa339 joined | 20:18 |
| ← peirik_ left | 20:21 |
| → EvilDMP joined | 20:25 |
| → thiago joined | 20:26 |
| ← f_ left | 20:27 |
| ← BlessJah left | 20:27 |
| ← zenobius left | 20:31 |
| → BlessJah joined | 20:31 |
| ← srinidhi left | 20:32 |
| → lucasta joined | 20:35 |
| ← randm left | 20:40 |
| → randm joined | 20:41 |
| ← gareppa left | 20:53 |
| → feriman joined | 20:57 |
| → obiwahn joined | 20:58 |
|
obiwahn
| Hey - Why would I use `git worktree` when I can clone using `--reference`? | 20:58 |
|
ikke
| obiwahn: worktrees share configuration | 20:59 |
|
| reference clones do not | 20:59 |
|
obiwahn
| ikke: Do you like use the feature? | 21:00 |
|
ikke
| I do use worktrees, yes | 21:01 |
|
| at least in one case | 21:01 |
| → wallabra joined | 21:01 |
|
obiwahn
| thank you! I'll have a look at it. Until now I was a bit undecided if its worth the time / even thought it is probably not mega complex:) | 21:02 |
| → ferdna joined | 21:03 |
|
osse
| with --reference you still have to fetch in all the different repos you have | 21:04 |
| ← ___nick___ left | 21:04 |
| → oriba joined | 21:05 |
| ← wallabra left | 21:07 |
| → wallabra joined | 21:08 |
| ← oriba left | 21:10 |
| ← wallabra left | 21:11 |
| ← EvilDMP left | 21:14 |
| → nate4 joined | 21:15 |
| → EvilDMP joined | 21:16 |
| ← epony left | 21:16 |
| → wallabra joined | 21:18 |
| ← nate4 left | 21:20 |
| → madewokherd` joined | 21:23 |
| ← derpydoo left | 21:23 |
| ← madewokherd left | 21:26 |
| → tonymke joined | 21:30 |
| ← gnoo left | 21:33 |
| ← dirtydan left | 21:34 |
| → dirtydan joined | 21:34 |
| ← roadie left | 21:36 |
| ← geri left | 21:39 |
| → thebombzen joined | 21:41 |
| ← jmd left | 21:42 |
| fat_owl → hoho | 21:43 |
| → Guest83_ joined | 21:45 |
| ← theoceaniscool left | 21:45 |
| ← Guest83_ left | 21:46 |
| ← bgs left | 21:50 |
| ← vdamewood left | 21:53 |
| ← stef204 left | 21:54 |
| ← Aminda left | 21:58 |
| → Aminda joined | 21:58 |
| ← feriman left | 21:59 |
| → kexec joined | 22:01 |
| ← drogas left | 22:03 |
| dansan_ → dansan | 22:03 |
| ← tejr left | 22:04 |
| → epony joined | 22:04 |
| → coot joined | 22:04 |
| → gasbag joined | 22:04 |
| ← m0viefreak left | 22:06 |
| → peirik_ joined | 22:17 |
| ← gasbag left | 22:18 |
| → vyryls joined | 22:19 |
| ← lucasta left | 22:19 |
| ← Murr left | 22:25 |
| → Murr joined | 22:25 |
| ← coot left | 22:33 |
| ← vyryls left | 22:33 |
| ← phil170 left | 22:35 |
| → rgrinberg joined | 22:38 |
| ← R2robot left | 22:41 |
| ← elastic_dog left | 22:41 |
| → elastic_dog joined | 22:41 |
| → austin987 joined | 22:42 |
| → R2robot joined | 22:48 |
| ← austin987 left | 22:48 |
| → lucasta joined | 22:49 |
| ← peirik_ left | 22:51 |
| ← fweht left | 22:52 |
| → tejr joined | 22:54 |
| ← lucasta left | 22:58 |
| → lechner joined | 23:01 |
| → XV8 joined | 23:04 |
| → lagash joined | 23:05 |
| → peirik_ joined | 23:05 |
| → madewokherd joined | 23:06 |
| → acresearch1 joined | 23:08 |
|
acresearch1
| people, i have a question, on github website, is it possible to delete an old commit? i own the project, i the only one in it and i want to delete a commit perminantly, is it possible? | 23:09 |
| ← madewokherd` left | 23:10 |
|
EdFletcher
| acresearch1: you can use interactive rebase, drop that commit, then force push | 23:10 |
| ← peirik_ left | 23:11 |
| ← sa0 left | 23:12 |
|
acresearch1
| EdFletcher: what do you mean? | 23:14 |
|
| is there a walk through i can read? i looked online but i haven't found an answer | 23:14 |
|
nedbat
| acresearch1: you get rid of the commit locally, then force-push to your main branch on github | 23:15 |
|
EdFletcher
| acresearch1: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History | 23:15 |
| ← humanface left | 23:15 |
| → agowa joined | 23:15 |
|
EdFletcher
| ah they do have anchors they're just hidden argh https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_deleting_a_commit | 23:16 |
| ← charly left | 23:16 |
| ← agowa339 left | 23:19 |
| → peirik_ joined | 23:19 |
| ← chexum left | 23:21 |
|
acresearch1
| EdFletcher: i do not have it locally, only on the website, does that mean i have to clone it locally first? | 23:21 |
|
EdFletcher
| acresearch1: yes, github is just a git hosting service (with some extra sugar on top). we are talking about git here. | 23:21 |
|
acresearch1
| EdFletcher: ok 1 moment let me clone it locally | 23:21 |
| → gast0n joined | 23:22 |
| → chexum joined | 23:22 |
|
acresearch1
| ok cloned, | 23:22 |
|
| what should i do then? i have the commit hash that I want to remove | 23:23 |
|
EdFletcher
| acresearch1: you read the docs i sent https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_deleting_a_commit | 23:23 |
|
acresearch1
| ok 1 moment | 23:24 |
|
| EdFletcher: so i just type drop hash ? | 23:25 |
|
| that is it? | 23:25 |
|
| EdFletcher: under the "delete a commit" section they do not include which command to use | 23:28 |
|
| i think the safest thing to do is just delete the whole project | 23:29 |
|
| thanks guys for your help | 23:29 |
| → alkhwarizmi joined | 23:30 |
| → rustyshackleford joined | 23:31 |
| → gnoo joined | 23:33 |
| ← alkhwarizmi left | 23:34 |
|
EdFletcher
| holy moly frijoles batman! i step away for a few minutes and you just go right for the nuclear option!?! | 23:35 |
| ← EvilDMP left | 23:38 |
|
gsi_
| but it resolves the OP's question, does it not? that commit will be gone, mission accomplished | 23:38 |
|
| doesn't take as long as reading some docs either | 23:38 |
| → ThorMojito joined | 23:39 |
| ← ThorMojito left | 23:39 |
| ← acresearch1 left | 23:40 |
| ← TonyStone31 left | 23:48 |
| ← dnh left | 23:49 |
| ← llh left | 23:52 |
| ← peirik_ left | 23:52 |
| → dnh joined | 23:57 |