Change email address in Git

前端 未结 5 1506
耶瑟儿~
耶瑟儿~ 2021-01-30 00:17

I have a project hosted in Git stash (now rebranded as Bitbucket Server). It is built using jenkins. Now I made a typo while installing my Git locally. Like @ab.com instead of @

5条回答
  •  迷失自我
    2021-01-30 01:18

    use

    "git -c user.name="your name" -c user.email=youremail@email.com commit --amend --reset-author"

提交回复
热议问题