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


Python Extension For Visual Code Updated
27/07/2021

The latest version of the Python Extension for Visual Studio Code has been released with a faster way to configure project roots via a new Pylance quick fix, and new debugger features.



Learn Kubernetes by Example
29/06/2021

Looking to understand Kubernetes and cloud native development? Here is a free and continuously updated online collection of resources on everything Kubernetes, by Red Hat.


More News

square

 



 

Comments




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

Last Updated ( Tuesday, 22 June 2021 )