Categorygithub.com/sorter/gowatch
repositorypackage
0.0.0-20240814140504-4f1aef9eed6e
Repository: https://github.com/sorter/gowatch.git
Documentation: pkg.go.dev

# README

gowatch

A basic command line utility that compares the active commit hash of a local git repository with its remote counterpart on GitHub, and issues a pull command if the remote counterpart reports a differing commit hash at its HEAD.

Setup

  1. create a directory to house configuration mkdir $HOME/.gowatch
  2. generate a GitHub application OAuth token
  3. place the token in .gowatch/github_creds
  4. place the GitHub repository details in .gowatch/repo_map.json

repo_map.json { "repo_owner_username": { "repo_name": "/local/repo/copy/path" } }