![]() Once installed it walks you through a quick tutorial showing you how to branch a repository, commit changes, then handle pull requests and merges. It handles synchronizing your code with the cloud, managing branches, and showing changes - so you can work in your usual code editors without having to worry about whether it has integration plug-ins.Īcquiring GitHub Desktop is quick and easy, with the installer downloading the latest version as part of the install process. With both Mac and Windows versions, built using a common core, it’s an important tool. GitHub Desktop is intended to simplify working with the service, bringing common GitFlow techniques to your desktop while still giving you an offline copy of your repositories so that you can work anywhere. Git’s cloud incarnation, GitHub, has become the public face of source control - where recruiters look at candidates’ code and commits and where much of the world’s open source software is developed and shared. From its birth of scratching Linus Torvalds’ version-control itch, it has grown to become the repository of choice. Same time I have nice colored status from Posh-Git.Git has become the lingua franca of code. For example, you can type git it does not complete the command. Posh-Git provides tab completion within PowerShell for Git commands and Git data. When you launch the shell, you’ll notice that the Powershell window now has a Git enhanced prompt that displays your current branch name. ![]() The other “sane default” is that we include Posh-Git (maintained by Keith Dahlby) with our installation. There’s no need for messing around with personal access (OAuth) tokens. This is especially useful if you have two-factor authentication enabled (WHICH YOU SHOULD!) as we handle the 2fa dance on your behalf. That way, you can log into the app and we’ll handle the credential management when you push to or pull from GitHub using the Git command line. GitHub Desktop sets your default editor (typically NotePad) as the default editor via the open source GitPad tool.Īlso, GitHub Desktop sets itself up as the Git credential provider. Statistically speaking, that’s never the right answer for Windows users. The first instance I’ve found is on Twitter by Aaron Jorbin.īy default, Git sets vi as the default commit editor. We often mention that we install Git with “sane defaults.” What do we mean by that? Well, let me tell you an old joke first.Ī: Put a Windows user in front of vi, and tell them to exit Many thanks to Scott Hanselman for that idea. Support for the ~ key to launch the shell was inspired by the 3D shooter Quake which uses that key to bring up the console within the game. Select the “Open in Git Shell” menu item. You can also launch the Git Shell from the Desktop GUI application by pressing the ~ key (or CTRL + ~ at any time such as when a text field has focus) or via the gear menu in the top right. Once you install, you’ll notice a GitHub icon and a Git Shell Icon on your desktop.īy default, the Git Shell shortcut launches PowerShell with Git set up. Visit and click the big blue button that says “Download GitHub Desktop.” We use ClickOnce to streamline the installation process. If you feel this way, that’s great! I love the command line too! Let’s be friends!Įven so, in a set of blog posts I plan to write, I hope to convince you that GitHub Desktop is one GUI application that augments and complements the Git command line in such a powerful way that you’ll want to integrate it into your GitHub workflow.īut for now, I’ll work to convince you that GitHub Desktop is the easiest, fastest, and best way to get the Git command line set up on a Windows machine and keep that installation up to date. ![]() GitHub Desktop, the application formerly known as GitHub for Windows, is a streamlined GUI that makes it easy to contribute to repositories on GitHub.Īt the same time, I often hear from people that they don’t need a GUI because they’re perfectly happy to use the command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |