After doing git svn init -s <url to repo>
, git remote
doesn't list any remotes. Why?
git-svn is a specialized tool for Git users to interact with Git repositories. It works by providing a Git frontend to an SVN backend. With git-svn, you use Git commands on the local repository, so it's just like using normal Git. However, behind the scenes, the relevant SVN commands are sent to the server.
You can request a list of all remote repositories that are currently connected to your local repository: $ git remote -v origin https://[email protected]/test/example.git (fetch) origin https://[email protected]/test/example.git (push)
Because a subversion "remote" is not a real git remote. Try git svn info
to see the remote information for the subversion repository.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With