This is the official Repository for the Event of Git & GitHub introduction Conducted by the Verge Team in SRM University on 1st October 2022 (Saturday).
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
-
Git init
This command is used to initialise a workspace in your local system which enables to use the git features in our project.
$ git init
-
Git remote add origin
This command is used to link the remote repository to our local repository.
$ git remote add origin <your remote repository link>
-
Git Branch
This command is used to list all the branches in our local system.
$ git branch
Note: -r flag is used to fetch the branches of our remote repository.
$ git branch -r
-
Git Chekcout
This command is used to switch the branches in your git project.
$ git checkout <Your Branch name>
-
Git Add
To add all the files in the stage area
$ git add .
To add a single file in the stage area.
$ git add <your file name.extenion>
- Git Commit
$ git commit -m "<your message>"
- Git Push
$ git push
- Git Pull
$ git pull
Stay tuned our team is working on this. with you all shortly.