mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-23 16:04:51 +01:00
docs: added a bad readme
This commit is contained in:
parent
6bdae48354
commit
1d9f0d6ae1
1 changed files with 13 additions and 0 deletions
13
README.md
Normal file
13
README.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Git Shell Commands
|
||||||
|
did you know that you can push and pull to your repositories over ssh?
|
||||||
|
`$ git clone <user>@<host>:<path>`
|
||||||
|
|
||||||
|
and voila! self hosted repositories
|
||||||
|
|
||||||
|
but that's kind of crude: interacting with such repo requires to ssh in
|
||||||
|
|
||||||
|
## git shell
|
||||||
|
git ships with a super simple shell (more [here](https://git-scm.com/docs/git-shell))
|
||||||
|
|
||||||
|
creating a git user and dropping these command inside `git-shell-commands` (must live in git user's home) will allow to run them after ssh-ing:
|
||||||
|
`$ ssh git@<host>`
|
Loading…
Reference in a new issue