brename icon indicating copy to clipboard operation
brename copied to clipboard

Please integrate with git

Open yurivict opened this issue 3 years ago • 2 comments

If renamed files are in the git repository, run git mv instead of just mv.

brename can auto-detect that (1) the git program is present (2) directory is inside of the git repository and (3) files are members of that repository. Then braneme should warn the user that it can either just rename files, or rename them as members of the git repository.

If -g (git integration) flag is given, brename would just run git mv on qualifying files.

yurivict avatar May 26 '21 21:05 yurivict

We did not call shell mv.

For now, you may use a combination of fd/find + parallel + git mv.

shenwei356 avatar May 27 '21 00:05 shenwei356

You can simply add an argument for "rename command".

For example, -c mv would be equivalent to the current behavior. And -c 'git mv' would perform git-rename.

yurivict avatar Dec 08 '21 00:12 yurivict