Questions tagged [git-for-windows]
The git-for-windows tag has no summary, but it has a tag wiki.
7 questions
0
votes
1
answer
72
views
Escaping the space in the ssh-agent SSH_AUTH_SOCK path
This is with Git for Windows 2.53.0 x64 on Windows 11 Home.
When I run
eval "$(ssh-agent -s)"
I get an error of the form:
bash: <LAST NAME>/.ssh/agent/s.<random characters>....
1
vote
3
answers
1k
views
How to make git bash on Windows not emit `\r`?
Problem statement
I'm on Windows, and sometimes would like to execute commands inside docker containers, but I'm unable to execute those with the error <command>\r: command not found. For ...
1
vote
1
answer
374
views
Bug of Bash?? When setting of `$HISTIGNORE` ends with `SP`+`*` or `SP`+`?*`
When setting of $HISTIGNORE ending with SP+* or SP+?*, lists of files in current folder will be concated to it's value.
No matter extglob is set or unset.
NG Example, (current folder has only one file ...
0
votes
0
answers
496
views
Windows+IntelliJ IDEA 2021.3.1+Git for Windows v2.34.1: Git bash shell in Idea terminal, skip to next/previous word not working ( Ctrl + ← | Ctrl+ → )
I installed git for windows and linked bash shell in IntelliJ but I'm missing one shortcut which saves me a lot of time is a direct move to the next/previous word in the command line. how can I make ...
9
votes
3
answers
4k
views
Can the Windows %PROGRAMFILES(X86)% environment variable be accessed in Cygwin or Git Bash?
In Git Bash and Cygwin, I can easily access the Windows %PROGRAMFILES% environment variable:
$ echo $PROGRAMFILES
C:\Program Files
$ echo ${PROGRAMFILES}
C:\Program Files
However, due to the ...
1
vote
2
answers
2k
views
Git permission error with a twist
I just booted my Windows 10 machine for the first time in two or three months and updated a game whose versions I'm keeping in a git repo. There was a patch to the game, so I tried to stage the ...
0
votes
1
answer
389
views
search over all drives in git bash crashes - "failed to read file names from file system at or below '/': No such file or directory"
I am using the git-bash for windows (what is internal msys2).
I needed to search over all of my harddrives.
When I try to run find / -type d (and my search patterns), the search runs over the system ...