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

View source: R/pkgDep.R

masterMainToHeadR Documentation

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)

Arguments

gitRepo

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

Value

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


Require documentation built on Sept. 11, 2024, 7:55 p.m.