Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/majioa/fakegit
- Owner: majioa
- License: mit
- Created: 2024-02-21T12:26:23.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-21T17:04:28.000Z (11 months ago)
- Last Synced: 2024-02-21T18:27:40.619Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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 -rIf necessary, enable fakegit in your shell by adding `$HOME/bin`
to your `PATH` and restart your shell.