Вы находитесь на странице: 1из 2
GitKraken Cheat Sheet GitKraken User Interface (dark theme) openiClnesnit Left Panel 2 toa G stashes Bs Puteequests ote Commit Graph Detail (ight theme) Toolbar ‘Commit Panel States + Staging/Unstaging Panel + Merge Conflt Pane, Commit Graph Feeback Support Graph Elements & Actions ' Commit Merge Commit awe ben 1 1 ' 1 pate 1 Commit : i Messages i 2Branches _2Branches : Zeranchee erence, 1 ' L 1 io I 1 Graph Keyboard Shortcuts = ¥! ct! / Select Previous tem Up or K ‘Commit 9 Cie!) Enter when in message input Select Next tem Down or J ‘Stage All+ Commit %€| Ctrl Shift Enter| when inmessageinut SelectFirstitem = Cind. Up Left Panel HICiel)|\togele SelectFirstitem Am Ctrl Home Fury Finder HI Ctl) P tore SelectLastitem — @ ——Cimd Down Stage All Files ICU shies SelectLastitem A Ctrl End Unstage lifes -38/.Cirl Shit U Zoom vOut alc 6 y= Undo Mlctl Z Reset Zoom xICrI 0 Redo He ICirl Vcr aR1Ct shift 2 Stage/Unstage 5)/ U currentfie CommandPaltte «SIC Shift) tore OpenRepoinTerminal Option | Alt T Fiterteft Panel Hl cul Shik T GitKraken Cheat Sheet The Fuzzy Finder Using |9€1Ctr1) (P| wilopen the Fuzzy Finder, text input where you can type commands to open repositories, view history for files in the current repository. and settings, ee For example, If you wanted to open a repo at: wacreposinyweere po2glt Youcanenter: "open weil andit should come upin thelist ‘The Command Palette Using 31st Shift P| wil openthe CommandPalette which looks like the Fuzzy Finder, but Is used to perform actions on your current repository. For example, youcan fetehall,ereateor popa stash indoor ‘edo actions, and more from the Command Palette. As youtype related Content the relevant commands will be csplayedin alist. Thisallows you ‘operformmany actions without having to search forthe related Ul and without ever having t leave the comfort of your keyboar. ‘Operating on Other Branches One of the mare subtle capabilities of Gitkrakenisactingon branches and tags other than the one thats currently checked out. You can fetch, pull and push a branch while being on aiferen branch, provided no merge conficts ocr, For example, fyou are onbranch “master” youcan right lick on feature/123? and choose to pus You've always been abl to push that branch, but now you can save the entra steps of stashing, checking out that branch, pushing, checking cut your previous branch gain and popping your stash Hiding and Soloing hovered and indicates thatthe corresponding branchis visible in the graph. Clicking this icon will hide the branch in the graph represented by grey icon with aslash. Hiding branches can help keep the commit graph legible by showing only what you need to The sreen ‘eye-con will display to the left of a branch when ec 2 © B20 2 brane, ihe Ie and select "Slo" trom the drop-down menus An orange icon will splay to the ltt, which Indicates the selected branch has been soloed, You ean solo 35 many oF 35 few branches/tags a5 you lke-even entire remotes. Click "Stop Soloing” atthe top ofthe panel to leave the soloing state and restore branches and tags to their previous vsble/big den states. Undo and Redo Undoing Git operations can bea nightmare. Undoing a merge can involve hatd resetting branches, deleting. a branch means manually parsing through the relog and dangling babs hoping that you can find your changes and save them before they're cleaned up. With GitKraken it's ‘e25yjustclck the Undo or Redo buttons inthe toolbar. —_— ra} Undo Redo Gitkrakencanundoalotot __ Haveyou done something, thesechangeswith asingle and then undid it, only to click of the undo button wish you had just left i (or you can do it through alone? There fs a redo ‘the command palette function for that! Pull Requests Switching between applications can be time-consuming and interrupts ‘workflow, especialy when it comes #9 Pull Requests. By Integrating Gitkraken with services tke GitHub, you can create new PRS and view pending PRs for multiple repos aectly without leaving the loving tentacles of Gtkraken, (OAuth Integration with GitHub, Bitbucket, & GitLab O) civrnion GPowreror ky citsneon Gitkraken canbe connected to Gti, Btbucket, or itLab via OAuth to provide integrations that make working with your remate repositories taser, For example in GitHub, when cloning a repository or adding remotes, Gitkraken is able to show repos you have access to on your connected. service(s), Of course, you stl have the option of manually entering repo URLS ‘SECURE SHELL (SSH) CGitkraken can generate an SSH Key for you automatically. It ean even adit to your GitHub account you give it permission. Since Gitkraken uses its own bundled copy ofan SSH library, nothing ‘needs tobe confgured outside of the app, File History and Blame History and blame information for file show up inthe same view ofthe commit pane: ‘Choose to view history or Blam by right clicking the fie tha appers when you YoucanalsousetheFuzzyFinder 381 Ctl) |P)andthentyping"history” {allowed by space and then the flename. Once youre inthe history view, you can see the commitsin that e's histaryan the fthand side, Visit GitKraken.com to see everything our Gitclient hasto offer, and to download GitKraken for free for Windows, Mac or Linux!

Вам также может понравиться