git status:
This command is used to check whether any changes happen in the working directory
git --version:
This command is used to check the version of the git after installation
command for install git in Linux terminal:
sudo apt - get install git
*git add . *-> This command used to add the file to the staging area from the local system
git config -> It is used to configure the user name to the git file for tracking by setting the user name and email then only we able to conflict the file to local repository before stage of remote repository
git config --global user.name "Selvakumar"
git config --global user.email "rselvakumar192001@gmail.com"
*git commit *-> This command used to commit the required file in the local repository
command git commit -m "provide some valuable message to commit"
git push -> this command is used to push the file from the local repository to remote repository (Git lab)
Top comments (0)