Help git module work when working in 'no branch' scenario
Detect when on a 'no branch' branch. If so, checkout the HEAD branch as reported by 'git remote show <remote>'. That should put the repo back on a branch such that git can then merge changes as necessary. In addition, removed hard-coded references to origin and replaced with remote var.
Showing
Please
register
or
sign in
to comment