Skip to content
New issue

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

Rename a file with git2r (correlate to git mv) #413

Open
jranke opened this issue Jan 17, 2020 · 0 comments
Open

Rename a file with git2r (correlate to git mv) #413

jranke opened this issue Jan 17, 2020 · 0 comments

Comments

@jranke
Copy link

jranke commented Jan 17, 2020

How would I rename a file like git mv old_name new_name with git2r? Copy the file with base::file.copy (or rename with base::file.rename), then add the new copy, then rm_file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant