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.

Unable to squash the selected set of commits - Ongoing Interactive Rebase not detected

See original GitHub issue

Describe the bug

Write a clear and concise description of what the bug is. Recently I’ve installed the Github Desktop app in my MacBook pro. I’m able to pull/push/fetch from the origin. When I try to squash a bunch of commits it isn’t working. Idk how to fix it or who can help me on this.

Version & OS

Screenshot 2021-09-30 at 4 06 31 PM

Open the ‘About GitHub Desktop’ menu to see the GitHub Desktop version. Also include what operating system you are using.

Screenshot 2021-09-30 at 4 07 41 PM

Steps to reproduce the behavior

  1. Go to ‘Any of the available branches in a repository’
  2. and try to create 2, 3 commits to that branch and push the changes
  3. Come to Github Desktop and try to select the recent commits you done for the selected branch.
  4. Select & try to squash the selected commits. It won’t happens.

Expected behavior

When we try to squash the commits, that should happen as expected.

Write a clear and concise description of what you expected to happen.

Screenshots

Add screenshots to help explain your problem, if applicable. FYI, Here I’ll be sharing a recorded

https://user-images.githubusercontent.com/59006955/135441169-97827fe6-61fd-45e5-8950-b091fb0d3ea1.mov

.

Logs

Attach your logs by opening the Help menu and selecting Show Logs..., if applicable. Sorry, unfortunately, I don’t see any logs for this bug, I facing.

Additional context

Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
stevewardcommented, Sep 30, 2021

@rohitattaluri that’s the plan. Thanks for helping us catch this!

1reaction
stevewardcommented, Sep 30, 2021

I’m glad to hear that got things working. I’m going to leave this open so that we can add detection for when a rebase is in process and surface the error if a squash is attempted.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't squash commits in git after they have been pushed
Another way you can easily do this is to issue: git reset --soft d0b8a84d git commit -m "squashed everything after d0b8a84d" git push...
Read more >
Git rebase, squash...oh my! | - mgasch.com
Solution: Perform a rebase against the parent branch ( main ) to change all commits in the current branch ( issue-31 ). Use...
Read more >
How to Squash Commits in Git | Learn Version Control with Git
To "squash" in Git means to combine multiple commits into one. You can do this at any point in time (by using Git's...
Read more >
Learn to change history with git rebase!
To split this up, we're going to do an interactive commit. This allows us to selectively commit only specific changes from the working...
Read more >
Using Git | Qt Creator Manual
However, the variable is typically not set in a Windows command prompt. ... change a series of commits in the local repository, select...
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