Thursday 12 May 2016

fatal: remote origin already exists.

fatal: remote origin already exists.

git remote add origin https://github.com/voice/voiceApp.git

solution :

1.First remove origin
cmd :  git remote rm origin

2. now add the origin
cmd : git remote add origin https://github.com/voice/voiceApp.git

or

1.set the new git  origin/remote URL
.set the new origin
cmd : git remote set-url origin https://github.com/voice/voiceApp.git


2. Now check origin.

cmd : git remote show origin





No comments:

Post a Comment