-
Book Overview & Buying
-
Table Of Contents
Tools and Skills for .NET 10 - Second Edition
By :
In this section you will learn how to start a Git repository, how to add files to it, how changes are tracked, how to commit files, how to undo commits, and how to stash and ignore files.
Ignoring the tool you use to do so, there are two ways to start with a Git repository:
To clone an existing repository into a directory, create and change to the target directory, and then use the clone Git command, as shown in the following command:
git clone https://github.com/markjprice/tools-skills-net10
To initialize a repository in a local non-Git directory, change to the directory, and then initialize a Git repository in that directory, as shown in the following command:
git init
The init Git command creates a new hidden subdirectory named .git that contains the needed Git repository files...