Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8354481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:33:41+00:00 2026-06-09T09:33:41+00:00

So I pulled a large number of files using git once (massive). But then

  • 0

So I pulled a large number of files using git once (massive).

But then I used git rm to remove the directory from the git database because git started taking a long time to pull from origin, but calling git rm did not solve the problem – git still takes a long time to pull from origin.

What can I do other than recreating the repository to fix this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:33:43+00:00Added an answer on June 9, 2026 at 9:33 am

    Because git keeps a history of all your commits, that content is technically there in the git repo (which, thankfully is exactly what a source repo is good for 🙂

    You can rewrite the past history to remove all references to the folder.

    This site has an example using filter-branch:

    http://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-a-git-repository

    Note: You are rewriting history, you will need to force push the repo to the server. If other people are using/committing to it, it may cause them some trouble.

    Edit: Another interesting read on the topic: http://ramblinglabs.com/blog/2012/04/git-removing-sensitive-data-and-rewriting-history

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This morning we pulled from our repo, and git put us on (no branch).
I've pulled down the latest Guava from the public git repository. When I try
I'm trying to process a large gzip file pulled from the internet in python
I pulled from origin to update my local, and one file had conflicting changes.
I have pulled an incoming changes from a codeplex-based mercurial repository and have arrived
I have a gesture recognizer pulled from storyboard and it is working fine and
I have a list of pictures being pulled from the standard flickr API, and
Using javascript I'm trying to load images not on the current page (from an
I'm working on a C# class to parse BBCodes out of text pulled from
I've just been assigned to start working with the code from a large, legacy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.