Commit Graph

3 Commits

Author SHA1 Message Date
b482dcd466 make git idempotent
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 21s
2023-09-22 16:38:46 +02:00
0196fd72c3 git.commit_file: fix file path & repo path finding
All checks were successful
checks-impure / test (pull_request) Successful in 11s
checks / test (pull_request) Successful in 1m3s
2023-09-22 13:42:04 +02:00
6a359c0a2f clan-cli: add git.commit_file() to auto commit files if inside a git
All checks were successful
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 34s
- commit only if inside a git repo
- commit only the specified file and nothing else
- auto-generate commit message if not specified
2023-09-21 14:07:54 +02:00