this post was submitted on 17 Jun 2023
4 points (100.0% liked)

Programming

3347 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I just joined a new team (very small: four developers in total, with two of those leaving soon). The two original developers set up the git repo on a folder in a Windows network share.

Am I taking crazy pills, or is that a bad idea? Our organization does have github/gitlab/bitbucket available, so is there any good reason not to use those hosted solutions?

you are viewing a single comment's thread
view the rest of the comments
[–] StrayPizza 2 points 1 year ago

That may depend on how you’re using it. You certainly can add a windows share as a remote and push to it just like any other remote. You’re not going to get anything fancy like hooks/ci/cd of course but it works. Though I can’t imagine the performance is great.

If you’re each using that directory as your own checkout, that’s pretty bad and likely to result in problems. I would avoid that.

There are definitely features of a real git server like protecting branches from force push, accidentally deleting, tracking issues, etc etc that you’d gain from even a basic GitHub repo. I’d still push for that.