3 ms·
Still amazed there's no "git cp". the workarounds involve rebases and aren't practical.
by yablak 3y ago
Still amazed there's no "git cp". the workarounds involve rebases and aren't practical.
- cassianoleal 3y agoWhat do you mean by "git cp"? I have that aliased to "cherry-pick". If you mean to copy a file/directory and stage it in the process (like "git rm" does for deleting), there's no need to rebase. Just copy the thing and stage it. If it's something else, then the 2 paragraphs above might be a hint towards why there isn't one.