rad
1 # -*- mode: sh; sh-shell: bash -*- 2 # vim: set ft=bash: 3 # shellcheck shell=bash 4 ### Support for the radicle p2p git frontend 5 6 function rad_import ## import a git repository into radicle 7 { 8 if ! git remote | grep '^rad$'; then 9 rad init --name "${PWD##*/}" --description "" --public --setup-signing --no-confirm -v 10 git push --all rad 11 else 12 note "radicle already initialized" 13 fi 14 } 15 16 17 rule rad_import: is_git_toplevel -