Help removing files from the local Repro on your computer #158130
Replies: 4 comments
-
|
`Remove the files from the local repository: First, make sure the files are no longer being tracked by Git. Open your terminal and navigate to the repository folder. Then, run the following command to remove the files from the index (Git’s tracking system), but not from your local filesystem: bash bash bash bash bash To set up Git LFS: bash bash |
Beta Was this translation helpful? Give feedback.
-
|
I tried to do the above but the error still appears: .... In my .gitignore file the problematic paths appear. And in the tracking file .gitattributes .exe files also appear. |
Beta Was this translation helpful? Give feedback.
-
|
someome have an answer for me? |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I started uploading one of my projects to github.


I had some heavy files in one of the folders, I already added and cloned them but when I push it is too heavy and so everything does not upload.
The question is how can I remove these files from the local Repro?
I also tried tracking them using LFS but it does not treat them as heavy files because they are already in the local Repro.
I put them in a .gitignore file but they are already in the local Repro so it ignores them and tries to push them too (and fails because of the size).
I would appreciate help with this.
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions