Contributing

May 4, 2026 · View on GitHub

Setup

Clone and you're done — it's a single bash script with no build step.

git clone https://github.com/yuis-ice/git-dup
cd git-dup

Making changes

  • Keep it as a single, portable bash script. No external dependencies beyond git, rsync, and standard POSIX utilities.
  • Test against edge cases: directories with spaces in the path, repos where the target is the root, repos with no untracked files.
  • Run with --dry-run to verify logic changes before testing destructively.

Pull requests

  • One fix or feature per PR.
  • Describe what the change does and why in the PR description.
  • If you're fixing a bug, include a minimal reproduction.

Issues

Use the issue templates when reporting bugs or requesting features.