diff --git a/docs/git-compatibility.md b/docs/git-compatibility.md index 7720e4faf6..e6340caccd 100644 --- a/docs/git-compatibility.md +++ b/docs/git-compatibility.md @@ -170,7 +170,7 @@ mv .jj/repo/store/git .git # Tell jj where to find it echo -n '../../../.git' > .jj/repo/store/git_target # Ignore the .jj directory in Git -echo /.jj/ > .git/info/exclude +echo '/*' > .jj/.gitignore # Make the Git repository non-bare and set HEAD git config --unset core.bare jj st