-
-
Save skywinder/39d4d0708d291f40a97d45e82653f127 to your computer and use it in GitHub Desktop.
Here is a single line to add kraken support in `.zshrc`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open GitKraken using the current repo directory in the cli. | |
alias kraken='open -na "GitKraken" --args -p "$(git rev-parse --show-toplevel)"' | |
# Now you can 'git kraken'! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Slight update for anyone who cares - if you happen to have a subrepo or other git-repo inside of another repo this requires a slight fix to use the current working directory instead of just the root of the current repository, so this is my current alias: