Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools Introduction to Git GitHub and Other Remote Repositories Pushing Commits to GitHub

Christian van Lierop
Christian van Lierop
13,756 Points

Pasting doesn't seem to work in the current workspace. Neither is it possible to enter a password and connect to Github.

Is this a known problem? And if so, is there a solution?

Kareem Jeiroudi
Kareem Jeiroudi
14,983 Points

It didn't prompt for a username or password in my case. I know this isn't an answer to your question, but I was wondering knows why?

8 Answers

Yes the pasting has a bug that is making it act weird but it cool if you highlight the text and instead of just using CTRL+C right click on the highlighted text and you see an option of copy then do so and go to terminal and then also right click and you'd see option of paste. And please don't expect the "password" to show. Just keep typing your password and when you done press the enter key. I hope this helps

Mike Hatch
Mike Hatch
14,940 Points

James, that works for you? Because right clicking and copying is what I usually do habitually and it doesn't work for me. I found no other way but to manually type the link into the console.

Christopher Phillips
Christopher Phillips
10,057 Points

I'm not even able to right-click and paste.. luckily the URL isnt that long.

Oskar Lundberg
Oskar Lundberg
9,510 Points

I can't right-click and paste either :/

Having the same problem in 2020. Can't right click and paste or use CTRL V...

Jacob Dahlberg
seal-mask
.a{fill-rule:evenodd;}techdegree
Jacob Dahlberg
Full Stack JavaScript Techdegree Student 13,014 Points

Having 20 letter&number password here, getting invalid username or password. I'm really trying to carefully type it all in since Copy & Paste isn't behaving. What's the workaround? I'm signed in to GitHub everywhere but trying to manually type into workspace console/Bash terminal is authentication failed. I do have multi factor auth.

Jacob Dahlberg
seal-mask
.a{fill-rule:evenodd;}techdegree
Jacob Dahlberg
Full Stack JavaScript Techdegree Student 13,014 Points

Another question answered my comment. I was able to create a personal access token through Github developer settings granting access to certain parameters. This personal access token stood in for my password successfully.

Angel Angelov
Angel Angelov
13,307 Points

Does anyone else have a problem to type the password? I can't copy and paste and tried most of the solutions here but nothings worked. I have the option to type my username but once the cursor goes to the password there is no option to type. With right button there is no option to paste and the Ctrl+V does not work. Any solution?

Nicholas Wallen
Nicholas Wallen
12,278 Points

It doesn't actually connect to GitHub though. You enter in the URL, just like it shows you in the video, and once you hit return, it says "fatal: Not a git repository"

Jay McGavren
Jay McGavren
Treehouse Teacher

Nicholas Wallen I think you may have a separate issue. If you're still having trouble, can you start an entirely new community forum thread/question? Be sure to include as many details as possible, including the entire command you're attempting to run.