Skip to contents

Add/delete/check git remote push urls

Usage

git_add_multiple_push_remote(
  path = ".",
  gitee_user = NULL,
  github_user = NULL,
  repository = basename(R.utils::getAbsolutePath(path)),
  branch = "origin"
)

git_delete_push_remote(
  path = ".",
  gitee_user = NULL,
  github_user = NULL,
  repository = basename(R.utils::getAbsolutePath(path)),
  branch = "origin"
)

git_show_remote_origin(path = ".", branch = "origin")

Arguments

path

default is current working space

gitee_user

default is "soilmicro"

github_user

default is "gaospecial"

repository

default is the directory name

branch

default is "origin"

Value

a warning or message