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

0 votes

The issue happened when I tried to add the repo  to my local machine:

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

I receive the following error:

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

Can someone help me with this issue?

Apr 29 in Other DevOps Questions by Kichu
• 19,040 points
35 views

1 answer to this question.

0 votes
Just init a local Git repository, into which this remote is supposed to be added. Then check if your local directory has a .git folder. If so then try git init.
I hope this helps.
answered Apr 30 by narikkadan
• 18,480 points

Related Questions In Other DevOps Questions

0 votes
1 answer

Please provide a shell script which runs to migrate from SVN to GIT

Hi@shashi, You can run the git-svn command. If ...READ MORE

answered Nov 27, 2020 in Other DevOps Questions by MD
• 95,360 points
241 views
0 votes
0 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,875 views
+2 votes
1 answer
0 votes
1 answer
0 votes
1 answer

'git' is not recognized as an internal or external command

Add the following paths to PATH: C:\Program Files\Git\bin\ C:\Program ...READ MORE

answered Apr 29 in Other DevOps Questions by narikkadan
• 18,480 points
100 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP