Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
64 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\...
albertkao9's user avatar
0 votes
0 answers
66 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 ...
Elie G.'s user avatar
  • 1,784
2 votes
1 answer
64 views

I have a folder structure in a Git Repo like the following: . └── top_level/ ├── invalid_file_names/ │ ├── <?>.txt │ └── <<>>?.txt └── valid_files/ ├── ...
ng.newbie's user avatar
  • 3,332
0 votes
0 answers
47 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&...
Tim  's user avatar
  • 11
1 vote
0 answers
71 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: ...
silvio.ledergerber's user avatar
1 vote
1 answer
86 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 ...
Dennis's user avatar
  • 2,128
2 votes
2 answers
193 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]}...
Hi Byee's user avatar
  • 25
-1 votes
2 answers
142 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 ...
Chiwda's user avatar
  • 1,387
-6 votes
1 answer
103 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 ...
Richard Rublev's user avatar
-3 votes
2 answers
164 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 ...
Garret Wilson's user avatar
0 votes
0 answers
105 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 ...
Buzz B's user avatar
  • 147
2 votes
1 answer
160 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, ...
davidalayachew's user avatar
4 votes
0 answers
97 views

My system is Windows 11. I am using latest git bash from 2025-06-28. I am trying to clone the public github repository https://github.com/eringee/biodata (over HTTPS) / [email protected]:eringee/biodata (...
Jean-Michaël Celerier's user avatar
0 votes
1 answer
313 views

I've configured VS Code to use Git Bash as my default terminal, but when AugmentCode runs commands (like Flutter commands or tasks), it still uses PowerShell. What I've already done: Set Git Bash as ...
maxim_ge's user avatar
  • 1,269
1 vote
0 answers
90 views

I'm new to this and I'm trying to learn Python. I've got Git Bash installed and Anaconda 3 and whenever I got to launch jupyter from Git Bash I get a bad config error. This is the commands I'm using ...
Salem Maley's user avatar
1 vote
0 answers
149 views

I'm a complete beginner developer working on Windows 10/11, using Git Bash (with Zsh shell) as my terminal. I'm encountering a critical issue when trying to log in or link my project using Supabase ...
beofme's user avatar
  • 11
1 vote
1 answer
90 views

In jshell, typing the TAB key on my keyboard serves as both auto-completion, as well as lets you see a short view of the documentation. How do I type a literal TAB character in jshell? Sometimes, when ...
davidalayachew's user avatar
0 votes
0 answers
42 views

Here is my windows Dockerfile: FROM mcr.microsoft.com/windows/servercore:ltsc2022 AS installer SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $...
mark's user avatar
  • 63.7k
2 votes
1 answer
136 views

In Git Bash in Windows 11 I try to set the user name via the command line. This fails as only the part before the first space is processed. $ git config --global user.name "Your Name" $ ...
elechris's user avatar
  • 717
0 votes
0 answers
73 views

I know this issue has been posted about multiple times, but none of the answers on any other question has helped. git fetch --depth=601 remote: Enumerating objects: 35562, done. remote: Counting ...
CrescentSickle's user avatar
1 vote
4 answers
136 views

I'm working on some dev tooling in/for Bash 5.2 (Git Bash for Windows) environments. What I'm looking for I'd like to be able to take an arbitrary UTC timestamp (e.g. @1746111769) and print a coarse, ...
LyrePyre's user avatar
  • 563
0 votes
1 answer
388 views

Here is my precommit hook (found on stack overflow) : #!/bin/bash # taken from : https://stackoverflow.com/questions/39576257/how-to-limit-file-size-on-commit hard_limit=$(git config hooks....
iostrym's user avatar
  • 133
0 votes
1 answer
89 views

I'm using Maestro on Windows, and I followed the official installation and setup guide from the official documentation page: official guide to install Maestro on Windows I also installed Maestro on ...
Daniel's user avatar
  • 233
1 vote
1 answer
107 views

I'm using Windows, in Git Bash, if I use vimdiff as the compare tool, Git will trigger the vimdiff in its package. However, it's hard to add a new color scheme, e.g. gruvbox. Git's vim is in C:\...
athos's user avatar
  • 6,517
0 votes
0 answers
82 views

Issue Summary: I'm on Windows using Git Bash in VSCode. When I open a Git Bash terminal in one specific project and try to run conda, I get the following error: bash: /cygdrive/c/Users/tssom/anaconda3/...
Tyler S Somers's user avatar
1 vote
1 answer
256 views

I’m using Git Bash on Windows, and I'm trying to use the Windows OpenSSH agent to manage my SSH keys. Despite successfully starting the SSH agent as a service, I encounter the following error when ...
achang2's user avatar
  • 59
2 votes
0 answers
72 views

OS: Windows11 git version 2.23.0.windows.1 On git bash, when I type in a command that opens an external program (for example, gvim, gitk etc.), how do I change the focus to the newly opened program i....
Invalidsearch's user avatar
0 votes
0 answers
39 views

I am trying to mount data using a docker container. It doesn't ever seem to mount and I don't know what I am doing wrong. I am using the git bash terminal. I am inside the folder called "...
stephr's user avatar
  • 123
0 votes
1 answer
151 views

I’m trying to set up Discourse locally using Docker on Windows, but I’m running into errors. Here’s what I’ve done so far: Installed Docker Desktop and ensured it’s running. Cloned the Discourse ...
JohnnyCoder's user avatar
0 votes
1 answer
57 views

How can I run the bash terminal in VS Code using my .bashrc which is located in the project directory? I wrote the arguments for launching the bash terminal in settings.json VS Code settings.json ...
Maksim Kalinin's user avatar
1 vote
2 answers
283 views

I downloaded Python 3.13.2 zip archive (Windows embeddable package (64-bit)). It contains the following files: _asyncio.pyd _bz2.pyd _ctypes.pyd _decimal.pyd _elementtree.pyd _hashlib.pyd _lzma.pyd ...
Alexey Starinsky's user avatar
1 vote
1 answer
188 views

AIM: To modify one GitHub Actions .yaml file by running another GitHub Actions file. Specifically, I want to randomize the cron schedule of the other file. PROBLEM: It gives error ! [remote rejected] ...
Asmit Karmakar's user avatar
1 vote
0 answers
84 views

I have a Git repository with multiple branches, and I need to clone it to my local machine. My goal is to extract only the files that were changed in each Pull Request (PR) and copy them to a separate ...
Madawa's user avatar
  • 11
0 votes
0 answers
78 views

I submitted a few files, all to separate branches and made a PR. But my PRs were closed with unmerged commits because I had to fix some issues with my code. I resubmitted after and made new PRs but ...
Bongeka Mtetwa's user avatar
0 votes
0 answers
185 views

I am using git bash terminal in vscode for a git repository and the terminal unexpectedly shut off during a process. (I was installing packages from a requirements file and I am thinking my internet ...
CCC's user avatar
  • 69
0 votes
0 answers
44 views

Everytime i open a new gitbash terminal, then a new empty .npmrc file is been created and it overwrites the existing config file (if one was existing). I work on windows. I uninstalled git for windows ...
Julien Berthoud's user avatar
0 votes
0 answers
84 views

On a morning like any other, I run git status in Git Bash, only to be greeted with this: fatal: unable to access 'C:\Users?artolomeo/.config/git/config': Invalid argument For context, my Windows ...
chocojunkie's user avatar
0 votes
0 answers
30 views

I have a python program that prints some examples so that users can copy and paste to run. The examples are all long lines. I noticed that when python printed a long line in gitbash, and then I copy ...
oldpride's user avatar
  • 1,063
1 vote
1 answer
563 views

When I open a GitBash terminal in VSCode while I have a virtual environment activated, the path displayed on top of the input line is C:/Users/username/AppData/Local/Programs/Microsoft VS Code, but ...
user25752829's user avatar
0 votes
0 answers
29 views

Please, find below a few environment variables I can see in the VS Code integrated git-bash: ~$ for var in PSMODULEPATH LIB LIBPATH INCLUDE EXTERNAL_INCLUDE ORIGINAL_PATH PATH; do echo "\${#$var} ...
mark's user avatar
  • 63.7k
0 votes
1 answer
296 views

I’m new to VS Code and I’m trying to create a virtual environment for my project. I’m using Windows 11 and Git Bash as my terminal. Steps I Followed Navigate to the project directory: My_Name MINGW64 ...
user28819613's user avatar
0 votes
1 answer
155 views

When using git bash on Windows, pressing ESC key for multiple times, then the input will be blocked. And after several seconds or more, it might show below information: MyHome+tomxue@DESKTOP-I23OD70 ...
Tom Xue's user avatar
  • 3,393
1 vote
0 answers
62 views

When I use the mongosh command in Git Bash and try to clear the screen using Ctrl+L or the clear command, it doesn't work. However, both commands work fine in the VS Code terminal, whether in Bash or ...
Akshay BCR70's user avatar
0 votes
0 answers
45 views

I have added my .pub key for the repo access . tried with ssh -T hostname for testing and it's working perfect. But while trying to clone the repository, I'm getting error like this: FYI, I'm using ...
Gyanaranjan Sahoo's user avatar
0 votes
1 answer
81 views

I'm attempting to make a reusable action that is capable of getting all the files of a certain type that were modified since the last push. The action works perfectly and its output is as follows (...
Cacangale's user avatar
1 vote
1 answer
32 views

I want to configure kdiff3 to use a specific order for windows (from left to right): $REMOTE | $BASE | $LOCAL. However, I encountered an issue where $REMOTE differs between merge and rebase commands. ...
Pavel's user avatar
  • 1,167
0 votes
0 answers
31 views

If I write git config --global alias.foo '!git bar "$@", all arguments provided to git foo will be forwarded to git bar while preserving spaces within arguments. For example, git foo hi &...
H.v.M.'s user avatar
  • 1,746
0 votes
1 answer
43 views

Lets say I’m working on a project where I need to remove a specific block of SEO-related code from hundreds of index.html files located in various subdirectories within a root directory. Here's the ...
JellyCoder's user avatar
1 vote
0 answers
21 views

Trying to diagnose why an MSYS command fails within a buildsystem when it is invoked from Git Bash, even though the buildsystem succeeds when it is invoked from CMD. I've noticed that, when I invoke ...
adentinger's user avatar
  • 1,411
2 votes
3 answers
153 views

I’ve been using Git Bash on Windows, and recently, I had the chance to try Codespace. I loved how the Codespace terminal setup was very clean and simple. When you open the terminal, there is no path ...
Nishant's user avatar
  • 21

1
2 3 4 5
71