3 ms·
I think you're asking for 'git switch -d' (for detached). In practice you will still need 'git reset' but only with a branch parameter (all 'git reset -- paths
by remram 2y ago
I think you're asking for 'git switch -d' (for detached).
In practice you will still need 'git reset' but only with a branch parameter (all 'git reset -- paths' can be replaced with 'git restore'), usually with --keep, --soft, or --mixed.