Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: ripplexn8 on April 09, 2018, 01:08:57 AM



Title: Error: Bad Index File Sha1 signature when trying to upload to github
Post by: ripplexn8 on April 09, 2018, 01:08:57 AM
Hey guys so I am trying to upload my coin to Github

I'm using Ubuntu to do this.

When I type in git add * into the console I get this error message:
https://s17.postimg.org/r75gqe50f/error_message.png

Any help would be greatly appreciated


Title: Re: Error: Bad Index File Sha1 signature when trying to upload to github
Post by: Xynerise on April 09, 2018, 07:09:50 AM
First do
Code:
rm -f .git/index
git reset


If that doesn't work then Check if you have other .git folders in subdirectories and delete them then do a
Code:
git reset


Title: Re: Error: Bad Index File Sha1 signature when trying to upload to github
Post by: ripplexn8 on April 09, 2018, 05:07:15 PM
First do
Code:
rm -f .git/index
git reset


If that doesn't work then Check if you have other .git folders in subdirectories and delete them then do a
Code:
git reset

Thanks that worked!

Now I'm getting this error any idea how to fix it?

https://s17.postimg.org/gymmvocqn/error2.png