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 ssh url as destination #5

Open
cybertk opened this issue Dec 5, 2016 · 1 comment
Open

Support ssh url as destination #5

cybertk opened this issue Dec 5, 2016 · 1 comment

Comments

@cybertk
Copy link
Owner

cybertk commented Dec 5, 2016

git copy git-copy [email protected]:cybertk/git-copy.git

/usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:867:in `scheme=': Invalid scheme format: [email protected] (Addressable::URI::InvalidURIError)
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:795:in `block in initialize'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:2302:in `call'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:2302:in `defer_validation'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:792:in `initialize'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:135:in `new'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/addressable-2.4.0/lib/addressable/uri.rb:135:in `parse'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/git-copy-0.2.1/lib/git-copy.rb:12:in `copy'
	from /usr/local/var/rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/git-copy-0.2.1/bin/git-copy:30:in `<top (required)>'
	from /usr/local/var/rbenv/versions/2.2.3/bin/git-copy:23:in `load'
	from /usr/local/var/rbenv/versions/2.2.3/bin/git-copy:23:in `<main>'
@cybertk cybertk changed the title Support ssh url Support ssh url as destination Dec 5, 2016
@cybertk
Copy link
Owner Author

cybertk commented Dec 5, 2016

git remote add mirror git-copy [email protected]:cybertk/git-copy.git then git push --mirror works fine.

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

1 participant