Skip to content

Conversation

@HiFlii
Copy link

@HiFlii HiFlii commented Apr 1, 2025

Wraps git pull directly in Keepup, replacing Ansible.
The cli is as follows:

keepup pull [(-d | --dest) <destination path>] [(-k | --key-path) <key path>] [-n | --no-stash] <repo> [<branch>].
Note that the key used is the name of the private key, e.g. ~/.ssh/id_rsa

On the first pull the repo is instead cloned, on subsequent pulls the repo is stashed before pulling to discard local changes. If -n is used, the repo will not be stashed prior to pulling.

@HiFlii HiFlii marked this pull request as ready for review April 17, 2025 21:16
@0ffz 0ffz self-requested a review April 17, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant