Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of -1
1 answer
93 views

Common situation : I have Git Bash installed, and also MSYS2. Now, Git Bash relies on MinGW-w64, which is also a part of MSYS2 as one of its environments, meaning that I pretty much have MinGW-w64 ...
Score of 1
0 answers
158 views

I am trying to use a bash kernel in jupyter notebooks and am receiving the following error: Connection failed A connection to the notebook server could not be established. The notebook will continue ...
Score of 3
1 answer
79 views

When typing the command : echo 'Hello;World' | tr ';' '\\ ' Output : 'Hello\World' Expected Output : 'Hello\ World' Is there a valid way to obtain the expected output ? Note that when using echo '...
Score of 0
0 answers
312 views

I try to start Git Bash (Git for Windows) on a DOS shell but get the error message: >C:\APPS\Git\bin\bash.exe Skipping command-line '"C:\APPS\Git\bin\..\usr\bin\bash.exe"' ('C:\APPS\Git\...
Score of 0
0 answers
113 views

I'm trying to translate my bash scripts using the gettext tools but I have a problem where the encoding seems to be wrong. Let's say I have the following file called fr.po: # French translations for ...
Score of 2
1 answer
101 views

I have a folder structure in a Git Repo like the following: . └── top_level/ ├── invalid_file_names/ │ ├── <?>.txt │ └── <<>>?.txt └── valid_files/ ├── ...
Score of 0
0 answers
65 views

Failing in GitBash when trying to use python to generate a QR Code. Fails on the print line. Works find on windows device. Error Message: Traceback (most recent call last): File "awsauth.py&...
Score of 1
0 answers
112 views

I have been using a bash script on my Windows environment for a long time to automate certain git commands. With a new Windows 11 installation I get a completely unexpected problem with the script: ...
Score of 1
1 answer
103 views

I'm trying to use the merge-doc.js script in my Git config for merge driver and mergetool for .docx, but the TortoiseGit helper script that starts a compare in Word using DCOM requires absolute paths ...
Score of 2
2 answers
227 views

I wrote a simple quick sort algorithm. When I run it, it echoes the same array back. #!/usr/bin/bash arr=(1 8 3 9 4 5 7 2) partition() { local low=$1 local high=$2 local pivot=${arr[low]}...
Score of -1
2 answers
173 views

I am creating several new repositories and I want to automate it for a future product I am building. Got stuck on the first step. The following command works (at least there is no error message): git ...
Score of -6
1 answer
116 views

I tried this git checkout --orphan newfeature/lk1 Inside I have A,B,C.... my goal was delete all except the one,A find . -name A -prune -o -print0 | xargs -0 rm It did not work for me. I am using ...
Score of -3
2 answers
181 views

Git is behaving very strangely by silently failing to update the working directory contents when changing to a branch relative to a remote under certain conditions, e.g. if there is an empty directory ...
Score of 0
0 answers
162 views

The task I'm using oh-my-posh to display extra info in the terminal for PowerShell (v7) and Git Bash. The problem When using Windows Terminal I can see that the theme changes are present, but in the ...
Score of 2
1 answer
279 views

I have a pom file whose name looks similar to this. <name>Some Name 😊</name> But when I performed the maven build, I got this instead. Some Name ≡ƒÖé I set my project encoding to utf-8, ...

15 30 50 per page
1
2 3 4 5
234