GitHub Desktop Adds Squashing
Written by Kay Ewbank   
Tuesday, 22 June 2021

GitHub Desktop has been updated and now has expanded support for drag and drop to allow you to squash and reorder commits in your history, amend previous commits, and start new branches from earlier commits. GitHub Desktop gives developers a way to work with workflows in a desktop environment.

githubdesktop

 

GitHub Desktop was designed to replace GitHub for Mac and Windows with a unified experience across both platforms. Recent updates have added support for cherry-picking and introduced drag and drop. The developers say the latest release has:

'more of Git in it so you can focus on what matters'.

The headline improvement to this release is the ability to squash and reorder commits. The thinking behind the change is that developers use their commit history to tell a coherent story about the progression of their project. If a group of commits represents a single unit of work, or if a project requires that each pull request only has one commit, you can now drag them on top of one another to squash them together and add a new commit message to summarize the overall changes. There's also the option to squash and rebase when you merge as part of the operation, and commits can be dragged and dropped to make the history of the project clearer and easier to follow.

The second change of note is the option to start a new branch from an earlier commit. The GitHub Desktop team says this will be useful when developers need to check out an older version of a project to investigate a bug or create a hotfix on top of the latest release. You can now check out a new branch from any commit in a projects history and avoid causing problems for the branch you’re working on.

Another improvement is the ability to amend your last commit rather than having to undo it if you want to make a small change. The final improvement adds native support for Apple Silicon users. 

GitHub Desktop 2.8 is available on GitHub now.

githubdeklogo

More Information 

GitHub Desktop

Related Articles

GitHub Desktop 2.0 Introduces Stashing and Rebasing

GitHub Desktop Improves Merge Conflict Resolution

GitHub Desktop Released

GitHub Extends Developer Program

GitHub Platform and Community Improvements

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Mini-Pupper On Kickstarter
08/10/2021

The latest robot dog making its debut on Kickstarter is Mini-Pupper, an open source quadruped robot powered by a Raspberry Pi 4B. Mini Pupper met its funding goal in the first 5 minutes and was 1000%  [ ... ]



DataStax Extends Stargate
11/10/2021

DataStax, mostly known for AstraDB the multi-cloud database based on Apache Cassandra, has announced the addition of new capabilities to its Stargate Gateway product.


More News

square

 



 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 22 June 2021 )