Alternatives to GitHub to host a local repository [closed]

2

Today I have encountered a problem:

Apparently my files occupy too much memory for the plan I have contracted. To have a private repository on GitHub I have to pay about 6 euros per month, which does not allow me to accommodate more than 100 MB as seen in the image. I've seen that google drive gives you 100 gigas for 2 euros per month. I wonder if I could host a private repository in google drive and use the git push and git pull commands with it from my command console on my laptop, ie use it as GitHub use.

    
asked by Mr. Baldan 14.12.2018 в 15:02
source

1 answer

2

Files compiled or produced by your application should not be uploaded to github since they are usually large files and can be generated from your code, to avoid uploading it you must add it to your file gitignore , edit the file and add the line:

node_modules/

That will not upload anything from that folder but it will still be in your local project. If you still want to use Google drive to update your code I leave you this reference

    
answered by 14.12.2018 / 15:14
source