Secure git repository management for whitelisted repos.
# Status of all repos
python3 scripts/git_ctrl.py all
# Status of specific repo
python3 scripts/git_ctrl.py status thesis
python3 scripts/git_ctrl.py status polito
# Recent commits
python3 scripts/git_ctrl.py log thesis -n 20
# Unstaged changes
python3 scripts/git_ctrl.py diff thesis
# Branches
python3 scripts/git_ctrl.py branch thesis
# Fetch (read-only, safe)
python3 scripts/git_ctrl.py fetch thesis
# Pull (requires confirmation)
python3 scripts/git_ctrl.py pull thesis --confirm
# Push (requires confirmation)
python3 scripts/git_ctrl.py push thesis --confirm
| Name | Path |
|---|---|
| ------ | ------ |
thesis | ~/Documenti/github/thesis |
polito | ~/Documenti/github/polito |
thesis and polito repos are accessiblestatus, log, diff, branch, fetch run freely--confirm: pull, push, merge, checkout need explicit confirmationclean, reset --hard, push --force are never allowed共 1 个版本