0.0.0 • Published 8 years ago
github-uptodate-cli v0.0.0
compare local and remote github branches
Features
exit 0if local and remote branches are equal, otherwiseexit 1
Usage
usage: github-uptodateHow it works
compare local and remote branches
.git/refs/heads/<branch_name>
.git/refs/remotes/<remote_name>/<branch_name>Examples
$ cd path/to/repo
$ github-uptodate && echo "uptodate" || git push --all githubupdate remote info:
$ git remote update --pruneclear remote info:
$ rm -fr .git/refs/remotes/<remote_name>0.0.0
8 years ago