git-sync-upstream
git-sync-upstream is a CLI to sync git upstream remote branches and tags with the local clone and origin remote.
Installation
git-sync-upstream is distributed on PyPI. It requires Python 3.7+. To install:
$ python -m pip install git-sync-upstream
Usage
Change directory to the git project to sync. The project must have a remote named upstream and origin. The remote upstream will be used to sync _from_. Its branches and tags will be synced locally and _to_ origin.
$ cd myproject
# To sync the current branch
$ git-sync-upstream
# To sync all branches
$ git-sync-upstream --all
It is convenient to add a git alias to the command:
$ git config --global alias.sync "!git-sync-upstream"
Then:
$ cd myproject
# To sync the current branch
$ git sync
# To sync all branches
$ git sync --all
Metadata
Release files for git-sync-upstream 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| git-sync-upstream-1.0.5.tar.gz | 3.6 kB | Without provenance | Details for git-sync-upstream-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| git_sync_upstream-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for git_sync_upstream-1.0.5-py3-none-any.whl |
Total release size: 7.9 kB
Release files / git-sync-upstream-1.0.5.tar.gz
| Download URL | git-sync-upstream-1.0.5.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64127eafd71c496ef76f3cc4573db49e486223095fa5189395d0d124f91cb625
|
|
BLAKE2b-256 checksum How to use checksums |
4ac2f6b94d9c9dc90845594e56fa76c90955c6501fdd7c4a44efa3d85d150352
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 CPython/3.10.5
|
Release files / git_sync_upstream-1.0.5-py3-none-any.whl
| Download URL | git_sync_upstream-1.0.5-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01250a21c4514d9541720b1b387917435d8ea77aefd077e3489231d72dd7fb38
|
|
BLAKE2b-256 checksum How to use checksums |
b9d8a274e06a005812d1a15af3e63591974773be3f0b78dc04020f91a23a79a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 CPython/3.10.5
|
Security for git-sync-upstream 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.