Learn R Programming

Require (version 1.0.1)

masterMainToHead: This converts master or main to HEAD for a git repo

Description

This will also convert a git repo with nothing after the @ to @HEAD

Usage

masterMainToHead(gitRepo)

Value

The git repository with @HEAD if it had @master, @main or no @.

Arguments

gitRepo

A git repository of the form account/repo with optional @branch or @sha or @tag