On Fri, Nov 05, 2021 at 06:34:16AM -0700, Joe Sollers wrote:

Trying to go thru initial course and navigating the terminal directions but
we have reached a point where I get fatal: not a git repository, backed the
video up and tried several ways but not able to follow along with video
because I am not getting beyond this message in git status. Maybe something
simple but glad to be finding quality resources.
Any feed back is much appreciated !

I have no idea what is that "video" you're talking about but the message you
have cited should merely be interpreted verbatim: you run the command

  git status

and Git tells you the directory which is current in a shell (that program
running in your terminal, which displays the prompt and allows you to execute
command) is not a Git repository, and hence there's nothing to show the status
of.

My guess is that you have initialized a Git repository - with a command like

  git init myrepo

but then failed to actually make the "myrepo" current directory of your shell.

To summarize:

 - Any Git reposiory is a directory on a file system.

 - To do any useful work in a Git repository, the current directory of the
   shell in which you're executing Git commands must be the root directory
   of a Git repository or any directory underneath it (however deep).

   Otherwise Git just has no way to locate the repository.


I would also advise you to read this book [1] instead of whatever you're
following at the moment. This book is of good quality and should help you
to avoid straightforward bloopers.

1. https://git-scm.com/book/en/v2/

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20211105143303.pqxevb7brmeul4tn%40carbon.

Reply via email to