# git difftool --dir-diff not saving new files copied from LOCAL to REMOTE

1 messages from 2018-11-27 to 2018-11-27. Participants: Moon, John.
Thread: https://gitlist.dev/t/49904

## Moon, John, 2018-11-27 20:24

Subject: git difftool --dir-diff not saving new files copied from LOCAL to REMOTE
Message-ID: <7E2121D5-C95D-4C38-A495-C9971678374F@transamerica.com>
URL: https://gitlist.dev/e/7E2121D5-C95D-4C38-A495-C9971678374F%40transamerica.com

```
Hi all,

I’m using vim DirDiff plugin to compare 2 branches.  This works great for the most part except:

When I compare a branch to the current branch (git difftool -t vimDirDiff --dir-diff master)

If there is a file that exists in $LOCAL that is not in $REMOTE I copy the file into $REMOTE, but when I exit the difftool the file is not in the current branch.  I would expect the new file to be there so I can add it.

Is there a way to make it sync the new files in the temp folder with the current branch?  Or even to use the current directory for $REMOTE

Thanks. 


```
