With custom commands, you are one shortcut away to run commands thanks to the Quick Launch (Ctrl+P, ⌘+P).
Custom commands can be configured in File > Preferences > Custom commands, or by editing the json file custom-commands.json located in AppData/Local/Fork on Windows and ~/Library/Application Support/com.DanPristupov.Fork/custom-commands.json on MacOS.
Please share your own custom commands :)
Fork commands are posted as comments on this gist. Press CTRL+F to search for commands.
Then, copy-paste the commands you need in custom-commands.json.
Make sure to close Fork before editing the json file.


Ask to run
git gc --aggressiveon this repository(It's located in 'Open In' menu){ "target" : "repository", "ui" : { "buttons" : [ { "title" : "OK", "action" : { "showOutput" : false, "type" : "process", "waitForExit" : true, "args" : "gc --aggressive", "path" : "$git" } }, { "title" : "Cancel", "action" : { "type" : "cancel" } } ], "title" : "Garbage Collect", "description" : "Are you sure you want to run \"git gc --aggressive\" ?" }, "name" : "Garbage Collect" }