Can't appy branch, gitbutler just says "apply from fork"
Version
0.14.9
Operating System
macOS
Distribution Method
dmg (Mac OS - Apple Silicon)
Describe the issue
For some reason I can't apply a branch to my workspace. I have it in a PR, and I can switch to the branch locally using git.
| Screen shots |
|---|
How to reproduce (Optional)
No idea
Expected behavior (Optional)
No response
Relevant log output (Optional)
Thanks a lot for reporting!
It seems that GitButler assumes that edits are going to be made, and to push them, one would have to push into a fork (typically). Currently there is no notion of 'checkout' or 'switch'.
However, we are working towards a world where gitbutler/workspace isn't required, and where one is able to actually checkout a branch (without adding it to the workspace).
I don't understand, this is just a regular branch like any other, and I just want to apply it to my working space.
As I showed in a screen shot, I can switch to the branch just fine using regular git in the command line, but gitbutler doesn't even list the branch. Something is weird here 🤷 What logs do you need to investigate this?
I don't think logs would show anything here.
It seems GitButler doesn't match more than the branch-name part, without the remote name.
So looking for setup-teams-landing-page should make the branch show up - from there it should be possible to add it to the workspace.
If that still doesn't work, there is probably some filtering logic at play that decides to hide the branch nonetheless. Thanks again for trying this out.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security |
Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| npm/@sanity/react-loader@1.10.6 ⏵ 1.11.22 |
I see, thanks for trying. I hope with the next major version this will be a none-issue though.