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
We can use GIT_DIR and GIT_WORK_TREE to make the .git folder be somewhere completely different and the worktree root (the part where the files are to commit) be somewhere completely different too.
jcbhmr
changed the title
No longer using rsync to put files into a git repo. Instead, we use $GIT_WORK_TREE to move the git worktree to the files, not the files to the git worktree! 😲
Drop rsync dependency
May 16, 2023
We can use
GIT_DIR
andGIT_WORK_TREE
to make the.git
folder be somewhere completely different and the worktree root (the part where the files are to commit) be somewhere completely different too.https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables
The text was updated successfully, but these errors were encountered: