

This error means that the remote you tried to change doesn't exist: $ git remote set-url sofake Ĭheck that you've correctly typed the remote name. $ git remote set-url origin Verify that the remote URL has changed.


Change your remote's URL from SSH to HTTPS with the git remote set-url command.List your existing remotes in order to get the name of the remote you want to change.Change the current working directory to your local project.If you're updating to use SSH, your URL might look remote URLs from SSH to HTTPS.If you're updating to use HTTPS, your URL might look like:.For example, origin or upstream are two common choices. The git remote set-url command takes two arguments: Tip: For information on the difference between HTTPS and SSH URLs, see " About remote repositories." The git remote set-url command changes an existing remote repository URL. For more information, see " Removing a remote repository" below. Delete the existing remote repository before you add the new remote.For more information, see " Renaming a remote repository" below. Rename the existing remote repository before you add the new remote.Use a different name for the new remote.This error means you've tried to add a remote with a name that already exists in your local repository. The git remote add command takes two arguments:įor more information on which URL to use, see " About remote repositories." Troubleshooting: Remote origin already exists Сopy the URL to configure the remote from the web interface, after creating a repository on GOSH.To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at. "secret": "6bdc38c0ecd6f74399f6b8ff2486f0e2abb32fca712caf3e4a47ef4a2634c4e8"įor correct usage of the helper you should refer to remote in the following form: gosh://SYSTEM_CONTRACT_ADDRESS/DAO_NAME/REPO_NAME The Git Remote Helper expects that the wallet credentials are in the file ~/.gosh/config.json or in the file specified in the environment variable GOSH_CONFIG_PATH, To be able to push to Gosh repositories, you need to set up these credentials for Git Remote Helper. When creating your account in GOSH Web or Docker extension you received a GOSH wallet address and keys. If the Git Remote Helper is not available, then add path with git-remote-goshįor availability via $PATH: export PATH="~/.cargo/bin:$PATH" Run the following command to make sure it's available: which git-remote-gosh You can check the correctness of the configuration file by running the command: git-remote-gosh dispatcher_ini You need to create a configuration file for the Git Remote Helper: ~/.gosh/dispatcher.ini
#Git remote install
Install helper from sourceĪfter building all the components, the finished binary files will be located in the ~/.cargo/bin directory.

Mkdir ~/.gosh || mv dispatcher.ini ~/.gosh/Ĭhecking the installation results.
#Git remote download
Install helper from binary releasesĪnd download the version of the Git Remote Helper for the required operating system (macOS, Linux, Windows).Īnd move dispatcher.ini to ~/.gosh/ folder: If you have Windows, you can use the installation methods below.Ĭhecking the installation results. If you have macOS or Linux, you can use this installation method. Installation Install helper using the installation script
#Git remote code
Git Remote Helper (this is a standard mechanism for working with non-standard code storages) is a git-client helper to interact with remote repositories hosted on the GOSH blockchain.
