Re:Modern Git Commands and Features You Should Be Using
by cassianoleal on Monday April 01, 2024 @04:02AM
(#39891777)
What 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.
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.