SourceTree Keyboard Shortcuts

简明手册

概览

ActionShortcut
File Status Screencmd + 1
History Screencmd + 2
Search Screencmd + 3
New repocmd + n
Hide/show sidebarcmd + shift + k
Repository detailscmd + shift + i
Open file browser(fastest way to switch repositories) cmd + o

Staging & Commit Operations

ActionShortcut
Commit All… Screencmd + shift + c
Commit optionscmd + shift + o
Reset Selected Filecmd + shift + r
Diffcmd + d
Remove Selected Filecmd + delete
Searchcmd + shift + h
Refreshcmd + r

Removing and resetting files

ActionShortcut
Deletecmd + delete
Reset file to staged versioncmd + alt + R

Find

ActionShortcut
Find (file by name or path)cmd + f
Find Nextcmd + g
Find Previouscmd + shit + g
Use selection to findcmd + e

Branch Operations

ActionShortcut
stashcmd + shift + s
Add or Remove Tagcmd + shift + t
Branchcmd + shift + b
mergecmd + shift + m

Repository Operations

ActionShortcut
Fetchcmd + shift + f
Pull from repositorycmd + shift + l
Open remote in web browsercmd + shift + w
Open pull requestcmd + alt + p

Window (Normal Mac Shortcuts)

ActionShortcut
Quitcmd + q
Close windowcmd + w
Hidecmd + h
Minimisecmd + m
Settingscmd + ,
UndoCmd + z
Select AllCmd + a
Emoji & SynbolsCmd + ctrl + space