Intro to GitHub DesktopVishal Gorai Oct 19, 2019·4 min read Why GitHub Desktop when weve terminal? No doubt, Command Line Interface (CLI) is super sexy! One of the best features of Git is that it works blazingly fast on the terminal. Working from command line consumes lesser RAM along with delivering quicker output. Since it has no graphical interface, the load on the system is less and CPU consumption is even lesser. Server have no UI, neither is required by Git. So you get an added advantage of learning Git from CLI. Theres never a minus in using Git from the terminal. Well those were super bombastic technical concepts for pro users. What about the beginners?I couldnt agree more to it, that in the entire journey, the start is the most crucial point. Well, GitHub understands you well. It has made the entry point to GitHub super easy with the application - GitHub Desktop. GitHub desktop is a super flexible tool for all those who finds their way through the CLI very complex. It offers a beautiful and structured User Interface for the new comers to keep them from using the black screen. It has a specific button for each and every Git command so that the need of CLI is never felt. Steps to install and use GitHub Desktop:
2. Then, GitHub Desktop welcomes you with its very fine and clean interface. 3. Sign in to Github from GitHub Desktop 4. Configuring Git from GitHub Desktop. 5. Finally, youre set to use GitHub Desktop Starting with GitHub DesktopCloing a github repo
Cloning a GitHub repository from github is just a click away. No commands written, no commands to be remembered. Just a click, and there youve the repo locally available. Put in the url in the tab and tap clone. Creating a branch
or simply
Creating a branch in GitHub desktop is no longer as confusing as it looks in the black screen. Simply tap on create a branch, and youre done! Put in the branch name and you have your branch ready to be experimented with. Switching Branch
Merging into other branch
Make sure you find the correct branch to be merged with the base branch. Viewing history in GitHub DesktopA very clean and standard interface is laid out to you by the application to view the history of the repository. You can see the the contributors on the left-hand side tab (as shown), with details of their respective contributions on the larger right-hand side tab. Well not to forget, the commit messages are always a great deal of help with a breif overview of the changes made in the repo by any author in their commits.
Digging deeper into GitHub DesktopWell, to be very frank, this application is not a very sophisticated or a great software with web engines powering it 24x7 and blah blah blah. Its simply web-page kind of stuff, with inbuilt git. Thats it. Huhh, why should we believe you?Simply investigating more about the app I found out that its written in purely in HTML, JavaScript, and CSS. You can very easily see the code by right-clicking anywhere on the page and then choosing inspect element. Dont be surprised, but any developer with a sound knowledge of HTML, JS, and CSS coupled with Git can make this. Even you! Good luck to all, and if you found the article helpful, share with your friends and colleagues to let them come over the fear of using Git from terminal. Stay connected with me : Vishal Gorai |