Fetch with url throws "not a valid remote name".
See original GitHub issueNothing much to tell, fetch with url is not working.
Example:
Repository.Network.Fetch("https://github.com/libgit2/libgit2sharp.git", new[] { "+refs/remotes/test:refs/heads/master" });
Exception: InvalidSpecificationException: ‘https://github.com/libgit2/libgit2sharp.git’ is not a valid remote name.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to fetch from SSH git repo in LibGit2Sharp?
I am guessing the fetch command is looking for a remote name (like origin), so that is not a valid remote. You need...
Read more >Git - git-fetch Documentation
git fetch can fetch from either a single named repository or URL, or from several repositories at once if <group> is given and...
Read more >Repository import by URL throws "There is not a valid Git ...
Summary Attempting to import a repository from a Git 3rd party vendor such as GitHub or BitBucket Cloud via.
Read more >fetch() global function - Web APIs | MDN
Invalid URL or scheme, or using a scheme that fetch does not support, or using a scheme that is not supported for a...
Read more >git-fetch - Download objects and refs from another repository
<repository> The "remote" repository that is the source of a fetch or pull operation. This parameter can be either a URL (see the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, thanks for the clarification. I definitely agree with that. I’m going to reopen to make sure that we take care of that. Thanks!
git remote add https-//github.com/Ranjanudt/LatestOfferScreen.git LatestOfferScreen fatal: ‘https-//github.com/Ranjanudt/LatestOfferScreen.git’ is not a valid remote name
just put (git remote add origin) after https link pastes it.