Skip to content

mecaneer23/git-grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Git Grab

git clone, but without git.

Contents

What is Git Grab?

git-grab emulates git clone, grabbing all of the files from a provided git repository. However, it ignores all git history and doesn't grab the git files.

Installing

With wget

wget --output-document ~/.local/bin/git-grab https://raw.githubusercontent.com/mecaneer23/git-grab/main/git-grab

With curl

curl -f https://raw.githubusercontent.com/mecaneer23/git-grab/main/git-grab -o ~/.local/bin/git-grab

Running

Usage: git-grab [options] url [path]

# example
git-grab https://github.com/mecaneer23/git-grab

What can url be?

Currently, repositories from the following sites are supported.

Make sure to include the full url, such as https://github.com/mecaneer23/git-grab.

Options

Option Default Description
--help, -h N/A show this help message and exit

Path

path provides a way to use a custom repository name, other than the default.

Installing the git-grab repository in a folder called grab

git-grab https://github.com/mecaneer23/git-grab grab

About

git clone, but without git.

Topics

Resources

Stars

Watchers

Forks

Languages