You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am adding this issue, because is difficult to locate this valuable information!
In my case, I had git installed separately, so cmder was using my installed version of git+all other Linux ({GIT path}/usr/bin) commands (ls for example).
I tried all workarounds from the numerous issues with no luck.
The craziest issue I encounter: sometimes all linux cmds were executing really fast with degradation to very slow execution (a simple ls more than 10sec!)
What solved the problem?
Both @lunyx on #993 and @davidnero on #763 are giving the correct solution.
cd to where your Git app folder is stored
i.e. c:\Users\myname\AppData\Local\Programs\Git
and execute
mkpasswd -l -c > passwd
mkgroup -l -c > group
then check that nsswitch.conf on i.e. c:\Users\myname\AppData\Local\Programs\Git\etc
is
# Begin /etc/nsswitch.conf
passwd: files db
group: files # db
db_enum: cache builtin
db_home: env windows cygwin desc
db_shell: env windows # cygwin desc
db_gecos: env # cygwin desc
# End /etc/nsswitch.conf
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contribution(s).
I am adding this issue, because is difficult to locate this valuable information!
In my case, I had git installed separately, so cmder was using my installed version of git+all other Linux ({GIT path}/usr/bin) commands (ls for example).
I tried all workarounds from the numerous issues with no luck.
The craziest issue I encounter: sometimes all linux cmds were executing really fast with degradation to very slow execution (a simple
ls
more than 10sec!)What solved the problem?
Both @lunyx on #993 and @davidnero on #763 are giving the correct solution.
then check that
nsswitch.conf
on i.e. c:\Users\myname\AppData\Local\Programs\Git\etcis
The text was updated successfully, but these errors were encountered: