Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Simple Ruby on Rails Application Getting Started with Rails Push to GitHub

Julius Michael
Julius Michael
8,967 Points

git push -u origin master: not letting me type my password

Hi everyone. I just need some help. I entered git push -u origin master. It asked me for username and password. I entered my username just fine and pressed enter then it goes to password, but I cannot type anything. All i can do is click enter and then it fails since no password was entered. Please help. Thanks

2 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Julius,

This is a feature of command line, passwords by default are always hidden to prevent unwanted eyes from seeing what you're typing.

All you need to do is type in your password like you normally would for a website and hit enter.

Some clients support copying and pasting passwords if you prefer that over typing blind.

Hope that helps.

ARNOLD SANDERS
ARNOLD SANDERS
5,266 Points

lol. i had that problem when I first started pushing to github. And then i realized it was actually working. I just couldn't see the password. So just type your password as you normally would and then press enter. It will enter. And if you want to make this problem go away for good. Look into SSH tunneling from github. It will save you time, from always having to input your password