Check the available files .

Make a directory

After creating the directory , now check the list.

Now , go to the created directory.

Initialize the git in that folder.

Add github url as origin

Pull the github url (here we have given name as orgin) and the branch is master.

Now check the list .

Create a file and add some data to that file.

Check the git status .

Add a file to git .

After the above operation , check the status.

If we cant to clean the git .

Adding some more files.

Check the git status

To add multiple files to git use the following command.

we are going to commit the file with the following options.

  • -a => Interactive mode.
  • -m => messeage.

Now push the code to git.

Leave a Reply

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