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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:37:55+00:00 2026-06-12T07:37:55+00:00

I had a new git repository with only two commits, and one push to

  • 0

I had a new git repository with only two commits, and one push to GitHub. Then I did

chmod -R a+x * .*

to make all my files executable. I then also removed a file, but when I tried

git commit -m "Removing file"

I was “Suddenly” greeted with the following error message

Duplicate Signed-off-by lines.

I have not used the Signed-off-by functionality at all.

Why does this suddenly happen, when the two first commits proceeded without any problems?

  • 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-12T07:37:57+00:00Added an answer on June 12, 2026 at 7:37 am

    OK, the following link put me on the right track:

    http://willnorris.com/2009/02/git-duplicate-signed-off-by-lines

    I realized that there is a bug in the default example hooks file in my local .git folder:

    .git/hooks/commit-msg
    

    So after I ran the following command (to disable that file again) my problem disappeared ü

    chmod a-x .git/hooks/commit-msg
    

    Cheers!

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

Sidebar

Related Questions

I use git-new-workdir to have two working trees for one git repository. This usually
I had created project. New File or Project=>git Repository Clone=> clone url git://github.com/negativ/eiskaltdcpp.git=>The process
I have just started a new git repository. I followed the directions on github,
I had the same question as asked here: New git repository in root directory
I'm new to Git. Let's say Alice and Bob had been developing their project
Im very new to git ingeneral, egit and github. The problem: Lets say I
I have a serious issue happened to my git repository. I had 2 branches
I've run into a problem when I try to push only the new files
I cloned a read-only Git repo from GitHub onto my server. The next day,
I'm completely new at git, and having had prior knowledge with putty decided to

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.