Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
This course is a gateway to learning software version control (SVC), process management, and collaboration techniques. Author Michael Lehman reviews the history of version control and demonstrates the fundamental concepts: check-in/checkout, forking, merging, commits, and distribution. The choice of an SVC system is critical to effectively managing and versioning the assets in a software development project (from source code, images, and compiled binaries to installation packages), so the course also surveys the solutions available. Michael examines Git, Perforce, Subversion, Mercurial, and Microsoft Team Foundation Server (TFS) in particular, describing the appropriate use, features, benefits, and optimal group size for each one.
All right, let's create a Git repository. Git repositories, unlike TFS and Subversion, actually live in the directory with your files. There is no separate repository directory. All right, so let's create a directory to store our Source Code files. We'll create mkdir g1, then we'll put CD into there, and we'll say git init. That initializes that empty repository. We can validate it by saying git status, and it says nothing to commit, and that's all there is to creating a Git repository.
If we do git dir/a, you can see that there is a hidden directory here called .git, where all of the metadata is stored. What's important is that if you want to backup a Git repository with all the history, you backup the entire directory here with all your Source Code files, including this .git folder. So depending on the compression tool you're using, make sure that after you've made the ZipBackup or the 7zbackup that, that folder is actually in your archive. And that's it, that's all there is to creating a Git repository. Let's move on to creating some files and doing some check-ins and check-outs.
There are currently no FAQs about Fundamentals of Software Version Control.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.