Skip to content

gitopia/git-remote-gitopia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-remote-gitopia

git remote helper for gitopia

Installation

You need to install git-remote-gitopia helper so that your git command line can understand gitopia:// transport.

curl https://get.gitopia.com | bash

If you get the following error

mv: rename ./git-remote-gitopia to /usr/local/bin/git-remote-gitopia: Permission denied
============
Error: mv failed

You would need root permission to move the binary to /usr/local/bin

sudo mv /tmp/tmpinstalldir/git-remote-gitopia /usr/local/bin/

Building

Building git-remote-gitopia requires Go 1.16+.

make install

Usage

git-remote-gitopia will be implicitly called when git encounters gitopia:// remote.

For pushing git repositories to gitopia, you would require a gitopia wallet with sufficient tokens and you need to configure an environment variable with the location of your wallet.

export GITOPIA_WALLET=/path/to/wallet.json

Troubleshooting

If you encounter the following error after installation, make sure to add $GOBIN to your $PATH

git: 'remote-gitopia' is not a git command. See 'git --help'

About

git remote helper for Gitopia

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors