question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fetch/push using 'file://' protocol

See original GitHub issue

see #97. We need to support fetching and pushing commits between two local repositories in the same file system. I think that would use the file:// protocol… or maybe no protocol at all just paths.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
mojavelinuxcommented, Jan 1, 2019

To be honest, using file:// was kind of a hack to test remote requests. Now that you showed me how to set up a proper git server, that’s actually a much better way to test.

Having support for file:// would certainly be important for compatibility, but less urgent now.

1reaction
mojavelinuxcommented, Jul 14, 2019

You can also use node-git-server (not to be confused with nodegit), which I use in the Antora test suite. See https://github.com/gabrielcsapo/node-git-server

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does Git's transfer protocol work - Stack Overflow
I can't get the command GET info/refs in git bash work. If the file existed, you would obtain it via HTTP, e.g., from...
Read more >
Unable to do remote operation via ssh protocol ( fetch ... - GitLab
Summary. I was push project via ssh on Feb 20, it's working normally. Yesterday ( Feb 24 20:00 PM GMT+7 ) I cannot...
Read more >
Fetch API — Emscripten 3.1.26-git (dev) documentation
Fetch API¶. The Emscripten Fetch API allows native code to transfer files via XHR (HTTP GET, PUT, POST) from remote servers, and to...
Read more >
git-config Documentation - Git
List all variables set in config file, along with their values. --fixed-value ... Set a policy to be used by protocol <name> with...
Read more >
Helix Core 2017.1 - Perforce Software
When using the HTTPS protocol, git users are prompted for their Perforce ... The fetch/push/unzip commands might incorrectly declare a file ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found