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

Development Tools

Anthony Candaele
seal-mask
.a{fill-rule:evenodd;}techdegree
Anthony Candaele
Full Stack JavaScript Techdegree Student 32,135 Points

cannot insert tilde character

Hi guys,

I had to abort an exercise on Git basics, because I wasn't able to type the tilde character.

All I needed to do was to type: git checkout HEAD~1

The alt + N combination didn't gave the tilde character, nor any other combination for that matter.

Because I couldn't past in code in the input line, I was stuck :(

very frustrating to say the least,

Anthony

5 Answers

James Barnett
James Barnett
39,199 Points

Try using a try using the ù key on a French AZERTY keyboard or a < on a Beligum AZERTY

source: http://vector.tutsplus.com/tutorials/tools-tips/quick-tip-the-tilde-key-trick/

You can also try using alt gr + é + space or alt gr + =

source: http://en.wikipedia.org/wiki/AZERTY#Tilde

James Barnett
James Barnett
39,199 Points

Are you using a keyboard layout other than a standard English-US layout?

I had the same problem, but i found it!

ctrl + alt + ^

I have the same problem with my Swiss-German keyboard layout. The ~symbol is usually at ALT + N but it did not work in the Teamtreehouse-Console.

My fix was: Change to US keyboard layout.