Skip to content

minor tweaks #1

@Auburngrads

Description

@Auburngrads

Reading over git-tutorial.Rmd wanted make a few recommendations

  1. Didn't see a reference to define an origin for the newly created repo using either https or ssh
  • git remote set-url origin https://github.com/username/reponame.git
  • git remote set-url origin git@github.com:username/reponame.git
  1. For Windows users it's much easier to install git using the installr package

install.packages('installr')
installr::install.git(version = 64)

  1. Also, there's no problem using git on windows from the command prompt (just need to make sure that git.exe is on the system's path). This gives the added benefit of using git from within R using shell()
  • shell('cd path/to/repo & git add --all & ...')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions