Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/majioa/fakegit

Emulating some "git" commands
https://github.com/majioa/fakegit

Last synced: about 2 months ago
JSON representation

Emulating some "git" commands

Awesome Lists containing this project

README

        

fakegit(1) -- Emulating some "git" commands
=================

## SYNOPSIS

`fakegit []`

### ls-files

`fakegit ls-files []`

### clone

`fakegit clone [-b ] []`

## DESCRIPTION

The `fakegit` command provides some psuedo "git" commands. The clone is allowing applying for GitHub repository only, which downloads files with svn, curl, or wget. This is useful for environments which is difficult to installing git command.

The `ls-files` just ls all files within current, and the underneath folders.

It can be installed as real fake `git` instead of real one into _%_bindir_ folder, as follows

$ make install

To install fakegit, type as follows:

$ mkdir -p $HOME/bin
$ export PATH=$HOME/bin:$PATH
$ curl -L https://raw.github.com/majioa/fakegit/master/bin/fakegit > $HOME/bin/git
$ chmod a+x $HOME/bin/git
$ hash -r

If necessary, enable fakegit in your shell by adding `$HOME/bin`
to your `PATH` and restart your shell.