simple git-shell-commands to interact with git over ssh
Find a file
alemi 5e32a80357 feat: reimplement ls in python
so we can get exactly the functionality we need
2024-02-08 18:26:26 +01:00
descr feat: pushing existing commands 2024-01-12 09:46:11 +01:00
fetch-mirrors fix: properly recur in subdirs, handle paths 2024-02-08 15:43:46 +01:00
group feat: pushing existing commands 2024-01-12 09:46:11 +01:00
head feat: pushing existing commands 2024-01-12 09:46:11 +01:00
help fix: add fetch-mirrors in help 2024-01-12 09:57:46 +01:00
hide feat: pushing existing commands 2024-01-12 09:46:11 +01:00
log feat: pushing existing commands 2024-01-12 09:46:11 +01:00
ls feat: reimplement ls in python 2024-02-08 18:26:26 +01:00
mirror feat: pushing existing commands 2024-01-12 09:46:11 +01:00
new fix: pass repo path directly to git init 2024-02-08 17:57:25 +01:00
owner feat: pushing existing commands 2024-01-12 09:46:11 +01:00
page feat: pushing existing commands 2024-01-12 09:46:11 +01:00
public feat: pushing existing commands 2024-01-12 09:46:11 +01:00
README.md docs: added a bad readme 2024-01-12 09:53:15 +01:00
show feat: pushing existing commands 2024-01-12 09:46:11 +01:00
tree feat: pushing existing commands 2024-01-12 09:46:11 +01:00
upstream feat: pushing existing commands 2024-01-12 09:46:11 +01:00

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)

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>