Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Push new branches to remote #1671

Open
austincondiff opened this issue Apr 13, 2024 · 0 comments
Open

✨ Push new branches to remote #1671

austincondiff opened this issue Apr 13, 2024 · 0 comments
Labels
enhancement New feature or request triage needed

Comments

@austincondiff
Copy link
Collaborator

austincondiff commented Apr 13, 2024

Description

We need to allow users to push newly created branches to a remote.

If they have more than one remote...

  • The "Push" button will have ellipsis at the end of the text to indicate to the user a sheet will be opened first. ("Push...")
  • it will open a sheet to prompt them to select a remote to push to once "Push" is clicked.
  • Pnce a remote is selected, the user can click Push.

If they only have one remote...

  • The "Push" button will not have an ellipsis at the end of the text, indicating that action will happen immediately. ("Push")
  • It will push the changes right away once "Push" is clicked.

Alternatives Considered

Open the pick a remote sheet regardless of the number of remotes the project has.

Additional Context

The following command will need to be executed in order to do this.

"git push --set-upstream \(remoteName) \(branchName)"

Screenshots

Right now, this is what it looks like after committing files to a new branch. There is no "Push" button like there is in local branches that are being tracked by a remote branch.

image
@austincondiff austincondiff added the enhancement New feature or request label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage needed
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant