Basic Git Commands and Usage

Now let’s come to the part where you will connect your project file to the git repository. First, right-click on your project file, click git bash and open the command line, then enter the “git init” command. In this section, you may encounter a warning in some IDEs (such as Android Studio) that you ne! to make Git project settings. You must !it these settings to continue. For another step, you should enter the “git status” command. This command will show you all the changes made since the last save. However, if your project file is new and you have not made any saves before, every file in your project file will appear as a new change.

The next Git Commands thing you will do

 

is to add your files to the save list recent mobile phone number data  and save them. To do this, you ne! to use the ‘git add .’ command. In fact, this command is normally us! by writing the name of the file you want to add without a period at the end, as in ‘git add fileName’ . When you want to save a file what is the e-commerce law? what does it cover?  at the end of the files without a period, you only specify the file you want to add. The first thing we specifi!, the period at the end, means that all the files in your project file are add!.

After adding the files

 

you can do the commit process you ne! to do with the command ‘git commit -m “first record”‘ . After using this command, you can see lines indicating that all the files you add! in your project folder have been committ! to GitHub one by one. After completing this process, we can say that you now have a Git european union email list  repository on your computer for a project. And this means that you can now make as many changes and play around with your project as you want. Because now, no matter how much damage there is in your project, it is possible to return it to its previous state or to an earlier state!

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top