# NOT RUN {
git_default_branch()
# }
# NOT RUN {
git_default_branch_configure()
# }
# NOT RUN {
git_default_branch_rediscover()
# you can always explicitly specify the local branch that's been playing the
# role of the default
git_default_branch_rediscover("unconventional_default_branch_name")
# }
# NOT RUN {
git_default_branch_rename()
# you can always explicitly specify one or both branch names
git_default_branch_rename(from = "this", to = "that")
# }
Run the code above in your browser using DataLab