You are on page 1of 3
© GitKraken Git GUI Cheat Sheet User Interface Toolbar openicioneiint Tab New Tab_—*(See detallsbelow) SOT weny profiles Repo/Branch Navigation: Dark theme (Ughetheme avaliable) Left Panel iter Left Panel = citow Commit Panel fh PullRequests + Resolve conflicts «View fies © tags submodules © aanub actions Version # Branchand Commit Commit Feedback/Support Taglabels “Graph messages | Zoom Actviy Logs Toolbar Details Graph Elements & Actions ‘D undo es stash Gitkraken Boards ee Credo a Popstash FH Gitkraken Timelines >) & Pulfetch YF Branch LFS Large Fle storage ren Ae oe 2 Push oe ee Keyboard Shortcuts xIcw create Branch wlcut 8 Tonsley Finder ICP fetch Rice Search commis xleo F commit 11a nr open Repo 21cuH hi nme stage current ae : Searcher Fle Aci Snit of weremten Urstag Curent Fe v Openseecedrle TCE Dineen Stage Aes selcot suits ow Unsage Al le elcet sh Open anew Tab ale T Stage A Corie lee Shit Returner ommnnmenren_jmptoNen OpenTob Ct Tab NavigaTion Jump Previous OpenTab CS Tab Selector bord JumptoaspecticTab [Cet 1-9 SelctPreous tem fork series lect w SeectNertsemin Branch Shit 4 or Sit) Tope et ane alc Selec ratte [cut TT Home Decrease Zoom leet Selec Lasttem leet Lend resetZoom xicut 0 no mia 2 eto dele ¥ or MIcit) sh Z Pe ae cre eres © GitKraken Git GUI Cheat Sheet Code Editor: Functionality Overview File Name Toggle File / Diff View Editor Toolbar (see details below) Mini Map File / Diff View Editor Toolbar Details: File View Review a file's contents in the tab. Use the fle mini map on the right to quickly scroll through the code or even hitthe button to edit the file airecty, View Blame / View History Indicates the file is in edit mode. Editor Toolbar Details: Diff View The shows what was added or removed from ale in one of three views Area background indicates lines where content was removed, whereas a green background indicates newlines added Gok Hunk View Perr CEO ee ese ac oe ee Updated: July 2020 GitKraken Git GUI Cheat Sheet The Fuzzy Finder Use 981 CtH) P to toggle the Fuzzy Finder: text input where you an type commands to open repositories, view the history af fies in, the current repository, and more, For example, ifyou want to open a repository, type: “open repo" and then press "enter". From there, start typing the name of the repo you're looking for, and you'll quickly see a list of relevant repos you can open You can also perform actions on your current repository. For exam: ple, you can fetch all, create or pop a stash, undo or redo Actions, etc. from the Fuzzy Finder._AS you type, the relevant Commands will be displayed In a list. This allows you to perform many actions without ever having to leave the comfort of your keyboard, Operating on Other Branches Cone ofthe more subtle capabilities of Gitkraken Git GUIs the ability to interact with branches (and tags) other than the one currently checked out. You can fetch, pl, and push a branch while being on 3 diferent branch, provided no merge conflets occu. For example, f you have the “development” branch checked ‘ut, you can right ellek on the “feature/123" branch and push It independently ‘You've always been able to push that branch, but now you can save the extra steps of stashing, checking out that branch, pushing checking out our previous branch again, and popping your stash, Hiding and Soloing ® Hiding branches isa useful way to reduce clutter in your commit graph. Any branches that are visible will have a igreen "eye'vcon to the left. Clicking this leon will hide the branch in the graph, and it will update the icon to a gray @® eye with a slash through it. This can also be done with Femotes, which wil hide all of a remate's branches, To solo a branch, rightelick a branch and select “Solo {rom the drop-down menu. An orange icon wil display £0 © the left which indicates the selected branch has been Soloed. You can soo as mary or a5 few branches/ags 38 you ike-even ete emotes, Click Stop soloing” atthe top ofthe panel toleave the soloing tate and restore branches and aes {other previous vsibleidden states Undo and Redo Undoing Git operations manually is complex. Undoing a merge involves hard resetting branches or even deleting a branch, which means manually parsing through the reflog and dangling blobs hoping that you can find your changes and save them before theyre cleaned up. With Gitkraken, is easy: just lick tne "Undo" or ‘Redo buttons in the toolbar 2) Sc Unde Redo Gitkraken Git GUI can lindo. a lot of these changes with a single Glick of "the "Undo just left it alone? There button (or, you can doit is a. "Redo function for through the Fuzzy Finder). that! Have you done some- thing, and then undid it only to wish you had Pull Requests Sivitching between applications can be time-consuming and disrup- tive t your workfiow-especaly when It comes to pull requests. By integrating Gitkraken Git GUI with services ike GitHub, you can {reate new PRS and view pending PRs for multiple repos without, ever leaving the loving tentacles oF Gitkraken, Ifyou are using the GitLab or GitHub integrations, you can also add a pull request assignee and label(s) to your pull request, Gitkraken Git GUI will then pass these values onto GitLab or GitHub when the pull request is created. ‘Additionally for the GitLab integration, you can hover over an existing pul request to show any assignees a labels associated with, the pull request. And for GitHub, this taltip will show assignees, labels, reviewers, and build status, Integrations @ cinuy D ret Ub cittad PYrcurevevops ira Gitkraken Git GUI can integrate with these hosting and Issue tracking services to make working with your remote repositories and issue backlogs even easter. TF eitoucket For example, when cloning a repository or adding remotes, Gitkrak fn Git GUI wil display the repos you have access to on your connect- 2d service(s) in addition tothe ably to manually enter a repo URL. With the issue tracking integration, youll beable to view issues trom, supported services inside Gikraken Git GUland easly iter them to focus only on work items relevant 10 you, including the abil to create anew branch for an Issue with the click of a button. Secure Shell (SSH) Gitkraken Git GUI can generate an SSH Key for you automatical ly. It can even add it to your GitHub account, if you give It permission, Since Gitkraken Git GUI uses ts own bundled copy of fn SSH library, nothing needs to be configured outside of the app. Fi History and Blame History and Blame information fara file show up in the same view of, the commit pane! Choose to view History oF Blame by right clicking the flea nears when you You can also use the FuzzyFinder | Ctr. and then type“nisto 17 followed by 2 space and then the fiename, Once youre in the History view, you can see the commits in that fle's history on the letnand side @GitKraken © @ @ Legendary Developer Tools gy gy ae ers ed Nae

You might also like