Narrator Let's begin our exploration of Git, by gaining an understanding of what it is and what it can do for you. Git is software that keeps track of changes that you make to files and directories. And it's especially good at keeping track of text changes. Let's imagine that you have a document. You start with version 1 of that document. You make some changes to it, now you have version 2.
![]() ![]()
SourceTree is a free client for Git or Mercurial from the team at Atlassian and is available for Windows or Mac. Similar to Tower, SourceTree gives you full functionality for working with your Git repos, local and hosted. It's a good option for those new to version control, but also meets the needs of the power users. On Mac, on Mavericks (10.9) or above, try to run git from the Terminal. If you do not have Git installed already, it will prompt you to install Xcode Command Line.
And you make some more changes and you now have version 3. Git keeps track of those three different versions for you.
It allows you to move back and forth between the versions. And to compare the different versions to see what changed.
Git is referred to as a version control system or VCS for short. Git's not the first version control system ever created, there've been others. And almost all of them had one primary purpose, to manage source code.
Programmers wanted a way to be able to track the changes that they made to computer code over time, as they added features and as they fixed bugs. Learn how to use Git, the popular open-source version control software, to manage the source code for almost any project. In this course, Kevin Skoglund explores the fundamental concepts behind version control systems and the Git architecture. Using a step-by-step approach, he shows how to install Git and presents the commands that enable efficient code management. Learn how to add, change, and delete files in the repository; view a log of previous commits; and compare versions of a file. Plus, see how to undo changes to files and ignore certain files in a Git repository.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |