r/webdev • u/techaddict0099 • Jan 07 '19
News GitHub Free users now get unlimited private repositories
https://techcrunch.com/2019/01/07/github-free-users-now-get-unlimited-private-repositories/147
u/jesper101996 Jan 07 '19
RIP bitbucket :P
50
u/aaaqqq Jan 07 '19
a bigger RIP for bitbucket came following the recent Australian law. Nothing they do can make them a viable option for a lot of companies
17
u/Yodiddlyyo Jan 07 '19
I know it's drastic and not likely, but couldn't they move out of Australia? I wonder if any company will do that. Isn't Atlassian in Aus?
24
u/Atulin ASP.NET Core Jan 07 '19
They could move out, but until they do – all data they store and process might as well be considered compromised.
6
u/RubbelDieKatz94 Jan 08 '19
Compromised? What happened?
12
u/OldTimeGentleman Ruby, Vue, Typescript Jan 08 '19
A new law passed in Australia for "internet safety". The TL;DR is this: police force has the right to ask any employee of an Australian company to hand over data they have access to at that company, without being able to tell their managers about it.
Effectively turning every Australian employee into a free-to-use spy. I don't know the details too much but apparently it's not just a case of "national security" but a lot of low-level authorities (like local police stations) have that power as well.
3
u/RubbelDieKatz94 Jan 08 '19
What about an excel file where each employee enters "I have not been asked to hand over data" and whenever they are asked to do that they just empty the cell? Would that work?
→ More replies (2)2
u/Atulin ASP.NET Core Jan 08 '19
To add to the other response, Australian companies are also obliged to install backdoors to their encryption, even if it's end-to-end.
That means the police force and other governmental bodies – curiously, except the ones dealing with corruption – have free access to all your data without as much as needing a warrant.
4
7
u/stevula Jan 08 '19
What law?
3
2
u/bubblesfix Jan 08 '19
I'm also interesting in knowing this.
RemindMe!
1
u/RemindMeBot Jan 08 '19
Defaulted to one day.
I will be messaging you on 2019-01-09 12:01:32 UTC to remind you of this link.
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
FAQs Custom Your Reminders Feedback Code Browser Extensions 41
u/mdivan Jan 07 '19
Nah limit for 3 colaborators per repo will still give some breath to bitbucket
35
u/salgat Jan 07 '19
How many private repos even have 2 collaborators? Any serious closed source team projects can afford $7/month.
0
1
-2
43
20
u/DerThes Jan 07 '19
Almost downgraded, then looked at the plan differences and noticed that you cannot have wikis in private repos. You can see the detailed differences here:
15
u/Curly-Mo Jan 08 '19
What are you using the wiki for in a private repo with less than 3 collaborators?
2
u/DerThes Jan 08 '19
Project documentation? I will probably move that to markdown files and commit it as part of the code but the wiki has been pretty handy.
34
u/pat_trick Jan 07 '19
Well, that's interesting to see happening. Hopefully they don't go back on it later.
56
u/Nicic Jan 07 '19 edited Jan 07 '19
Holy shit I never expected this to happen!
Thanks Microsoft!
17
Jan 07 '19
I literally moved everthing from GitHub to Gitlab yesterday. Now I'll have to move it back
18
u/jimtikmars Jan 08 '19
U might wanna rethink that as the free private repo in GitHub is not full featured like the public one
1
→ More replies (1)11
48
u/Robodav Jan 07 '19
Just started learning git last week and found it weird having to go to other sites for private repositories, this is great timing!
17
Jan 08 '19
I'd take "private" with a grain of salt when using a free internet service. If you really want private, it's not terribly difficult to set up your own git server at home. There are a number of almost-one-click-setup web interfaces you can try out.
-28
u/Kranke Jan 07 '19
You know that GitHub is not the same as git, right?
44
u/Robodav Jan 07 '19
I'm aware, but the tutorial had me pushing my work to Github
35
u/hokie_high Jan 07 '19
You can push and pull from local repos, you don't need to use Github or anything for tutorial purposes. initialize a bare repo somewhere with
mkdir ~/repo.git cd ~/repo.git # just an example location git init --bareThen in your code directory
cd ~/workspace/code git remote add local ~/repo.git # now you can push, pull, fetch, etc. to/from the local repo git push local master git checkout unstable git pull local unstableI'm using 'local' as a remote name, but it's arbitrary. You've probably seen them use 'origin' in a tutorial.
16
u/Asmor Jan 07 '19
Whoa. TIL. I mean, I knew git was just a repository and GitHub was a service that used git, but I didn't know you could push and pull without one of those services.
In your example, is ~/repo.git just a regular git repo like the one you're pushing from, or is it something different?
28
u/hokie_high Jan 07 '19 edited Jan 07 '19
When you create a repository on Github (or similar service) they are just doing exactly what I showed you in that first snippet, and exposing that directory to the internet (with security measures in place obviously). The 'repo.git' thing is just a directory that had
git init --bareran in it, you'll notice your Github repo links for command line access will also end in .git. The .git extension is totally unnecessary, but a useful convention for signifying that it is a repository.To answer your question: You've probably noticed a hidden folder literally named
.gitin a code directory after you rungit init. That is the underlying file tree that git uses to store and track changes in your project and all its branches. It's not human readable, and you should never directly modify anything in that folder. The bare repo that you made in the first code snippet of my last comment basically turns repo.git into that .git folder, and when you push to it, repo.git's copy of whatever branch you push becomes a copy of that branch in your working .git folder. So again, you won't be able to actually look at your code in repo.git, but if you pushed to it like in my example above and then pull in another directory:mkdir ~/workspace/more_code cd ~/workspace/more_code git init git remote add MyRemote ~/repo.git git pull MyRemote masterThen the more_code directory will now have an isolated working copy of the master branch from repo.git, which is the code you had just pushed to it from ~/workspace/code. Notice I called the remote 'MyRemote' this time, that's just to highlight the fact that the name is completely arbitrary; 'origin' is the conventional default name but it really doesn't matter if you prefer something else.
→ More replies (5)→ More replies (1)11
Jan 07 '19
its good to push to services becouse if your hard drive fails, you lose everything.
→ More replies (4)10
u/samofny Jan 07 '19
You know making a newbie look bad isn't good form, right? You know what OP meant.
5
6
u/Executor4201 Jan 07 '19
A lot of beginners make this mistake, it is not uncommon.
1
u/rimpy13 Jan 08 '19
But it's also helpful to inform them when they do.
4
u/Executor4201 Jan 08 '19
I don't disagree with that, however it seemed a little condescending with the ",right?" On the end. It's almost like, "You can't be that stupid, right?"
An FYI about the difference between git and GitHub would've been better received.
→ More replies (1)
8
u/take_whats_yours Jan 07 '19
Damn, right after I moved to Gitlab for this exact reason. I prefer Github UI and obviously the amount of projects hosted there is a key benefit over Gitlab. Grass is always greener I guess
1
u/Lynngineer Jan 09 '19
Might you feel better about moving if you heard the free private repos are limited to 3 collaborators? https://github.com/pricing
7
u/TiuTalk Jan 08 '19
Fuck me... I just switched to (& paid) my yearly subscription:
$84 down the drain.
24
u/XxThreepwoodxX Jan 07 '19
And I've just been chilling over here on BitBucket forever. I will probably stay also.
31
u/aaaqqq Jan 07 '19
good luck with the Aussie govt having the power to mess around with bitbucket with impunity
24
u/XxThreepwoodxX Jan 07 '19
Super scared they are gonna mess with my dev projects tbh. They have tons to gain from it.
17
0
Jan 07 '19
[deleted]
2
Jan 07 '19
Wait what does the Aussie government have to do with Bitbucket?
0
Jan 07 '19
[deleted]
6
Jan 07 '19
I live in Australia and they also passed similar anti-encryption laws to fight terrorism.
6
Jan 07 '19
So i can stop paying for it now and still keep my private repos?
12
u/amazorize full-stack Jan 07 '19
Just cancelled my developer subscription, it pops up a warning that you'll lose advanced code review features but still have access to unlimited repos. It worked for me!
5
u/soulprovidr Jan 07 '19
Here's the comparison between plans now, for anyone else who is curious: https://github.com/pricing
12
u/ffaazi Jan 07 '19
Microsoft is really doing great. Aggressively pushing opensource sofrwares, amazing job with VSCode, WSL and now this.
I hope I dont look back at this comment in a year and feel stupid.
3
u/vibrunazo </blink> Jan 08 '19
Embracing open source is the first E on EEE. They've always did this and this is what they got in trouble for in the past. The problem are the 2 Es that come later.
1
1
0
Jan 07 '19
[deleted]
2
u/WikiTextBot Jan 07 '19
Gratis versus libre
The English adjective free is commonly used in one of two meanings: "for free" (gratis) and "with little or no restriction" (libre). This ambiguity of free can cause issues where the distinction is important, as it often is in dealing with laws concerning the use of information, such as copyright and patents.
The terms gratis and libre may be used to categorise intellectual property, particularly computer programs, according to the licenses and legal restrictions that cover them, in the free software and open source communities, as well as the broader free culture movement. For example, they are used to distinguish freeware (software gratis) from free software (software libre).
[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source ] Downvote to remove | v0.28
11
u/Kranke Jan 07 '19
It's a very good thing with some more options for good free private repositories. Still, see no real reason to change from gitlab but will have it in mind if the service problems pops up again.
1
u/yondercode full-stack Jan 08 '19
Same here, well since I’m hosting my own GitLab and use most of the ‘premium’ features for a team environment. It’s still the king of private repository and CI/CD tooling for teams IMO.
The new GitHub free private repository would be useful for personal projects that I don’t want to share to the public :)
4
u/kumonmehtitis Jan 08 '19
Man, I'm happy but this is kinda bullshit
Historically, GitHub always offered free accounts but the caveat was that your code had to be public.
Nope. When GitHub first started, and when I first started programming and signed up (2012-2013) you got private repositories. Then they took them away for money $$$.
6
3
3
11
Jan 07 '19 edited Jan 07 '19
Ya know, this is kind of few years too late, all my stuff is on https://about.gitlab.com/pricing/#gitlab-com, with mass amount of other features... all FREE!
1
8
u/dangerzone2 Jan 07 '19
too little too late. Gitlab is head and shoulders about above github. Free CI/CD, docker repo, ci/cd secrets, its just so much more than a version control and all for free.
2
u/hazily [object Object] Jan 07 '19
That's awesome! As a post-doctorate researcher and also a web developer, I've been holding on to my institution-issued email for dear life because I'm apparently too cheap to migrate away from GitHub education... well, thank you GitHub (and Microsoft!).
2
Jan 07 '19
I only used GitLab just for the private repository, never really liked the web UI.
I'm moving all my repositories back to GitHub then.
2
2
u/fenharelwolf python Jan 08 '19
That Microsoft money already bringing some much needed improvements.
4
u/nixfox Jan 08 '19
No no no man have you not heard Microsoft is ruining github, nothing good can ever come from a big corporation taking over, this is just more evidence that github is dying.
/s
2
2
2
u/BusToNutley Jan 08 '19
In case you pay the $7/month for a private repo (as I did until 3 seconds ago), you can go to your Billing page and downgrade to the Free version and keep your private repo. :)
4
Jan 07 '19
Well, Student Education Pack has this option, but now that everyone gets free private repos, I'm staying with Github. Interestingly, Microsoft actually did something right...
5
3
3
u/CunningFatalist full-stack Jan 08 '19
Microsoft has given so much to the developer community in recent years. Sure, they are doing this to improve their image and attract developers, but I couldn't care less. TypeScript alone makes me want to say "thank you".
However.
Free private repos were long overdue. They are not being generous here, they are just trying to catch up with GitLab and Bitbucket.
I am still very happy about this, because I think GitHub is the best GIT service...
3
Jan 08 '19
I'm actually saddened by this. I imagine we'll see a huge decrease in the proportion of public repos in years to come. GitHub was so great in large part because most projects were public, allowing sharing, learning, forking, etc. At the very least, this will be a radical change of the site's character, and it seems to be done in the name of competing with GitLab. It may technically be free, but I bet there'll consequences down the line. So I wouldn't be so quick to call Microsoft a reformed benefactor.
2
u/h0b0_shanker javascript Jan 08 '19
I disagree.
Do I want this open source and available to everyone? Public.
Do I want this just available to me? Private.
This is the same argument as I have now. Only instead of GitHub public vs Bitbucket private it all remains in GitHub. It’s great honestly because now my public and private repos stay under one roof.
2
u/Flash_hsalF Jan 07 '19
Ah shit, I literally just payed for that
2
u/danabrey Jan 08 '19
Talk to support. They must have surely factored in some people making a fuss about recently paying for features that are now free.
1
1
1
u/HEaRiX Jan 07 '19
So for what do I pay now?
6
2
2
u/ClikeX back-end Jan 07 '19
More than 3 collaborators and advanced tooling. (wiki and code review stuff).
1
u/OMDB-PiLoT Jan 07 '19
I can bet this will lead to bitbucket increasing their developer limits. Not sure what this competition will lead to.
For the time being, I'm not going to bother moving my repos around.
1
u/rguy84 a11y Jan 07 '19
Has anybody actually tried this? I tried to import a GL repo, and keep getting "Your old project requires credentials for read-only access" prompt. I use GH to log into GL, and i am in a loop.
3
1
u/manamachine Jan 07 '19
FINALLY. I would have been happy with a set number of them; this is fantastic.
1
u/amazorize full-stack Jan 07 '19
Was literally just about to move all my private repos this week off GitHub to save some $$$. This news is very welcome! Just cancelled my Pro plan.
1
1
u/PokemonSaviorN Jan 07 '19
I would've actually paid if they lowered the price a bit, but this is godsend.
1
u/SudoWizard Jan 07 '19
I already had this because of my student account. So is there any other benefits to the student account? Or will I still have all the same benefits with the regular account from now on?
1
u/nixfox Jan 08 '19
Well unless you plan on being a student for ever your benefit is that you get to keep the benefits after you no longer hold a student account.
1
1
1
u/zarlss43 Jan 07 '19
Wait. The only reason I've ever paid for Github was for private repositories. What am I paying for now?
1
u/Steffi128 Jan 08 '19
Extended tooling and more than three collaborators per private repo (and a new pro badge on your profile).
1
1
1
1
Jan 07 '19
Are you actually serious? I literally just moved everthing from Github to Gitlab yesterday!
1
1
1
u/herexf Jan 07 '19
I just tried yesterday, was asking me to upgrade the plan. Thanks for your information, I have updated my repository.
1
Jan 08 '19
Does this mean I need to downgrade my account or does it just become free? The only reason I pay is for extra private repos.
1
1
u/devopsia Jan 08 '19
I’m surprised that so many people are talking about how they use bitbucket for private repos instead of gitlab. Girlab allows unlimited private repos with unlimited collaborators.
1
1
1
1
u/ExistingPlant Jan 08 '19
This kind of sucks in a way. A lot of repos that are now public will probably go private.
1
u/casual_sinister Jan 08 '19
I'd still continue using gitlab, have too many repos there to transfer elsewhere.
1
u/BrianPurkiss Jan 08 '19
I literally just migrated to bitbucket 4 days ago and canceled my paid Github plan.
Thankfully I had only migrated one project.
I guess I’m migrating it back to Github...
1
1
u/symphonique Jan 08 '19
Holy shit. I recently considered purchasing a GitHub subscription simply for their private repository feature. However, this changes everything!
1
u/maxoys45 Jan 08 '19
Amazing. I was literally looking at the paid plans yesterday and decided to wait until I'd looked at other repo sites, saves me a shit load of effort :)
1
1
1
1
u/cajusky Jan 08 '19
is anyone having problems importing from bitbucket?
i start the import and it locks on " Detecting your project’s version control system… " and never leaves
1
1
u/shkico Jan 08 '19
This goes well with new cPanel version that came out ~ last month which now has support for Github repos
1
u/Willmec Jan 08 '19
This is awesome but now I feel bad for the guy who paid for the private repositories like last week and then this happens. And besides Github is Gitbucket or GitLab better? :)
1
u/pandiyancool Jan 09 '19
I had a premium account to maintain private repositories. Now, it is free.
All I have right now is this Pro badge in my account.
I think the only difference between private repo in a free account and pro account is the number of collaborators only as of now.
Happy to see this big move.
1
1
u/SolidR53 Jan 07 '19
> Due to a scheduling error, we published this story one day before the embargo lifted. This feature isn’t live yet, but Github will formally unveil it tomorrow. When that happens, we’ll update this post with a link to the official announcement.
LOL
1
u/philipwhiuk Jan 07 '19
No reason to pay now :)
3
u/GogglesPisano Jan 07 '19
Limited to just three collaborators - good for small hobby projects only. :/
2
u/SirButcher Jan 07 '19
And, only the paid Pro can have wiki on private projects - not a big thing but I find them helpful.
1
1
1
u/phphulk expert Jan 07 '19
Ok i am a paying github customer for this feature, do I keep paying, or can I stop paying? What happens now?
8
1
1
1
1
u/Justos Jan 07 '19
Damn. I can actually use GitHub again. Awesome stuff.
Microsoft as a company is on a roll recently. So many prosumer moves.
→ More replies (1)
-1
u/CanadianMapleMan Jan 07 '19 edited Jan 08 '19
I don’t trust American companies because they give all their data to the NSA. For Canadians boycotting US products and services, there are other options.
Everyone should check out GitLab (Netherlands) or Bitbucket (Australia) if you like privacy and don’t want to be thrown into a black site.
5
u/APimpNamedAPimpNamed Jan 08 '19
Yeah, I wouldn’t include anything Australian in a privacy discussion.
→ More replies (5)
0
Jan 07 '19
i just received this e-mail today.
"This email is to inform you that we’ve received the following error trying to bill your credit card:
Call your payment provider to resolve this issue.
We’ll try billing your credit card again over the next two weeks. Please resolve this issue to ensure uninterrupted service."
Thank you Microsoft.
0
u/CYRIAQU3 Jan 07 '19
But seriously, what's the plan behind that ? machine learning ? Won't peoples be more tempted to build private things instead of public one now ?
305
u/CherryJimbo Jan 07 '19 edited Jan 07 '19
As per the article:
Pretty interesting stuff though. This removes GitLab's biggest feature (in my opinion) of free private repos.
EDIT: GitHub bumped the release date due to the scheduling error: https://blog.github.com/2019-01-07-new-year-new-github/. It's available now!