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

Restack to change from origin #392

Open
gr4cza opened this issue Sep 10, 2024 · 2 comments
Open

Restack to change from origin #392

gr4cza opened this issue Sep 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@gr4cza
Copy link
Contributor

gr4cza commented Sep 10, 2024

We are using an on-premise GitLab repository, which prevents us from utilizing the post-authentication features.
The gs repo sync command works, but only fetches the main branch and encounters the errors outlined in issue #391.
It would be really nice to have a feature that allows for "restacking" a branch to the remote value.

@abhinav
Copy link
Owner

abhinav commented Sep 10, 2024

Sorry, would you clarify, please?
The set up doesn't allow fetching local refs of remote branches? i.e. it doesn't provide feature1, only origin/feature1?
Or is this limitation only for the main branch?

@gr4cza
Copy link
Contributor Author

gr4cza commented Sep 10, 2024

So, basically, there are two separate issues:

  1. The gs repo sync command only updates the main branch (trunk). It would be nice if it also attempted to fetch all the tracked branches.
  2. Let's imagine I have branch A and branch B where main <-- A <-- B is the hierarchy, and A is pushed to a remote as origin/A. If a change happens to origin/A and I fetch it, I will have a new origin/A branch locally. I would like to 'merge/move' A and the new origin/A together, and rebase B in one command.

@abhinav abhinav added the enhancement New feature or request label Sep 15, 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
Projects
None yet
Development

No branches or pull requests

2 participants