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

  • Home
  • SEARCH
  • 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 1077593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:35:53+00:00 2026-05-16T21:35:53+00:00

When rewriting a Git repository’s history, how do you remove sign-offs (as created by

  • 0

When rewriting a Git repository’s history, how do you remove sign-offs (as created by git commit -s or git commit --signoff)?

git filter-branch‘s commit-filter seems to only support the variables used by git commit-tree:

GIT_AUTHOR_NAME
GIT_AUTHOR_EMAIL
GIT_AUTHOR_DATE
GIT_COMMITTER_NAME
GIT_COMMITTER_EMAIL
GIT_COMMITTER_DATE
EMAIL
  • 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-05-16T21:35:53+00:00Added an answer on May 16, 2026 at 9:35 pm

    Sign offs are just part of the message body. So, you’ll want to use git filter-branch --msg-filter to run a command to find lines starting with Signed-off-by: and remove them.

    Something like

    git filter-branch --msg-filter "sed /^Signed-off-by:/d"
    

    should do the trick.

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

Sidebar

Related Questions

This question is about rewriting git history. Six months ago I decided to make
I'm still trying to understand the ramifications of rebase and rewriting Git history. Imagine
I read everywhere that rewriting history of commits that have been published is bad
I've just had my first experience with rewriting the history of one of my
Sometimes, esp. when I'm the only one working on a remote repository, I like
I am still relatively new to git, have only used basic features. I have
I am rewriting one of javascript's core methods: Element.prototype._removeChild = Element.prototype.removeChild; Element.prototype.removeChild = function(){
Possible Duplicate: Rewriting URL that contains question mark Hi a noob question for url
We are rewriting a foxpro database to SQL. I encountered the following scenario. Foxpro
I'm rewriting a url to a users profile with mod_rewrite like this: domain.com/users/JohnSmith. I

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.