https://github.com/knu/sup
do <whatever SCM> update
https://github.com/knu/sup
Last synced: 5 months ago
JSON representation
do <whatever SCM> update
- Host: GitHub
- URL: https://github.com/knu/sup
- Owner: knu
- License: bsd-2-clause
- Created: 2012-04-03T09:15:54.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T02:38:58.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T03:18:30.407Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# sup - do <whatever SCM> update
## NAME
`sup(1) - do update`
## SYNOPSIS
```
sup [-erq] [...]
vcs [-q] [...]
```
## DESCRIPTION
`sup(1)` is a tool to just "update" a working directory using whatever
SCM commands appropriate for the directory. Updating is performed for
each given path, or the current directory if none is given.
`sup` currently supports CVS (`cvs`), Subversion (`svn`), Git
(`git`/`git-svn`), Mercurial (`hg`) and Bazaar (`bzr`).
Git-only features:
- Calls [`git-sync`](https://github.com/jacobwgillespie/git-sync) or [`hub sync`](https://github.com/mislav/hub) if they are available
- Updates remotes in parallel
- Follows the `master` to `main` switch in remotes
If called as `vcs`, the name of SCM detected is printed for each given
path.
## OPTIONS
The following command line arguments are supported:
### `-e`
Show errors only, suppressing output of successful updates.
### `-q`
Suppress warnings like "VCS unknown".
### `-r`
Update directories recursively according to a file named `.sup` which
should list the names of subdirectories to process. Empty lines and
lines starting with `#` are ignored, lines starting with `-` or `!`
are regarded as negative patterns, and those starting with `+` or
otherwise, are regarded as positive patterns. Surrounding space
characters are trimmed, and shell wildcards are available.
In recursion, symbolic links are ignored for security reasons.
## BUGS
- The name obviously collides with the legendary tool "SUP"
(Software Upgrade Protocol).
- `sup` calls `rebase` in Git instead of `merge` and there is no way
to configure that.
- There is no command line option, no configuration and no nothing.
## AUTHOR
Copyright (c) 2008-2024 Akinori MUSHA.
Licensed under the 2-clause BSD license. See `LICENSE.txt` for
details.
Visit [GitHub Repository](https://github.com/knu/sup) for the latest
information.