![]() ![]() If your working directory has a lot of existing changes and you just want to make a small change though, undo probably isn’t a great fit. GitHub Desktop has long included the ability to undo your last commit to place all of its changes back into your working directory. Now in Desktop, you can check out a new branch from any commit in your history, allowing you to easily view the state of your repo at that point in time while not negatively impacting the branch you’re working on. Many times, you may need to check out an older version of your project to investigate a bug or create a hotfix on top of your latest release. Start a new branch from an earlier commit When you merge, you also now have the option to squash and rebase as part of your merge.Īnd if commits are ordered in a way that’s disparate and hard to follow, now you can just drag and drop them wherever you’d like in your history. If a group of commits represents a single unit of work, or if a project requires that each pull request only has one commit, simply drag them on top of one another to squash them together and add a new commit message that captures the whole picture. Many developers care deeply about their commit history and use it to tell a coherent story about the progression of their project. There’s more of Git now in GitHub Desktop, allowing you to focus on what matters. We’re continuing that momentum and expanding drag and drop to allow you to squash and reorder commits in your history, amend previous commits, start new branches from earlier commits, and more. ![]() 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.In GitHub Desktop 2.7, we released cherry-picking and introduced drag and drop, and in GitHub Desktop 2.8 we made several improvements to diffs. GitHub Platform and Community Improvements GitHub Desktop Improves Merge Conflict Resolution GitHub Desktop 2.0 Introduces Stashing and Rebasing GitHub Desktop 2.8 is available on GitHub now. The final improvement adds native support for Apple Silicon users. 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.Īnother improvement is the ability to amend your last commit rather than having to undo it if you want to make a small change. 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. The second change of note is the option to start a new branch from an earlier commit. 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. 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. ![]() The thinking behind the change is that developers use their commit history to tell a coherent story about the progression of their project. The headline improvement to this release is the ability to squash and reorder commits. 'more of Git in it so you can focus on what matters'. The developers say the latest release has: Recent updates have added support for cherry-picking and introduced drag and drop. GitHub Desktop was designed to replace GitHub for Mac and Windows with a unified experience across both platforms. ![]() GitHub Desktop gives developers a way to work with workflows in a desktop environment. 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |