clone: set refs/remotes/origin/HEAD when branch is specified
When a branch is specified to check out in clone, update the remote tracking `HEAD` to point to it. This mimics git's behavior, when `git clone -b <name>` is used.
Showing
Please
register
or
sign in
to comment