---
title: Failure to push a large commit
description: What to do if I made a commit that is too large to Push to Copia
---

[Skip to content](https://help.copia.io/knowledge/failure-to-push-a-large-commit#main-content)

English

Show submenu for translations

[More support](https://help.copia.io/knowledge/kb-tickets/new?hsLang=en)

![](https://help.copia.io/hubfs/Logo_Hotdog_BlackWhite%20(1).svg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://help.copia.io/knowledge/kb-tickets/new)
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Copia Help Center](https://help.copia.io/knowledge?hsLang=en)
2. [Source Control FAQ](https://help.copia.io/knowledge/source-control-faq?hsLang=en)

# Failure to push a large commit

## What to do if I made a commit that is too large to Push to Copia

In some cases you may try to Push a very large file, or a very large groups of files to Copia.  Copia has a 2GB limit on single file sizes, and a  similar limit on pushing a large amount of files at one time.  As such it is recommended to break larger commits into a few smaller commits.

If you have already made a local commit that is too large to Push to Copia, you can "*undo*" this commit by resetting your local repository back to the prior commit.  To do this, performing the following:

1. Open your repository folder, and **copy** its contents to another temporary folder (*for example, make a temp folder on the desktop*)  
     1. We do this so that we have the data to later add back to the repo in smaller commits
2. Open the Copia Desktop App, and make sure you have selected the repository from the repository menu on the top left.
3. Select the History tab
4. Right-Click on the commit that is "**prior**" to the large commit that is failing to Push
5. Select "Copy SHA" (*the SHA is the ID of that prior commit*)
6. Go to the menu Repository -\> Open in Command Prompt 
     1. `git reset --soft paste_commit_SHA_here`

Back in the Desktop App, the large commit should now be gone, and there should be changes in the "Changes" tab.  You can discard these changes, and start adding the files/folders back in smaller commits from the temp folder we made in step #1. 

If you run into any issues, please feel free to Contact Support for assistance.

- [Getting Started](https://help.copia.io/knowledge/getting-started?hsLang=en#main-content)

    - [Sales Wiki](https://help.copia.io/knowledge/getting-started?hsLang=en#sales-wiki)
    - [Account Management](https://help.copia.io/knowledge/getting-started?hsLang=en#account-management)
    - [Customer Experience](https://help.copia.io/knowledge/getting-started?hsLang=en#customer-experience)
- [Source Control FAQ](https://help.copia.io/knowledge/source-control-faq?hsLang=en#main-content)

    - [Web App](https://help.copia.io/knowledge/source-control-faq?hsLang=en#web-app)
    - [Git Questions](https://help.copia.io/knowledge/source-control-faq?hsLang=en#git-questions)
    - [Desktop App](https://help.copia.io/knowledge/source-control-faq?hsLang=en#desktop-app)
    - [Tutorials](https://help.copia.io/knowledge/source-control-faq?hsLang=en#tutorials)
    - [Best Practices](https://help.copia.io/knowledge/source-control-faq?hsLang=en#best-practices)
    - [Source Control](https://help.copia.io/knowledge/source-control-faq?hsLang=en#source-control)
- [DeviceLink FAQ](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#main-content)

    - [Siemens TIA Portal](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#siemens-tia-portal)
    - [Agent](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#agent)
    - [General](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#general)
    - [Rockwell Studio 5000](https://help.copia.io/knowledge/devicelink-faq?hsLang=en#rockwell-studio-5000)

[![Chill listening crop-3](https://help.copia.io/hs-fs/hubfs/Logo_Hotdog_BlackTeal-1.png?width=87&height=24&name=Logo_Hotdog_BlackTeal-1.png "Chill listening crop-3")](http://copia.io)

43 W 24th St, 6th Floor  
New York, NY 10010

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2025, Copia Automation, Inc.