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 @.


PredictiveEcology/Require documentation built on Nov. 5, 2024, 12:57 p.m.