Git Basic Commands - Tecnew

Home Ads

Git Basic Commands

Git Basic Commands

Share This

 Git Basic Commands


1. git clone url     - For the first time pulling the project to local system from central repository

2. git pull origin master     -For next time you have pull from central repository to local system

    Do some modifications on files and add the files to the staging area and then commit and push in to central repository

3. git add .      - Adding the files to the staging area 

4. git commit -m "Commit message"     -Commiting the added files with message

5. git status     -Check status any un tracked files in the working area

6. git push origin master    -Push in to the central repository

 

No comments:

Post a Comment