We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hoping to move all files from the foo folder to the current folder (.)
foo
.
The raw git command looks like this: git mv foo/* .
git mv foo/* .
Using GitPython, those are the two alternatives I could attempt:
repo.index.move(['foo/*', '.']) # -> cmdline: git mv --dry-run foo/* . repo.git.mv('foo/*', '.') # -> cmdline: git mv foo/* .
They both return the same error:
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) stderr: 'fatal: bad source, source=foo/*, destination=*'
What is surprising to me is:
cmdline
destination
stderr
*
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hoping to move all files from the
foo
folder to the current folder (.
)The raw git command looks like this:
git mv foo/* .
Using GitPython, those are the two alternatives I could attempt:
They both return the same error:
What is surprising to me is:
cmdline
looks good and actually works when running them in the terminaldestination
input is.
butstderr
shows*
The text was updated successfully, but these errors were encountered: