Skip to content

ritou11/hub-cup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ritou11/hub-cup

GitHub last commit GitHub code size in bytes license

Sync your github forks without Git or Node.

This is the Go version of hub-sync. You could use binary files rather than heavy envirnoments.

Download Binary

Prebuilt binaries available at https://github.com/ritou11/hub-cup/releases

TL;DR

# Generate a token **with public_repo scope** at https://github.com/settings/tokens
echo the-token > ~/.hub-cup
# Update your webpack fork default branch to the latest of upstream:
hub-cup webpack
# Update your material-ui fork default branch to the latest of upstream:
hub-cup material-ui
# Update your material-ui fork master branch to the latest of upstream:
hub-cup material-ui/master
# Update your antediluvian io.js fork to the latest nodejs:
hub-cup io.js # name doesn't need to match exactly
hub-cup io.js nodejs/node # but you MUST specify the repo if you want to sync to the upstream of upstream

Why

Reference to hub-sync.

Since "hub-sync" is a part of the well-known tool hub, this tool is named "hub-cup", which means "Make GitHub forks catch up with origins".

Usage

NAME:
   hub-cup - Make your github forks catch up with origins

USAGE:
   hub-cup <what> [<from>]

VERSION:
   0.1.0

AUTHOR:
   Nogeek <[email protected]>

GLOBAL OPTIONS:
   --token value, -t value  Github token, see https://github.com/settings/tokens
   --token-file path        path to your Github token file (default: "~/.hub-cup")
   --force, -f              As if {git push --force}
   --dry-run, -n            Don't actually update
   --debug                  print debug messages
   --help, -h               print the help
   --version, -v            print the version

License

MIT

About

Sync your github forks without Git or Node.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages