From 6912f173a487e68863d8fc5c695cf6dae6eb0822 Mon Sep 17 00:00:00 2001 From: jochan Date: Tue, 20 Jun 2017 10:59:07 -0700 Subject: [PATCH] Added cleaning up temp files. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b21a8e4..40c5d67 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ These scripts will migrate a Mercurial repository to a Git repository using hg-f 5. To strip out large files from history and delete closed branches, run `./hg2git_clean.sh `. Files larger than 40M will be stripped. This may take a while. 6. To copy .hgignore files to .gitignore, convert _some_ of the regex to globs, and commit these files for every branch, run `./hg2git_ignore.sh `. Note that this will convert the repository from bare to non-bare and check out files. 7. Set an upstream (`git remote add origin `) and push the repository (`git push -u origin master`). This may take a while. +8. To remove temporary files that were created during the execution of these scripts (.bak, .log, \*authors.txt, hg-fast-export files), run `git clean -df`. ## TL;DR 1. `./hg2git.sh ` @@ -26,3 +27,4 @@ These scripts will migrate a Mercurial repository to a Git repository using hg-f 4. `./hg2git_clean.sh ` 5. `./hg2git_ignore.sh ` 6. `git remote add origin && git push -u origin master` +7. `git clean -df`