After creating a new repository, the git commands show the repository as undefined. In the Empty Repository screen the git commands look like this. Notice the word undefined where the repository URL should be. Any idea why this is?
cd existing-project
git remote set-url origin undefined
git push -u origin master
Hi Richard,
This could be happening to your user by not having a way of accessing this repository. To give you an example, if you have repositories accessible only via SSH and your user doesn't have a SSH Key, then this user won't be presented with a URL to work with this repository.
Can you please check if this is the case?
Regards,
Gustavo Refosco
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.