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


World Emoji Day Chooses Syringe To Sum Up 2021
23/07/2021

This year's World Emoji Day, celebrated this week, saw the syringe emoji winning the award for the 'Most 2021' emoji, narrowly beating the microbe emoji among voters on Twitter.



ACM Grace Murray Hopper Award 2020
09/07/2021

The 2020 ACM Grace Murray Hopper Award has gone to Shyamnath Gollakota of the University of Washington who is seen as a creative force in his field of wireless computer networks and is now p [ ... ]


More News

square

 



 

Comments




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

Last Updated ( Tuesday, 22 June 2021 )