vim-ledger icon indicating copy to clipboard operation
vim-ledger copied to clipboard

Fix for trailing CR character with omni completion on Windows.

Open syringus opened this issue 1 year ago • 3 comments

Fixes #151.

syringus avatar Dec 29 '23 13:12 syringus

Of course. This was not my intention. I made a mistake and commited my experiments with balance and register commands to this branch.

Now I am not sure how to proceed. Should I close this PR and create a new one containing only the split fixes? Or adding new commit to this PR that reverts changes in last commit (balance and register commands) is better approach?

Thanks. Martin

syringus avatar Dec 30 '23 18:12 syringus

No need to close this, just shuffle things around.

Untested from memory, but you'll want something like this:

# Save your current state in a new branch
git branch extra-commands

# Reset your current branch to the previous commit
git reset --hard HEAD^

# Push the new (now reset) state of this branch back here
git push --force

# Switch to your other branch to keep working on that
git switch extra-commands

# Push the new branch and open a new PR for it
git push

alerque avatar Dec 30 '23 18:12 alerque

Great, thanks.

I will do it next week, when I'm back at home.

syringus avatar Dec 30 '23 21:12 syringus