aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/test-mode.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 19:49:08 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 19:49:08 +0200
commitb6965ac87bfffb610bf099812562951cc154738e (patch)
tree0431d2466731a9bc4084843298afb5268ca38985 /examples/tools/test-mode.sh
parent6cb503a50fc49ec26af0f0624141a0c97e75cca4 (diff)
downloaddesktop-assistant-b6965ac87bfffb610bf099812562951cc154738e.tar.gz
desktop-assistant-b6965ac87bfffb610bf099812562951cc154738e.zip
clone tool: clone a public repo into the host's folder
A public URL is cloned into ~/Programming/GIT/<host-folder>/<repo>, the folder chosen by host from ~/.config/desktop-assistant/clone-hosts (github.com, gitlab.com, forge.slackware.nl seeded). An unknown host or an already-cloned repo stops and asks with a concrete action; approving a new host folder appends it to the map, so later clones of that host ask nothing. Update pulls with --ff-only, never clones over the folder. test-clone.sh stubs git and uses a scratch tree and map.
Diffstat (limited to 'examples/tools/test-mode.sh')
0 files changed, 0 insertions, 0 deletions