Closed 347Online closed 3 months ago
This is true. I haven't figured out why yet. I've been meaning to take another look but then I got busy š
Ah, alright, no problem. I'll do that when I get back to my computer.
I think that should be done, I really appreciate the assist!
Please let me know if I need to make any additional changes, thank you! :)
EDIT: Crap... I think I made it worse š
Looks like you accidentally moved the new upstream commits after yours ā if you run git rebase -i 29d16ceb7c13c2741d10f77230caca6163cfa904^
you should be able to just remove all the lines other than your commit and resolve the conflict. Gitās UI is pretty terrible, sadlyā¦
Sorry for the delayed response - I tried your latest suggestion to no avail, I assume I must not be understanding something? š¤
I'll keep tinkering
Gitās UI is really awful, itās not your fault. (Iāll take this opportunity to plug Jujutsu, which makes all of this a lot simpler and easier to recover from; I canāt imagine using Gitās UI directly any more.)
In general when working on Nix ecosystem repositories you almost always want to git pull --rebase
and not introduce any merge commits, and liberally use git commit --amend
and git rebase --interactive
to squash fixes into the original commits. The easiest way to get out of this mess is probably as follows:
# Get the latest revision from LnL7/nix-darwin into FETCH_HEAD
# Replace āupstreamā with whatever your https://github.com/LnL7/nix-darwin.git remote is
# (`git remote list` to find out, `git remote add` if you donāt have one)
$ git fetch upstream master
# Put your current branch at FETCH_HEAD without changing your working tree
$ git reset FETCH_HEAD
# Record every change between upstream and your current files as a single commit
$ git commit -a
# Check the commit turned out right; if something looks wrong, adjust your files
# and `git commit --amend -a` until it looks good
$ git show HEAD
# Update your pull request
$ git push --force-with-lease
Jujutsu sounds VERY cool, I'll have to give it a look
I'm traveling for work this week, but I'll definitely give your suggestions a try when I can.
I really am sorry about all this, I can't tell you how much I appreciate all your help, thank you so much <3
I think I may finally have cleaned it up
Thank you for the contribution! Looks like the tests are failing, unfortunately.