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 8544975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:41:11+00:00 2026-06-11T12:41:11+00:00

I found this question which explains Change the author and committer name and e-mail

  • 0

I found this question which explains Change the author and committer name and e-mail of multiple commits in Git When run any of the scripts/commands given here, are the original commits still stored in my local repo? Is there a way to get rid of them?

  • 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-11T12:41:12+00:00Added an answer on June 11, 2026 at 12:41 pm

    Yes. The original commits will remain in your git repository. If you look at git reflog, you can see the history of recent changes. The commits will remain permanently so long as they are referenced somewhere. So, for example, if you have a branch with the original commits, they will never be deleted. However, if the commits have been orphaned (i.e. they are not accessible from any ref), then they will eventually be deleted when git gc is run. However, the default is for this to not happen for 30 days. To force this to happen immediately, you can run:

    git reflog expire --all
    git gc --prune=now --aggressive
    

    Use with caution, as you don’t want to accidentally lose data you wanted. This will delete any unreferenced commits.

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

Sidebar

Related Questions

Found a question which already explains this - How to sort an array of
I found this question which had an answer to the question of performing batch
I found this question which is a great starting point towards creating embedded widgets
While trying to answer this question I found without () (which invokes C++ most
I found this on Google, click here , which someone asked a similar question,
Found this question that explained a way to communicate between layers. However there is
I found this question that is discussing what I would like to do, but
I found this question that was very useful in learning the basics of the
I found this question but it was only similar and, more importantly, dated by
I found this answer to this question https://stackoverflow.com/a/7244888/1473523 , but in my situation am

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.