4 ms·
Have you tried running gitea? It's very light on resources, has good documentation, and also defualts to a main branch. It's also very easy to control where all
by benatkin 4y ago
Have you tried running gitea? It's very light on resources, has good documentation, and also defualts to a main branch. It's also very easy to control where all the data is stored, and works well w/ sqlite.
- tryauuum 4y agoIs the "main" branch an advantage? I guess only if >50 percent of your repos use "main" branch
- benatkin 4y ago[flagged]
- deleted 4y ago[deleted]
- Alupis 4y agoThat is an awful lot of contortions you are doing here, to seemingly justify a word change that has had well-cemented meaning within the tech community since it's inception. We all know why this change exists, and why some people will attempt to persuade others of it's superiority. It is, however, just silly virtue signaling, and it's exhausting to hear and read. It would require some very irrational and underdeveloped reasoning to assert this word has anything to do with oppression in 2023. There is no negative connotation, except in those who wish to perpetuate some weird sensation of altruism... ie. no one is safer or feels better simply because you choose to call it "main" rather than "master".
- ceejayoz 4y ago> It is, however, just silly virtue signaling, and it's exhausting to hear and read. You should be aware that complaints about supposed virtue signaling are equally exhausting.
- jrockway 4y agoI'm willing to go out of my way to use a different word if it makes people feel better (the root of the master -> main transition). But this is the rare case where it benefits me by having to type two less characters whenever I refer to the branch! main is truly a win/win.
- Alupis 4y ago> I'm willing to go out of my way to use a different word if it makes people feel better Which is just the thing, really. It makes no one feel better. It makes the privileged speaker feel better, with a false sense of virtue. It's a "look at how great I am" signal, nothing more. No one is harmed or made to feel bad by using the word master. Sometimes the adults have to be present in the room, it seems. Saving 2 characters is an equally silly excuse, but at least it has a realistic rationale. To that end, why stop at main - why not just 'm'? You can call it whatever you want in git.
- benatkin 4y agoIt's because main is a goldilocks word for something like a default branch name. It isn't too long and isn't too short. It also isn't shorter in terms of syllables. Good design :)
- sshine 4y ago> main is a goldilocks word I totally agree. > Good design Having one default instead of two is better design.
- deleted 4y ago[deleted]
- sshine 4y ago> no one is safer or feels better Clearly some feel better. I personally like the name “main” better. But it is truly a pain in the neck that different pieces of software and even different distributions of the same software now disagree about the default. I’ve got a handful of active projects that go together that differ on master/main because they were created by different softwares. I’d prefer “hitler” if everyone could just agree to always pick that. GitHub are the big pushers of this culture change. If they succeed, I salute them.
- Alupis 4y agoThere was zero disagreement about what to call the default branch in git prior to this linguistic crusade. GitHub practically invented the exact situation you're experiencing now by changing to main for all new repos. Git itself still defaults to master. Everything else is not the default and is the root cause for the uncertainty.
- endgame 4y agoAnd it is _still_ causing completely avoidable pain, years after people started advocating for the change. A recent example I tripped over: https://github.com/brendanhay/amazonka/issues/815#issuecomment-1246132144 https://github.com/brendanhay/amazonka/issues/815#issuecomme...
- simcop2387 4y agoThe biggest reason to do this is thah it supports "mirror" repositories where it will keep your copy up to date, even using github keys to get at a private repo if you want.
- benatkin 4y agoYes, and if you stop the process and start it again, gitea doesn't complain and picks up right up where it left off. Ditto if you lose internet connectivity. It's a well-designed piece of software. I considered using it as a BaaS and am actually thinking again of using it as one.
- capableweb 4y agoYes, I've tried it (and actually run a personal instance myself), but I would never try to run an application meant as an webapp when I want to copy something from one filesystem to another, when git can do it already without any external programs. Also, the `master` is just an example, it works for `main` as well, don't worry :) The created git repository on your usb-stick works like a regular git repository, you can use whatever branch names you want. Btw, way to focus on the absolutely least interesting part of my comment, what I chose to name the branch...
- neodon 4y agoYou can change the default default branch on GitHub via <https://github.com/settings/repositories https://github.com/settings/repositories>. I believe new GitHub accounts now have that set to main.