Post AYKYS47zloEUIcv7Kq by electrocutie@plush.city
(DIR) More posts by electrocutie@plush.city
(DIR) Post #AYKXvrG65B8B7SLtD6 by mrjunge@raru.re
2023-08-02T19:48:38Z
0 likes, 0 repeats
I understand the technical basics of git usage (tho may occasionally have to revisit some commands) but I don't understand the social aspects of pushing commits to projects and discussing features and whatever. Do feature discussions come prior to pushing commits, or are the discussions after your code is evaluated by the repo owner et al? I can't for the life of me figure out what the etiquette is or the norms are.
(DIR) Post #AYKXzpHhMea49ezdrM by mrjunge@raru.re
2023-08-02T19:49:21Z
0 likes, 0 repeats
I think that's my main reason for not bothering to contribute to k0oL puRoJex or w/e
(DIR) Post #AYKY43hHiiiu0sym7E by electrocutie@plush.city
2023-08-02T19:50:06Z
0 likes, 0 repeats
@mrjunge read this as "the tactical basics of git" and I think I'll keep that one
(DIR) Post #AYKYHzMwbnpIe06jMe by mrjunge@raru.re
2023-08-02T19:52:37Z
0 likes, 0 repeats
@electrocutie that sounds like the kind of phrase only someone intentionally trying to ruin the codebase of a project would use lol
(DIR) Post #AYKYS47zloEUIcv7Kq by electrocutie@plush.city
2023-08-02T19:54:22Z
0 likes, 0 repeats
@mrjunge you can't push your code to someone else's repoYou make a pull request after pushing your branch to your own repo in a place where they can pull from it. Github et al has this workflow integrated into their website
(DIR) Post #AYKYqorPfg2SBhy36G by mrjunge@raru.re
2023-08-02T19:58:54Z
0 likes, 0 repeats
@electrocutie I don't know much after all!! So anybody can pull but not anybody can push, basically? How does git know a repo owner is pulling from another repo's branch that falls under the same or similar enough project? It's just the repo owner's judgment? Any failsafes?
(DIR) Post #AYKYtXR0usL30luqum by mrjunge@raru.re
2023-08-02T19:59:26Z
0 likes, 0 repeats
@electrocutie Aside from the typical, "oh, look at these diffs"
(DIR) Post #AYKYume7qVZwTjduXg by electrocutie@plush.city
2023-08-02T19:59:38Z
0 likes, 0 repeats
@mrjunge does the term Directed Acyclic Graph mean anything to you?
(DIR) Post #AYKZFZze5Hh5JkcnXk by mrjunge@raru.re
2023-08-02T20:03:24Z
0 likes, 0 repeats
@electrocutie No, haven't done graph theory. But, after briefly looking it up, I'm guessing it must be traceable anyway then.
(DIR) Post #AYKZRIR3BqzYKz1w3M by electrocutie@plush.city
2023-08-02T20:05:30Z
0 likes, 0 repeats
@mrjunge ye. Each merge in git has multiple parents (usually two but it can be more, and every non merge has 1 parent)Each commit is identified by a hash of its contents including its parents and, so, forms a directed graph (graph where the edges have a direction) with no loopsWhen you pull (which is just a fetch + merge, basically) git can see the places where it grafts on to your graph
(DIR) Post #AYKZukV5vJChmIxwrw by mian@berserker.town
2023-08-02T20:10:49Z
0 likes, 0 repeats
@mrjungeI think the only failsafe is that you can go back. I think if you try pulling from a random repo youll get tonnes of merge conflicts, cases where git gives up and asks you what modification should be done.@electrocutie
(DIR) Post #AYKa1NNsGgda6vkUAy by mrjunge@raru.re
2023-08-02T20:12:02Z
0 likes, 0 repeats
@electrocutie Thank youz https://i.imgur.com/XVuWRQQ.png
(DIR) Post #AYKaB5Ojzj1pDwmg6a by electrocutie@plush.city
2023-08-02T20:13:47Z
0 likes, 0 repeats
@mrjunge :plush:âđŠī¸âđ
(DIR) Post #AYKaVCDWLq00AG7pFA by mian@berserker.town
2023-08-02T20:17:24Z
0 likes, 0 repeats
@mrjungeGithub's tutorials say you should start by writing an issue marked new feature or something then make a pull request after you wrote the code and link the issue.
(DIR) Post #AYKavqGq3WF5uwNnlo by mian@berserker.town
2023-08-02T20:20:31Z
0 likes, 0 repeats
@mrjungeLike there is a small chance that the owner finds the feature bad in principle and you dont wana do all that work for nothing.
(DIR) Post #AYKavsMEIRk8OEv8S0 by mrjunge@raru.re
2023-08-02T20:22:14Z
0 likes, 0 repeats
@mian Ya! That's exactly why I was wondering. Like I see all the discussion then goes on in Github but I need to know *when* its happening/starts, etc. there's git, and then there's project management using git as one of the tools.