git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
MJMoon, John <john.moon@transamerica.com>
Date
Nov 27, 2018, 20:24 UTC
Message-ID
<7E2121D5-C95D-4C38-A495-C9971678374F@transamerica.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. 
Message 1 of 1 in “git difftool --dir-diff not saving new files copied from LOCAL to REMOTE”
  1. Moon, JohnNov 27, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.