Last active
March 30, 2019 23:59
-
-
Save jamedge/2bf472b674b62c94a3c31b7b17362801 to your computer and use it in GitHub Desktop.
[git-crypt: add file] Add a new file to be enrypted #git #shell #gitcrypt
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
cd <repo_name> | |
echo "<file_path_inside_repo> filter=git-crypt diff=git-cryp" >> .gitattributes | |
git add .gitattributes | |
git commit | |
git push origin <branch_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment