git diff is used to determine whether there are any changes. git diff is empty if only new, untracked files are added. This halts the migration process and asks the user for input.
I suggest one of the following solutions:
- Use
git status instead of git diff.
- Use
git add -A, then git diff --cached, i.e. stage earlier.