![]() ![]() ![]() Changes can be a single line, files, or parts of files. ![]() This holds the changes which you would like to commit. Staging Area: Git has the concept of a staging area, where all the updates/changes are tracked.a list of files changed, list of tracked changes on staging, untracked changes on local, and information about current branch & commits. The git status is another must-know command that returns information about the current state of the repository. Once done, the git repository will look like the below image: Each file contains the data of only two customers( Name, Email, etc.)ĬustomerData_IND CustomerData_UK CustomerData_US Download the following files and copy those into the project folder. We will be covering the following git commands:īefore using the above commands, we should have some files in the git repository project. This tutorial is all about working with a local repository and tracked/untracked changes. Repository: Remote Repository, where Git permanently stores changes as different versions of the project.Staging Area: Tracked Local Repository, where you'll list changes you make to the working directory.Working Directory: Local Repository, where you'll be doing all the work like creating, editing, deleting and organizing project files.A Git project can be thought of as having three parts: Now that we have a Git project, it is time to start working with it too. In the previous tutorial of Create a Git Repository, we learned to create a new git repository for the project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |