gitGraph
commit
commit
branch new_feature
checkout new_feature
commit
commit
checkout main
merge new_feature
commit id: "5-106eefa"
commit
gitGraph
commit
commit
branch new_feature
checkout new_feature
commit
commit
checkout main
merge new_feature
commit id: "5-106eefa"
commit
## install.packages("usethis")
library(usethis)
use_git_config(user.name = "Your Name", user.email = "email@example.org")
#configure the default branch name
usethis::git_default_branch_configure()
#Create token
#I highly recommend selecting “repo”, “user”, and “workflow” scopes (the default ones)
usethis::create_github_token()

Carlos Matos // ISPUP::R4HEADS(2023)