Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for BitBucket (git repo over ssh) #7843

Open
fiddyschmitt opened this issue May 14, 2024 · 1 comment
Open

Support for BitBucket (git repo over ssh) #7843

fiddyschmitt opened this issue May 14, 2024 · 1 comment

Comments

@fiddyschmitt
Copy link

fiddyschmitt commented May 14, 2024

Hi,

It would be awesome if rclone could mount a git repo over ssh, such as BitBucket.

The command BitBucket provides to clone a repo is:

git clone ssh://git@serv:6000/repo/repo.git

I've tried using rclone's sftp to mount it, but it didn't work. Neither did sshfs-win.
Edit: It looks like git uses its own protocol for transfers.

The associated forum post

https://forum.rclone.org/t/clone-github-gitlab-bitbucket-and-other-git-repositories/37788

Current rclone version

1.66.0

What problem are you are trying to solve?

I'd like to mount a git repo as a drive letter.

How do you think rclone should be changed to solve that?

Support git repos as just another 'remote'

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
@albertony
Copy link
Contributor

There is an existing issue suggesting to add git support, #4927. It originally refers to git's http(s) protocol though, however in the comments there is mention of a Go module (go-git) which would probably be used to implement it, and it supports ssh as well it seems. So these issues are probably close enough to warrant merging them into one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants