{"id":16001441,"url":"https://github.com/9999years/git-upstream","last_synced_at":"2025-07-06T22:38:16.539Z","repository":{"id":230274142,"uuid":"778947487","full_name":"9999years/git-upstream","owner":"9999years","description":"Quickly push a branch and set its remote-tracking information","archived":false,"fork":false,"pushed_at":"2025-05-06T22:06:42.000Z","size":46,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T22:36:09.839Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9999years.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-03-28T18:14:41.000Z","updated_at":"2025-05-06T21:58:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f84eccb-7d86-4bee-b15e-d80ecfbde49c","html_url":"https://github.com/9999years/git-upstream","commit_stats":null,"previous_names":["9999years/git-upstream"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/9999years/git-upstream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9999years%2Fgit-upstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9999years%2Fgit-upstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9999years%2Fgit-upstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9999years%2Fgit-upstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9999years","download_url":"https://codeload.github.com/9999years/git-upstream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9999years%2Fgit-upstream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263984967,"owners_count":23539768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git"],"created_at":"2024-10-08T09:43:16.130Z","updated_at":"2025-07-06T22:38:16.497Z","avatar_url":"https://github.com/9999years.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-upstream\n\n[![Crates.io](https://img.shields.io/crates/v/git-upstream)](https://crates.io/crates/git-upstream)\n\nA shortcut for `git push --set-upstream \"$(git remote)\" \"$(git rev-parse --abbrev-ref HEAD)\"`.\n\nUsage: `git-upstream [--fail-fast] [--branch BRANCH] [--remote REMOTE]`.\n\nUnless `--fail-fast` is given, all remotes are tried until one succeeds.\n\n\n## Installation\n\nStatically linked binaries are uploaded to GitHub for each release.\n\nWith Nix, you can `nix run github:9999years/git-upstream -- ...`.\n\nYou can also `cargo install git-upstream`.\n\n\n## Configuration\n\nYou can set `~/.config/git-upstream/config.toml` to configure `git-upstream`:\n\n```toml\n# Remote names to attempt to push to, highest preference first.\nremotes = [\n  # \"my-employer\",\n  # \"my-github-username\",\n  # \"fork\",\n  \"origin\",\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9999years%2Fgit-upstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9999years%2Fgit-upstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9999years%2Fgit-upstream/lists"}