Skip to contentSkip to conversation

Documentation: Explain git-mergetool's use of temporary files

PATCH In review David Aguilar 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: Explain git-mergetool's use of temporary files

'git mergetool' creates '*.orig' backup files in its default configuration. Mention this in its documentation.

---
 Documentation/git-mergetool.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
Documentation/git-mergetool.txt +10 -0
index 55735fa..e4ed016 100644
@@ -72,6 +72,16 @@ success of the resolution after the custom tool has exited.
 	This is the default behaviour; the option is provided to
 	override any configuration settings.
 
+TEMPORARY FILES
+---------------
+`git mergetool` creates `*.orig` backup files while resolving merges.
+These are safe to remove once a file has been merged and its
+`git mergetool` session has completed.
+
+Setting the `mergetool.keepBackup` configuration variable to `false`
+causes `git mergetool` to automatically remove the backup as files
+are successfully merged.
+
 Author
 ------
 Written by Theodore Y Ts'o <[email protected]>
Signature · 1 line
1.7.2.rc2.10.g637ab