You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git-crypt + git rebase (encrypting unencrypted files)
git-crypt + git rebase (encrypting unencrypted files)
Let's say you thought you enabled encryption for file a in commit A, but you made a mistake and the file is not encrypted. The file was added in commit B which follows A. Then:
git rebase -i A~
Mark A and B with edit. Fix .gitattributes in A. Then when it stops at B stage the changes, commit and continue: