question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rebase suggestions and questions for post release

See original GitHub issue

Had some questions / suggestions for rebasing. Nothing here is urgent and can be address post 1.7.0 release.

  • The resolve carrot is warped. Shouldn’t it look like the Open in Editor one? Screen Shot 2019-04-04 at 7 55 42 AM Screen Shot 2019-04-04 at 8 39 53 AM

  • When using git rebase --skip in the cmd line, I noticed there was nothing in the Desktop UI that popped up. Does anything from this need to be surfaced in the Desktop UI? Screen Shot 2019-04-04 at 8 01 47 AM

  • Should we use an alternate word instead of “Continue rebase” as I noticed that when the button is active, it does not entirely mean the same thing as git rebase --continue cmd. This may be confusing to newer users, but I have no strong feelings on this one. Screen Shot 2019-04-04 at 8 12 38 AM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
shiftkeycommented, Apr 17, 2019

Coming back to the last outstanding questions:

Does anything from this need to be surfaced in the Desktop UI?

I’m not sure what we can do here if the rebase was completed outside the app aside from closing out the dialog because we no longer detect .git/REBASE_HEAD - we could poke at the reflog to see some recent activity, but I think if you’re finishing the rebase outside the app you don’t need our help.

If you rebase --skip ahead and encounter conflicts Desktop should update itself when you switch back, to help you resolve these conflicts and continue.

Should we use an alternate word instead of “Continue rebase” as I noticed that when the button is active, it does not entirely mean the same thing as git rebase --continue cmd.

You’re right in that we might --skip underneath if there’s no changes to apply as part of the commit, but I’m fine with this button representing “proceed with the rebase” without being a literal representation of the plumbing.

I’ve got some other feedback about the information we show when setting up the rebase that I’d like to tackle before this goes out to everyone. I’ll keep these things in mind, but for the moment I’m going to close this out to focus on the current iteration of the rebase flow.

2reactions
shiftkeycommented, Apr 4, 2019

@tierninho thanks for this input!

The resolve carrot is warped. Shouldn’t it look like the Open in Editor one?

Probably - these styles were borrowed from Merge Conflicts so I’ll see what’s available there.

  • When using git rebase --skip in the cmd line, I noticed there was nothing in the Desktop UI that popped up. Does anything from this need to be surfaced in the Desktop UI?

I’m not sure I understand this bit - what git rebase --skip does is ignore the current commit in the rebase (because it doesn’t contain any tracked changes to use) and continues rebasing commits until it either completes successfully or encounters conflicts.

For the example screenshot above, it looks like you’ve got conflicts again to resolve, and switching back to Desktop should show those. Do you recall what Desktop did at the time? There might be some context in the log about whether it was able to detect the conflicted state again…

  • Should we use an alternate word instead of “Continue rebase” as I noticed that when the button is active, it does not entirely mean the same thing as git rebase --continue cmd.

I’ve got mixed feelings on this - --skip is mostly just like --continue but it drops the current path:

--skip Restart the rebasing process by skipping the current patch.

I feel like changing the UI to sometimes say “we’re gonna skip this commit because there’s nothing to do” feels confusing in a different way, especially to users who aren’t familiar with what git rebase is doing underneath. I’d hold off on exposing more context until we’ve gotten feedback from users about what makes sense and what might be a source of confusion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Rebase and Update a Pull Request - DigitalOcean
This tutorial will guide you through some of the next steps you may need to take after you submit a pull request to...
Read more >
git-rebase Documentation - Git
How to handle commits that are not empty to start and are not clean cherry-picks of any upstream commit, but which become empty...
Read more >
Introduction to Git rebase and force-push - GitLab Docs
This guide helps you to get started with rebasing, force-pushing, and fixing merge conflicts locally. Before diving into this document, make sure you...
Read more >
Git Team Workflows Best Practices: Merge or Rebase?
In git, there are two ways to handle changes made by multiple developers on the same file: merge and rebase. Learn the pros...
Read more >
Demystifying Git Rebase: Git in Practice - Part 1 - Thinktecture
After a successful rebase, the branch main is the new base for our feature branch. What happened is that the series of commits...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found