Created
October 27, 2018 20:30
-
-
Save Neo23x0/1b03425d60c3735a0bc5b18dc08c9abd to your computer and use it in GitHub Desktop.
SourceTree git-secrets
This file contains 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
#!/bin/bash | |
# | |
# Fixes error: | |
# git: 'secrets' is not a git command. See 'git --help'. | |
# | |
# 1. Go to SourceTree preferences > Git > Use System Git | |
# Select the system's git e.g. /usr/local/git/bin/git | |
# 2. Run this script | |
# Adust the path if your system's git is located in a different folder | |
# git-secrets must be linked in the same folder as the system's git binary | |
# | |
# More information: https://qiita.com/yamaryu0508/items/d959dc32442b08b8a0a4 | |
sudo ln -s /usr/local/bin/git-secrets /usr/local/git/bin/git-secrets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment