github for windows - How do I fix a broken git revision that has no ident? -


i have git repository lots of revisions. i'm developer, commits me far. somehow, ended single commit has no ident information. tried running:

git filter-branch --env-filter ' >> git_author_name=myusername >> git_author_email=myuseremail@website.com >> export git_author_name >> export git_author_email 

but keep getting error:

rewrite deadbeefdeadbeefdeadbeefdeadbeefdeadbeef (112/123)fatal: empty ident name (for ()) not allowed not write rewritten commit rm: cannot remove '/c/some/directory/that/leads/to/my/repository/.git-rewrite/revs': permission denied rm: cannot remove directory '/c/some/directory/that/leads/to/my/repository/.git-rewrite': directory empty 

what doing wrong? see online ident tells how fix commits before make them: do after commit through?

to sure, set author and committer, , use git commit-tree, record change.

you can see full example in "change author of commit in git".

note: reset filter-branch, might have to:

  • exit git bash
  • delete .git-rewrite folder.

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -