Skip to content
/ mincd Public

A command line utility to wait until a remote git repository changes

License

Notifications You must be signed in to change notification settings

tarneaux/mincd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinCD

Wait until a remote git repository has been changed, and then exit. This is meant to be used in scripts, to replace a CD system. I am using it to deploy renn.es to my server using docker.

Installation

cargo install mincd

CLI Usage

Usage: mincd <url> <branch> [-i <interval>] [-p <local/path>]
  url: URL of the git repository
  branch: branch to watch (usually main or master)
  interval: interval in seconds to check for changes (default: 60)
  local/path: path to the local git repository
If the local path is specified, mincd will get the first commit hash from the local repository instead of the remote one.
This is useful if you have a local mirror of a remote repository and want to keep it up to date.

Example:

mincd https://github.com/tarneaux/.f master -i 60

About

A command line utility to wait until a remote git repository changes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages