From the course: Designing and Implementing Source Control using GitHub and Azure DevOps
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Configuring Git LFS
From the course: Designing and Implementing Source Control using GitHub and Azure DevOps
Configuring Git LFS
- [Instructor] Let's look at the steps required to enable Git LFS in our repository. You'll need this when working with Git repositories in both GitHub and Azure DevOps. Navigate to the working folder and let us add a large file. So let us create a new folder, call it assets, and then add a large file. You can see here that this video file is over 100 megabytes big. That makes it too large for comfortable commit and pull operations. Now let us try to add this file to our source control by first doing a git add. This may take a little while, because it's now adding the large file and basically copying it over. When we do a git status, we'll see that this file is being tracked. So we can go ahead and do a git commit and I'll just add a commit message. Doing this will make the file a part of the repository and this large file will be in the history for the rest of the lifecycle. A git push will then try to push this…