Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.59 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.59 KB

Git over ATProto

You must install deno due to profile pinned post updating not being available in the Python ATProto client APIs yet.

python -m pip install gitatp

curl -fsSL https://deno.land/install.sh | sh

git config --global user.email $USER@example.com
git config --global user.atproto $USER.atproto-pds.fqdn.example.com
python -m keyring set $USER@example.com password.$USER.atproto-pds.fqdn.example.com

python -m gitatp --repos-directory $HOME/.local/$USER-gitatp-repos

rm -rf my-repo/ && git clone http://localhost:8080/$USER.atproto-pds.fqdn.example.com/my-repo.git && cd my-repo
echo 2222 >> README.md && git add README.md && git commit -sm README.md && git push

# Create Pull Request
git checkout -b test-branch
git push -o pr.ns=alice.atproto-pds.fqdn.example.com -o pr.repo=example-policy-maintainers -o pr.branch=main origin test-branch

You can view repo files at: http://localhost:8080/$USER.atproto-pds.fqdn.example.com/my-repo/blob/HEAD/README.md

Screenshot of web view of code

asciicast