Practice this fail.
The repository has left the chat.
Git · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
Your shell is in /workspace. The existing Git repository is at /workspace/demo.
The repository has left the chat.
$ pwd
/workspace
$ git status
fatal: not a git repository
How do you inspect that repository without changing the shell’s directory?
Fixed. By hand.
git -C ./demo statusGit’s -C option runs the command as if it had started in the specified directory. git -C ./demo status inspects the repository under demo while leaving your shell’s current directory unchanged.
Practice does not affect your daily score or streak.