GitHub allows you to store your backups in your own public/private repositories within their servers. But there is a limit to the size of the files that you are storing.
If you are needing to backup your project, but you are getting a git LFS error like this when you try…
Then you should probably use Git LFS!
Initializing Git LFS into your active project is easy!
To start, make sure that you have “Git Bash” installed. If you don’t, you can click the link below and follow along with me in an article I did on how to install Git.
Installing Git (Version Control Software)
Git is a Version Control System that allows users to backup, collaborate, and maintain their projects. It is an…
Once you have “Git Bash” installed, simply go to your project folder on your computer. Right-click and select “Git Bash Here”.
Next, simply type the command below into GitBash and press enter.
git lfs install
Now, Git LFS should be initialized on your project. But it won’t track all the different file types on its own. So in order to gain access to making these changes, you’ll need to add a “.gitattributes” file.
To do this, you will need to type the command seen below into Git Bash in the same location that you should still be in from your last entered command, then press enter.
git lfs track “*.psd”
Once this is done, you should see a newly created .gitattributes file within your project files.
Open the “.gitattributes file” and replace the contents of the file with the contents in this link:
Save it, and you should now be able to commit your project to GitHub!