Showing posts with label GIT Hub. Show all posts
Showing posts with label GIT Hub. Show all posts

Saturday, 21 January 2017

GIT Hub - Commands


Install GIT Setup in Windows or Linux OS.

Right Click and you can see option Git Bash here. Click on it you will get a git command prompt.

Few Basic Commands.

1. To Know the Status

    Command: git status

2. To Add Files to Git Repository

    Command: git add --a

3. To Commit the Files to Repository

   Command: git commit -am <Comments>
 
   Example:     git commit -am "Modified ReadMe file"

4. To Pull the Files from Repository

    Command: git pull
 
    It will ask for the password provide and proceed further.

5. To Push the Files to Repository

    Command: git push

     It will ask for the password provide and proceed further.

6. Go to your GIT Repository and check for the modifications you have done are reflected or not.

Thank You!!!!


Happy Learning!!!!


GIT Hub - Hello World

Have a GIT Account? -- If yes Login to it or Signup and login to it. 



Creating a Repository







Create a Branch





Do Some Edits and Commit











Open a Pull Request













Merge Pull Request (Merge Branch into Master)







Delete the Branch









Thank You!!!!


Happy Learning!!!!