Configure Git
This lesson is called Configure Git, part of the Using Git and GitHub with R course. This lesson is called Configure Git, part of the Using Git and GitHub with R course.
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Configure Git by adding a user name and email to your profile using the use_git_config()
function from the usethis
package.
If you have trouble getting git configured to work on your local computer, we have seen that installing GitHub Desktop can help. Here’s an explanation of how this works.
Have any questions? Put them below and we will help you out!
Course Content
26 Lessons
1
Why Use GitHub vs Dropbox, Google Drive, Box, etc?
03:15
2
Dealing with Common Problems: Can't Pull Code from GitHub
08:05
3
Dealing with Common Problems: Merge Conflicts
05:24
4
Dealing with Common Problems: Can't Push Code to GitHub
04:38
5
Let's Keep Bad Things from Happening in the First Place
02:45
You need to be signed-in to comment on this post. Login.
Julieth Silao • October 6, 2022
use_git_config(user.name = "Julieth Silao", user.email = silaojulieth@gmail.com) Error in list2(...) : object 'silaojulieth' not found
Chelsea Ruder • April 21, 2023
This is the error I am getting:
Error in libgit2::git_config_set_string : failed to create locked file 'H:/.gitconfig.lock': The network path was not found.
Amanda Braley • April 25, 2023
I'm on a company lap top where you helped me redirect my package storage. Upon trying to update package and install "usethis", I have an error that says "Error in install.packages : ERROR: failed to lock directory ‘C:\Users\braley\Documents\RPackages’ for modifying Try removing ‘C:\Users\braley\Documents\RPackages/00LOCK’" I need help learning how to remove and then, I assume, replace the 00LOCK :)