## 事象
[[Git]]のコマンドを実行すると以下のwarningが出る。
```
warning: git-credential-manager-core was renamed to git-credential-manager
warning: see https://aka.ms/gcm/rename for more information
```
## 原因
[[credential.helper $helper]]の指定が[[Git-Credential-Manager-Core]]になっていたため。[[Git-Credential-Manager-Core]]は2021年11月に[[Git Credential Manager]]と名前を変えているので警告が出る。
```
$ git config --show-origin --get-all credential.helper
file:C:/Users/tadashi-aikawa/scoop/apps/git/2.39.0.windows.1/etc/gitconfig !"C:/Users/tadashi-aikawa/scoop/apps/git/2.39.0.windows.1/mingw64/bin/git-credential-manager-core.exe"
file:C:/Users/tadashi-aikawa/.gitconfig manager
```
## 解決方法
[[credential.helper $helper]]の指定を[[Git Credential Manager]]にする。
```diff
[credential]
- helper = !\"C:/Users/tadashi-aikawa/scoop/apps/git/2.39.0.windows.1/mingw64/bin/git-credential-manager-core.exe\"
+ helper = !\"C:/Users/tadashi-aikawa/scoop/apps/git/2.39.0.windows.1/mingw64/bin/git-credential-manager.exe\"
```
## 参考
- [git\-credential\-manager/rename\.md at main · GitCredentialManager/git\-credential\-manager](https://github.com/GitCredentialManager/git-credential-manager/blob/main/docs/rename.md)