stevedlawrence commented on PR #1484:
URL: https://github.com/apache/daffodil-vscode/pull/1484#issuecomment-3481974077
You can `push --force` to the scala steward fork.
My workflow to update scala-steward RPs is I add this to my global
.gitconfig:
```
[alias]
pr = "!f() { git fetch $1 $(git ls-remote $1 refs/pull/$2/head | cut -f1) &&
git checkout FETCH_HEAD; } ; f"
```
And add this to my repo .git/config (change daffodil.git to
daffodil-vscode.git)
```
[remote "scala-steward"]
pushurl = [email protected]:scala-steward/daffodil.git
skipFetchAll = true
```
Then to update a PR, I would do something like this:
```
git pr asf 1484
git rebase -i HEAD^^^
git push --force scala-steward HEAD:update/scalafmt-core-3.10.1
```
There's a number of other ways to do it though, that's just what I've found
works best for me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]