Log inSkip to main contentSkip to sidebar
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.
Allow SourceTree to work with git-crypt to allow for encrypted files in repos.
yamsellem
added a comment - - edited For anyone struggling here, this gist solve the issued for me. It does:
sudo ln -s /usr/local/bin/git-crypt /Applications/SourceTree.app/Contents/Resources/bin/
I started having an error stating that git-crypt command was not found and I applied Ben Gestug's command solution with current version and now it's working again.
Raúl del Río
added a comment - I started having an error stating that git-crypt command was not found and I applied Ben Gestug's command solution with current version and now it's working again.
sudo ln -s /usr/local/Cellar/git-crypt/0.6.0/bin/git-crypt /Applications/SourceTree.app/Contents/Resources/git_local/bin/git-crypt
Deleted Account (Inactive)
added a comment - I started suddenly receiving error messages that git-crypt smudge failed.
I can also confirm that running Ben Getsug's command worked as a solution. But updated with current version of git-crypt of course.
sudo ln -s /usr/local/Cellar/git-crypt/0.6.0/bin/git-crypt /Applications/SourceTree.app/Contents/Resources/git_local/bin/git-crypt
bgetsug
added a comment - If you want to use embedded git with external git-crypt (installed with Homebrew), creating the following symlink seems to work:
sudo ln -s /usr/local/Cellar/git-crypt/0.5.0/bin/git-crypt /Applications/SourceTree.app/Contents/Resources/git_local/bin/git-crypt
Confirmed working with system git on latest Mac OS X 10.11.5:
# which git
/usr/bin/git
# git --version
git version 2.7.4 (Apple Git-66)
# which git-crypt
/usr/local/bin/git-crypt # installed from Homebrew
Andrew Vit
added a comment - - edited Confirmed working with system git on latest Mac OS X 10.11.5:
# which git
/usr/bin/git
# git --version
git version 2.7.4 (Apple Git-66)
# which git-crypt
/usr/local/bin/git-crypt # installed from Homebrew
This should work if you choose to use the system version of git instead of embedded and ensure that git-crypt is a part of the PATH it sees. The easiest solution would be to symlink git-crypt to the same location as your git binary due to variations in how to configure (per major OS revision.)
Brian Ganninger (Inactive)
added a comment - This should work if you choose to use the system version of git instead of embedded and ensure that git-crypt is a part of the PATH it sees. The easiest solution would be to symlink git-crypt to the same location as your git binary due to variations in how to configure (per major OS revision.)
+1 I wish git-crypt was just built in to git, but alas. It would be nice to support it at least on a basic level, versus getting 4 of these in a row anytime ST detects a change.
voltechs
added a comment - - edited +1 I wish git-crypt was just built in to git, but alas. It would be nice to support it at least on a basic level, versus getting 4 of these in a row anytime ST detects a change.
For anyone struggling here, this gist solve the issued for me. It does: