You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to track a file with its rename ones. For example, a file is called "test_lecture", and then rename to "python_data_analytics". I want to track all the commits for the files if possible.
I want to track a file with its rename ones. For example, a file is called "test_lecture", and then rename to "python_data_analytics". I want to track all the commits for the files if possible.
I use
Repo.iter_commits
currently, which requires ongit rev-list
command, a complicated command(https://stackoverflow.com/questions/64397278/understanding-git-rev-list).I have noticed that
git log
with--follow
and--find-renames
(https://www.zhihu.com/question/531483642/answer/2472733253) may work. Or are there any API based on it can be used?The text was updated successfully, but these errors were encountered: