The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
12 views

How do stop the OpenSSH window from continuously prompting me for my passphrase?

I'm using the git bash terminal on Windows 10 to work with repos. When I use a repo where I used SSH to connect to the remote repo, I get an OpenSSH dialog that requests my passphrase with 'Enter ...
2
votes
3answers
50 views

Is it possible to assign a keyboard shortcut to a certain command in windows explorer?

Here is my use case. Often I browse directories in windows explorer and find myself in need to open the gitbash at the current directory. Now git bash comes with a nice context menu entry but ...
0
votes
0answers
47 views

Disable the windows ASCII color escape wrapping in git bash

The console host in windows 10 now supports a range of ascii escape sequences. http://www.nivot.org/blog/post/2016/02/04/Windows-10-TH2-(v1511)-Console-Host-Enhancements I decided to try it out with ...
0
votes
1answer
22 views

Strange tips when opening the git bash

When i open the git bash from the explorer-context-menu most recently a strange tip-box appears, when I run a normal CMD this tip does not appear. Any idea what it is?
0
votes
1answer
106 views

In CMD.exe, “start sh.exe” creates a conhost process which takes 700 MB memory

Git bash (sh.exe) otherwise takes little memory, but when started with CMD's start sh.exe command, it creates a conhost.exe process that takes 3-700 MB memory. Interestingly start cmd /k sh.exe ...
0
votes
0answers
88 views

Git Bash delayed output

I run some program in git bash terminal on windows and redirect output to grep to search for specific keywords. Problem is that the output is delayed, so it looks like the terminal waits for a chunk ...
0
votes
0answers
14 views

sqlite3 doesn't produce any output in the gitbash or cygwin [duplicate]

I'm trying to use sqlite (cli 3.10.1) with cygwin or gitbash on windows 10 64. However, when I run it, nothing happens, i.e. sqlite produces no output. Everything's alright in cmd.exe
1
vote
1answer
68 views

How can I configure git bash to display a timestamp for each command?

I run git's bash on Windows7 to manage source control for projects. Can I edit C:\Program Files (x86)\Git\etc\git-prompt.sh to enable me to timestamp when I ran commands? e.g. instead of user.name@...
0
votes
1answer
92 views

In Git Bash for windows, how to bookmark ssh hosts

I sometimes use the git bash terminal that comes with the Github app for windows to ssh into my webservers. This is easily accomplished by running ssh user@myhost and entering the password. In ...
1
vote
0answers
29 views

Files can't provide quoted paths to command line programs

As some of you may know when you open a file with a program, what's happening is the file path of the file is supplied to the program as an argument. What's happening is for some reason Windows is ...
0
votes
0answers
18 views

Why ls only show contents when there are more than 1 empty sub directories?

I am working on a computer which has Windows 7 64-bit operating system. I have installed Git and working on Git Bash. On my D: drive I created a directory named Temp1: mkdir /d/Temp1 I went into ...
3
votes
1answer
51 views

Why empty directory is not being shown in Git Bash (Linux) in this case?

I am working on a computer which has Windows 7 64-bit operating system. I have installed Git and working on Git Bash. On my D: drive I have a directory named Temp5. Inside Temp5 directory I have a ...
1
vote
1answer
500 views

Open A New Tab In ConEmu, in the same Directory (git bash)

I want to assign a keyboard short cut within ConEmu that will open a new tab, in the same directory as the current tab is within. So something like: -new_console:d:[<pwd>]%ProgramFiles(x86)%\...
0
votes
1answer
14 views

Can I add one permission to many files at the same time?

I am using Git bash on a Windows 7 system. I have a directory with 20 files in it. They have various permissions, but they are all missing w for the group. I want them all to have w for the group ...
1
vote
2answers
209 views

Why does my backspace key keep being unbound from erase?

Every 5 to 20 minutes I need to retype stty erase ^H in the console because my backspace key randomly starts printing ^H instead of deleting characters. This is happening in git bash on a lenovo ...
1
vote
1answer
485 views

Git bash how to exit from read mode?

For example I type git diff commit1 cimmit2 and start read changes by scroll with down arrow and after I saw what I want I use CTRL+C for exit but when I start typing something I return to reading ...
1
vote
0answers
105 views

-L flag eqivalent in windows Netstat?

I'm trying to set up a tor node following http://sickbits.net/creating-a-personal-privoxytorproxy-ec2-instance/ using ubuntu 14.4 lts on ec2. I've gotten to: $ ssh ubuntu@ec2-blah.amazonaws.com -i ....
2
votes
1answer
808 views

How can I use 'git add' command on a file whose path includes a directory with spaces

I'm trying to use Git Add command to stage a couple of files for committing later. However, I can't seem to add it because Git bash doesn't like a directory with spaces in it. How can get around this ...
0
votes
1answer
292 views

Curl globbing (asterisk expansion) on windows

On windows, in git bash (but in system console too, I think) Why curl ignores all my attempts to disable globbing and expands asterisk? $ GLOBIGNORE="*"; set -f; curl --noproxy "*" "http://www....
-1
votes
1answer
547 views

Can't type anymore on Git bash after returning from ssh -tt

I wanted to execute a command in a remote shell in its interactive environment, so as to make it load my remote .bash_profile there first before executing the command. This works great: echo "...
0
votes
1answer
183 views

windows 7 file explorer crashes after mkdir via git bash

My environment: Windows 7 Git v1.9.0 Steps to reproduce my problem: open a folder in windows explorer right click in that folder and select "Git Bash" execute: "mkdir test" in the git bash ...
2
votes
3answers
1k views

can we open gitbash from atom text editor

Is there a way to open gitbash from within atom text editor. I want to have gitbash or other command line client in one of the panes.
0
votes
1answer
71 views

Invoke-item equivalent in git-bash?

Powershell allows you to open a GUI folder with the invoke-item command. Say I'm in C:\Family\Desktop, the command "invoke-item adam" allows me to open a GUI version of the adam folder. I've tried ...
1
vote
1answer
461 views

GIT Bash commands produce no output in ConEmu

I've tried this with ConEmuPack.141123 and ConEmuPack.140602: As you can see, error messages print fine (like dir: command not found), but output from bash commands don't show up. Does anyone know ...
6
votes
2answers
604 views

Rename tab from MinGW-console using ConEmu

I'm using the cmder (ConEmu) with Git Bash-tabs (MinGW) and I want to rename the current tab with a console command. Within a cmd-Tab I can use cmd /c RenameTab "myTabName" but I a need a similar ...
5
votes
1answer
4k views

How to install mintty into 'Git Bash' on windows?

I have installed git on windows from http://git-scm.com/download/win and I use the Git Bash shortcut to access git commands. Unfortunately, Git Bash uses the Windows Command (CMD.EXE) Terminal which ...
1
vote
1answer
469 views

Make Git Bash open to root directory from custom link

I'm using rainmeter to make a custom dashboard for windows and ran into a problem making a custom start button for git bash needing it to open to my root directory. The odd part is I have gitbash ...
4
votes
1answer
1k views

Do I need to be concerned using the Git Bash on Windows with Shellshock?

I use the Git Bash on a Windows 8.1 machine. Do I need to be concerned by Shellshock?
3
votes
1answer
2k views

Default console in ConEmu

I have git bash setup as a predefined task (task #1). But when I open ConEmu it defaults to cmd console, how do I change the default console to git bash?
0
votes
1answer
103 views

Git bash with Chinese?

I have a few folders with Chinese characters in them. I simply want to cd into them in Git bash, but this is impossible since I can't type Chinese in its terminal. Is there a plug-in of some sort that ...
1
vote
1answer
709 views

Start SSH session in ConEmu using Keepass 2

I am using Keepass 2 to store my SSH login credentials. Keepass has the ability to run commands and insert usernames, passwords, etc. into that command, so you can click on a web site credential and ...
0
votes
1answer
167 views

Running hstart from MSYS

I'm trying to automate some things on my computer. And here's what I ran into. I'm running this command from MSYS prompt: hstart /elevate "cmd /k netstat -anb" First a message box with title "...
1
vote
1answer
797 views

Bitbucket ssh Read from socket failed: Connection reset by peer

I'm using ssh to access git repository on bitbucket.org. Suddenly I can no longer connect to it. Haven't installed anything or did any changes to the settings. $ ssh -v git@bitbucket.org ...
0
votes
1answer
520 views

Change ConEmu directory to working directory with Git bash

I currently have the following to open a git bash instance: -new_console:"%ProgramFiles%\Git\bin\sh.exe" --login -i The above starts the new tab in the home directory. I'd like it to start in ...
1
vote
1answer
131 views

In git-bash when I hit delete it says “(arg: 3)” then the keyboard doesn't work correctly

I googled it and can't seem to find anything talking about it. Basically if I'm at the prompt, and I've typed something, then arrow to delete something in the middle of it, when I hit delete the ...
4
votes
1answer
6k views

Git Bash - Windows - Different font size between start screen launch and explorer launch

I am using Git Bash on Windows 8.1 I see (at least) two different ways to launch Git Bash: 1) Start Screen -> Type Git Bash -> Press Enter 2) Windows Explorer -> Right Click Folder -> Select "Git ...
0
votes
1answer
933 views

Console2 Color Scheme

I'm using console2 with git bash and powershell. I've set the colorscheme to monokai, but the console does not use the configured colors. Does anyone have any suggestions as to what I can do to have ...
2
votes
0answers
541 views

Using the msysgit shell in Emacs for windows

I am relativley new to Emacs and am trying to setup emacs, to allow the following command to open the msysgit shell. M-x bash-shell I have added following snippet to my init.el. (defun bash-shell (...
1
vote
1answer
85 views

GitBash to create Git Repository in Network Places?

I'm running Windows XP SP 3 on my computer. I know how to use GitBash, but I don't know how to get to my Network Places area within it so that I can create a Git Repository of a folder within a ...
0
votes
1answer
537 views

Git for Windows: how to apply changes in PATH without reboot?

I'm using Git for Windows on Windows 7. When I adjust the PATH environment variable, the changes would not be applied immediately for console windows. In order to force applying the changes for a ...
1
vote
2answers
290 views

Is it possible to change meaning of ANSI escape codes for colors?

I'm using a Git Bash (1.8.3) under Windows 7. Many of the command line tools come with the text highlighting using ANSI escape codes. However I've noticed the exact interpretation of the colors ...
3
votes
2answers
1k views

Windows 7 & Git Bash: Doesn't Recognize pear/phpunit

I can run pear/phpunit from "cmd" just fine. I checked %PATH% and everything that is there is also in $PATH. To be clear, this is not msysgit -- It is this: http://git-scm.com/downloads Anyone know ...
11
votes
3answers
18k views

Windows & Git Bash: Bash PATH to read Windows %PATH% system variable

I've recently added a directory to the Windows PATH manually by going into Control Panel -> System -> Advanced system settings -> Environment Variables -> User variables -> PATH. (Windows 7, 64-bit.) ...
36
votes
2answers
43k views

How do I modify my git bash profile in Windows?

I'm using Git Bash on Windows 7 and would like to set up bash profile aliases such as alias gs='git status' to make my life easier. How can I do this?
4
votes
2answers
1k views

How do I disown/detach a process from the Git Bash terminal that come with Git's Windows installer?

I would like to run commands from the terminal (mostly Python servers) and essentially daemonize them. I am running the MinGW terminal "Git Bash" that comes with the Windows installer for Git. ...
1
vote
1answer
946 views

Permission errors in setting up Git

Background I have a Linode VPS (Ubuntu 12.04 server), and I want to use Git to manage my files from the VPS to my local Windows desktop. I have installed Git Bash and have been using that on the ...
11
votes
5answers
6k views

how do I add the 'tree' command to git-bash on Windows?

I'm using git-bash on Windows 7. I'd like to see a tree of the current directory. However: jcollum@DEVELOPER01 ~/Dev/express_coffee $ tree . sh....
6
votes
4answers
6k views

How can I get ec2 command run in git-bash?

I installed ec2 command line tools on windows this morning. When I try to run a command ec2-describe-instances in the git bash, I get this output: Exception in thread "main" java.lang....