TODO: create new remote repo script
This commit is contained in:
10
10x_create_git_repo.sh
Normal file
10
10x_create_git_repo.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO:
|
||||
# - Fn that creates a gitea repo
|
||||
# - Accept a name
|
||||
# - On success display the remote ssh url + commands to add it to an existing repo
|
||||
# curl "http://git.pratik.live/api/v1/activitypub/user-id/pratik" \
|
||||
# -H "accept: application/json" \
|
||||
# -H "Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
|
||||
# -H "Content-Type: application/json" -d "{ \"body\": \"testing\", \"title\": \"test 20\"}" -i
|
||||
Reference in New Issue
Block a user