Back to Blog
Install git debian 106/14/2023 ![]() I am going to create a new Git repository on my local filesystem, and start developing a simple Node.js project on that repository and use Git to track changes in my project. In this section, I am going to show you the basic Git workflow. A commit has information such as a title, description, author name, email, hash etc. You will have to add the file to the staging area again for you to be able to commit it.Ĭommit: It is keeping a snapshot of the files that are in the staging area. Modified: If you add a file in the staging area, and modify the file again before committing, then the file will have a modified status. The files in the staging area is called staged files. Staged: Before you commit your changes to the Git repository, you must add the files to the staging area. Tracked: If you want Git to track a file, then you have to tell Git to track the file manually. gitweb is a git web interface written in Perl, and can be used as a CGI. Unless you tell git to track it, Git won’t track a file. Well, well focus on how to install git and gitweb on the Debian distribution. Untracked: If you create a new file on your Git repository, then it is called an untracked file in Git. ![]() Repository: It is a directory on your local computer or a remote server where all your project files are kept and tracked by Git. In order to understand Git, you should be familiar with some of the common Git terms. ![]() As you can see, the global user.name and user.email is correctly set. ![]()
0 Comments
Read More
Leave a Reply. |