Expected Behavior
fj pr checkout 42 should set the branch's tracking information so that one can pull later changes by doing git pull (and edit the branch with git push).
Actual Behavior
It does not. I have to recreate the branch from scratch, which is impractical because of #439 (I need to first switch to a different branch with a correct upstream, then run fj pr checkout again).
fj Version
fj v0.4.1
user agent: forgejo-cli/0.4.1 (https://codeberg.org/forgejo-contrib/forgejo-cli/)
build type: nixpkgs
target: x86_64-unknown-linux-gnu
Forgejo Version
No response
Code of Conduct
- I agree to act in accordance with the CoC & AI Agreement.
- This issue was not generated by an LLM, even in part.
### Expected Behavior
`fj pr checkout 42` should set the branch's tracking information so that one can pull later changes by doing `git pull` (and edit the branch with `git push`).
### Actual Behavior
It does not. I have to recreate the branch from scratch, which is impractical because of https://codeberg.org/forgejo-contrib/forgejo-cli/issues/439 (I need to first switch to a different branch with a correct upstream, then run `fj pr checkout` again).
### `fj` Version
```text
fj v0.4.1
user agent: forgejo-cli/0.4.1 (https://codeberg.org/forgejo-contrib/forgejo-cli/)
build type: nixpkgs
target: x86_64-unknown-linux-gnu
```
### Forgejo Version
_No response_
### Code of Conduct
- [x] I agree to act in accordance with the CoC & AI Agreement.
- [x] This issue was not generated by an LLM, even in part.