6 git diff - The q Diff Exit command is not recognized?


#1

https://www.codecademy.com/courses/learn-git/lessons/git-workflow/exercises/git-diff?action=lesson_resume
The q Diff Exit command is not recognized : I put q as it is asked in the instructions , and the terminal don’t seem to accept this command . Do you have to put "git q " ?

Thanks for your help The Codecademy Fellows !


#2

no, it can happen that if you type git diff (to get the difference), that you get:

Screenshot_2017-11-11_22-50-47

see the colon at the bottom? it means the diff command is occupying my terminal, i need to press q (after submitting git diff command) to return to my terminal.

this for example also happens with commands like less, it occupies your terminal and you need to enter q (of quit) to enter and return to the terminal to type commands


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.