Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub limit to 100mb #99

Open
mattduffield opened this issue Oct 21, 2020 · 1 comment
Open

GitHub limit to 100mb #99

mattduffield opened this issue Oct 21, 2020 · 1 comment

Comments

@mattduffield
Copy link

Hi everyone, I am trying to create a release using Electron Forge. It works fine but whenever I try to upload the out folder, GitHub complains that the files are too large.

How are you getting around this issue? Any help would be appreciated.

@amexn-me
Copy link

  1. Install the Git LFS client on your local machine. You can download the client from the Git LFS website (https://git-lfs.github.com/).
    In your Git repository, configure Git LFS by running the following command in your terminal:
    git lfs install

  2. Once Git LFS is installed, you can start tracking large files in your repository by running the following command:
    git lfs track "<file-pattern>"

  3. Replace with the pattern of the files you want to track. For example, to track all files with the extension .zip, you would run:
    git lfs track "*.zip"

  4. After tracking your files with Git LFS, commit and push your changes to GitHub as usual. The large files will be uploaded to the Git LFS server instead of being stored directly in the Git repository.

  5. When looking for realses or pulling changes from your GitHub repository, Git LFS will automatically download the large files from the Git LFS server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants