Skip to content

mo7amed-3bdalla7/grurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grurl

A command line tool to extract a git repository remote url for a specific reference without using git.

How It Works?

Just type in terminal grurl --remote=origin --path=repo/path or grurl for default mostly used remote origin in the current path.

asciicast

Installation

  1. git clone https://github.com/mo7amed-3bdalla7/grurl.git.
  2. cd grurl.
  3. go install or go build -o /usr/bin/grurl for global installation.
  4. Just cd to any git repo add run grurl.

Usage

Usage of grurl:
  -list
        list all remote names with URLs and exit
  -path string
        to set the git repository path (default ".")
  -remote string
        to set the remote name you for required url (default "origin")

TODO

  • Handle remote http urls.
  • Handle ssh urls.
  • Handle git urls.
  • Handle different fetch and push URLS.

About

Git repository remote URL extractor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages