Repository navigation
Store gh config in %APPDATA% on windows #1944
Copy link
Copy link
Closed
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLIwindowsRelated to Windows hosts or runnersRelated to Windows hosts or runners
Description
Activity
Good point; thank you!
Ref. #554
Reacted by Giacomo Rossetto- addedenhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcomewindowsRelated to Windows hosts or runnersRelated to Windows hosts or runnersand removedbugSomething isn't workingSomething isn't working
on Sep 29, 2020 - changed the title
[-]Authenticating in Windows creates .config in user profile[/-][+]Store gh config in %APPDATA% on windows[/+]on Sep 29, 2020 I would still like
ghto respectXDG_CONFIG_HOMEandXDG_DATA_HOMEin a Windows environment, but to fall back to%APPDATA%and%LOCALAPPDATA%if XDG variables are not set.Reacted by Neurognostic, Mislav Marohnić, Matthew Erker, Reza Tavakoli, Morgan Courbet, Mel Massadian and Peter AbbasiI would still like to see
config.ymlin ~\.config\gh\config.ymlReacted by Reza Tavakoli, Jimmy Briggs, sk and Mel Massadian- addedcoreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributors
on May 19, 2021 For those who find this from google, it wasn't obvious, this now gets installed in :
C:\Users\User\AppData\Roaming\GitHub CLI\config.ymlReacted by Bruce Edge, Nikos Ves, puc9 and nikola-pandurskiReacted by puc9Anyone brave enough to try symlinking either config.yml or hosts.yml between env's (Windows & WSL)?
Would be nice to not have WSL mean one has to replicate every cfg dir just because the path format differs.
Metadata
Metadata
Assignees
Labels
coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLIwindowsRelated to Windows hosts or runnersRelated to Windows hosts or runners
Describe the bug
When I authenticate in gh with Powershell on Windows 10 it saves variuous files in
.config/ghin my user profile folder.It is expected on Linux, but on Windows I would love to have those files in %APPDATA% (like Github Desktop).
Steps to reproduce the behavior
Expected vs actual behavior
I expect configuration files to be in
%APPDATA%/Github Cliwhen authenticating in Windows enviroment.Logs