Note that there are some explanatory texts on larger screens.

plurals
  1. POGit unintentionally pushing files
    primarykey
    data
    text
    <h3>The problem</h3> <p>I accidentally added my datasets to my commit. When I pushed the commit it gave me the standard file size error (dataset files are over 100MB). I reverted the previous commit using <code>git revert</code>, and only added my ipython notebook and some image files.</p> <p><em>Now when I push my commit it still tires to push the dataset files as well</em></p> <p>Using <code>git diff --stat origin/master</code> I found the files to be pushed :</p> <p>agconti@agconti-Inspiron-5520:~/my_dev/github/US_Dolltar_Vehicle_Currencny$ git diff --stat origin/master</p> <pre><code> .ipynb_checkpoints/US_Dollar_Vehicle_Currency-checkpoint.ipynb | 1972 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CountryNumbers_indexConti.xlsx | Bin 0 -&gt; 22762 bytes Italian Trade/US_Dollar_Vehicle_Currency.ipynb | 1972 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Italian Trade/images/3_year_exchange_rate_volitlity.png | Bin 0 -&gt; 11808 bytes Italian Trade/images/Currency_usage_breakdown_top20.png | Bin 0 -&gt; 404666 bytes Italian Trade/images/Currency_usage_observations_top20.png | Bin 0 -&gt; 274964 bytes Italian Trade/images/Currency_usage_trade_value_top20.png | Bin 0 -&gt; 211274 bytes Italian Trade/images/Exchange_rate_volitlity_top20.png | Bin 0 -&gt; 345899 bytes Italian Trade/images/prop_xm_top20.png | Bin 0 -&gt; 258254 bytes Italian Trade/images/rate_derive_activity_top20.png | Bin 0 -&gt; 214196 bytes README.md | 2 +- US_Dollar_Vehicle_Currency.ipynb | 809 -------------------------------- images/3_year_exchange_rate_volitlity.png | Bin 11808 -&gt; 0 bytes images/Currency_usage_breakdown_top20.png | Bin 404666 -&gt; 0 bytes images/Currency_usage_observations_top20.png | Bin 292532 -&gt; 0 bytes images/Currency_usage_trade_value_top20.png | Bin 224008 -&gt; 0 bytes images/Exchange_rate_volitlity_top20.png | Bin 361868 -&gt; 0 bytes images/exporter_economic_strength_top20.png | Bin 0 -&gt; 166575 bytes images/exporter_trade_health_top20.png | Bin 0 -&gt; 277557 bytes images/prop_xm_top20.png | Bin 275777 -&gt; 0 bytes images/rate_derive_activity_top20.png | Bin 228728 -&gt; 0 bytes libpeerconnection.log | 0 22 files changed, 3945 insertions(+), 810 deletions(-) </code></pre> <p>None are the dataset files. Even so they are still being pushed. </p> <p><strong>How can I get git to stop pushing the dataset files?</strong></p> <p>Heres a look at the error message:</p> <pre><code>Delta compression using up to 8 threads. Compressing objects: 100% (27/27), done. Writing objects: 100% (30/30), 279.15 MiB | 389 KiB/s, done. Total 30 (delta 7), reused 3 (delta 0) remote: Error code: c4fe7114933ad585dc5027c82caabdaa remote: warning: Error GH413: Large files detected. remote: warning: See http://git.io/iEPt8g for more information. remote: error: File ForConti_AllItalianImportsVCP.raw is 987.19 MB; this exceeds GitHub's file size limit of 100 MB remote: error: File italian_imports.csv is 1453.55 MB; this exceeds GitHub's file size limit of 100 MB remote: error: File italian_imports_random_10percent.csv is 138.30 MB; this exceeds GitHub's file size limit of 100 MB To https://github.com/agconti/US_Dollar_Vehicle_Currency ! [remote rejected] master -&gt; master (pre-receive hook declined) error: failed to push some refs to 'https://github.com/agconti/US_Dollar_Vehicle_Currency' </code></pre> <h3>What I've tried</h3> <p><a href="https://stackoverflow.com/questions/3636914/how-can-you-see-what-you-are-about-to-push-with-git">How can I see what I am about to push with git?</a></p> <p><a href="https://stackoverflow.com/questions/4114095/git-revert-to-previous-commit-how">How to revert Git repository to a previous commit?</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload