Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

Corey

I am introducing myself to Git by following this tutorial:

Everything works fine up until the part where the repo is added to my local machine:

git remote add nfsn ssh://USERNAME@NFSNSERVER/home/private/git/REPONAME.git

(After replacing USERNAME, NFSNSERVER, and REPOAME with the correct names) I receive the error:

fatal: Not a git repository (or any of the parent directories): .git

Can you help me get past this step?

Assaf Lavie

Did you init a local Git repository, into which this remote is supposed to be added?

Does your local directory have a .git folder?

Try git init.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

fatal: Not a git repository: when adding files to git repo

From Dev

fatal: Not a git repository when installing mod_python

From Dev

fatal: Not a git repository when installing mod_python

From Dev

Fatal: not a git repository - after BSoD

From Dev

Redmine error log fatal:not a git repository

From Dev

Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

From Dev

Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

From Dev

git fatal not a git repository (or any of the parent directories) .git

From Dev

fatal: Not a git repository (or any of the parent directories): .git in Mac OS

From Dev

fatal: Not a git repository (or any of the parent directories): .git (And yet the repository exists)

From Dev

Docker image git clone error "fatal: Not a git repository"

From Dev

fatal: Not a git repository (or any parent up to mount point /)

From Dev

Add subdirectory of remote repo with git-subtree

From Dev

When a commit was pushed into a remote Git Repo

From Dev

Can't run GNU Smalltalk gst; fatal: not a git repository (or any of the parent directories): .git

From Dev

Python: fatal: not a git repository Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

From Dev

Can't run GNU Smalltalk gst; fatal: not a git repository (or any of the parent directories): .git

From Dev

.bashrc running an alias without my approval: fatal: Not a git repository (or any of the parent directories): .git

From Dev

Not able to use cd Getting fatal: Not a git repository (or any of the parent directories): .git

From Dev

Capistrano DigitalOcean Ubuntu 14.04 fatal: Not a git repository (or any of the parent directories) .git

From Dev

Review Board - rbt post - Error validating diff - fatal: Not a git repository: 'None'

From Dev

Working with remote repo git

From Dev

Create new repo by 'git remote add origin' and 'push'

From Dev

Can I add a file to my local Git repo but not push it to remote

From Dev

Git clone remote repo into another remote repo

From Dev

How to perform some action when a user pushes to a remote git repo

From Dev

git sparseCheckout repo pushes full repo to remote

From Dev

Push git alias to remote repo

From Dev

Git remote repo, not showing the files

Related Related

  1. 1

    fatal: Not a git repository: when adding files to git repo

  2. 2

    fatal: Not a git repository when installing mod_python

  3. 3

    fatal: Not a git repository when installing mod_python

  4. 4

    Fatal: not a git repository - after BSoD

  5. 5

    Redmine error log fatal:not a git repository

  6. 6

    Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

  7. 7

    Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

  8. 8

    git fatal not a git repository (or any of the parent directories) .git

  9. 9

    fatal: Not a git repository (or any of the parent directories): .git in Mac OS

  10. 10

    fatal: Not a git repository (or any of the parent directories): .git (And yet the repository exists)

  11. 11

    Docker image git clone error "fatal: Not a git repository"

  12. 12

    fatal: Not a git repository (or any parent up to mount point /)

  13. 13

    Add subdirectory of remote repo with git-subtree

  14. 14

    When a commit was pushed into a remote Git Repo

  15. 15

    Can't run GNU Smalltalk gst; fatal: not a git repository (or any of the parent directories): .git

  16. 16

    Python: fatal: not a git repository Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)

  17. 17

    Can't run GNU Smalltalk gst; fatal: not a git repository (or any of the parent directories): .git

  18. 18

    .bashrc running an alias without my approval: fatal: Not a git repository (or any of the parent directories): .git

  19. 19

    Not able to use cd Getting fatal: Not a git repository (or any of the parent directories): .git

  20. 20

    Capistrano DigitalOcean Ubuntu 14.04 fatal: Not a git repository (or any of the parent directories) .git

  21. 21

    Review Board - rbt post - Error validating diff - fatal: Not a git repository: 'None'

  22. 22

    Working with remote repo git

  23. 23

    Create new repo by 'git remote add origin' and 'push'

  24. 24

    Can I add a file to my local Git repo but not push it to remote

  25. 25

    Git clone remote repo into another remote repo

  26. 26

    How to perform some action when a user pushes to a remote git repo

  27. 27

    git sparseCheckout repo pushes full repo to remote

  28. 28

    Push git alias to remote repo

  29. 29

    Git remote repo, not showing the files

HotTag

Archive