Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't type password in Git Bash

I have a strange problem I couldn't find anything about on the web.

I'm learning to use BitBucket and I'm following their walkthrough. I'm using Git Bash as the command prompt as they say here.

Whenever I need to enter a password, e.g when cloning a repo, it simply refuses to get any input! I type on the keyboard, but nothing is shown on the screen. The only key it does accept is Enter, and then it says authorization fails because there's no password. I can't type it.

The strange thing is that I can type all other commands, just not this one. Any ideas?

like image 651
Ehud Grand Avatar asked Nov 15 '12 14:11

Ehud Grand


People also ask

How do I type in Gitbash?

Keyboard: Hold Shift and use the left/right arrows to select a text area, then press Enter to copy. Paste text by pressing Insert . Mouse: Left-click and drag to highlight a text selecting, then right click to copy. Move the cursor to the desired location and right-click to paste the previously copied text.

How do I make git bash not ask for password?

You can avoid being prompted for your password by configuring Git to cache your credentials for you. Once you've configured credential caching, Git automatically uses your cached personal access token when you pull or push a repository using HTTPS.


1 Answers

You are typing the password, it just does not give you a visible reaction when entering characters (i.e. no * symbols). So just type your password correctly, press enter and it should work.

like image 126
poke Avatar answered Sep 20 '22 20:09

poke