Feature request: Push to default branch if no --branch-name flag is supplied

Open
#96 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
git, github, go
Domain
cli

Research direction

Start by tracing CLI handling for --branch-name and how the tool selects a target branch for each GitHub repository. Verify the no-flag path against repositories with non-main default branches; the feature is done when updates reach each repository's default branch without creating pull requests.

Written by the indexing model from the issue text.

Description

enhancement

Describe the solution you'd like
Currently we have to specify branch in which changes needs to be pushed . But in our case we have around 100s of repo and we want to push same content on. different branches of repo (As a standard we have made those branches as default )

Describe alternatives you've considered
We can do it via creating PR , but in our case we want to force these changes donot want PR's

Additional context
Add any other context or screenshots about the feature request here.

Dominant language
Go
Stars
1.1k
Forks
75
Avg merge
22h 5m
Merged PRs (30d)
4

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gruntwork-io/git-xargs

All issues in gruntwork-io/git-xargs

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.