Using HTTPS
git clone http://localhost:3001/username/repo-name.gitThis is the simplest method. Works with any Git client.
Using Revolv CLI
# Install Revolv CLI
npm install -g @revolv/cli
# Clone a repository
revolv clone username/repo-nameThe Revolv CLI provides a simpler interface for cloning repositories.
Clone Specific Branch
git clone -b branch-name http://localhost:3001/username/repo-name.gitShallow Clone
# Clone only the latest commit
git clone --depth 1 http://localhost:3001/username/repo-name.gitUseful for large repositories or when you only need the latest code.
Troubleshooting
If you encounter issues cloning:
- Make sure the repository URL is correct
- Check that the repository is public or you have access
- Verify your server is running on the correct port
- Try using the Download ZIP option as an alternative