Working with Git Repositories
ℹ️ This page is just a rough outline of what I want to cover.
Background
- repos are stored in KV, under
/app/git - owned by user vs owned by team
Procedures
- create repo
foks git create- If content doesn't exist yet
git init
- Either way
git remote addgit commitif needed (repo must contain at least one commit before push)git push --allgit push --tags
- clone a repo
git clone foks://SERVER/OWNER/REPONAMEOWNERwill bexxxfor a username, ort:xxxfor a team name
- remove a repo
- there is no
foks git rmcommand (yet?) foks kv rm -r /app/git/REPONAMEwill do the job
- there is no
- other operations (pull, push, etc.) all use the same
gitcommands you would use for other git servers
Questions
- primary branch name
- git "server" assumes primary branch name
main, created issue #187 - command to set primary branch name, or brain surgery?
- git "server" assumes primary branch name
- LFS support → hasn't been built yet
Generated
2025-09-22 03:40:19
74d4feb
2025-09-22 03:38:41 +0000