Skip to content
View gauravlab01's full-sized avatar

Block or report gauravlab01

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gauravlab01/README.md

gauravlab01

git clone https://github.com/gauravlab01/gauravlab01.git gauravlab01

cd gauravlab01/

git remote -v #this command to check clonned repository

git init

git add README.md

#run below 2 commands if performing commit for first time on machine

command-1 git config --global user.email "[email protected]"

command-2 git config --global user.email "gauravlab01"

git commit -m "first commit"

git branch -M main #here you can define default brance to upload newly changed file, you can write master insted of mail

git remote add origin https://github.com/gauravlab01/gauravlab01.git #command to reconfirm that repo is added

git push -u origin main #after this command we must provide user name and auth token

git git push -u origin HEAD:master #if you want to upload newly changed file to master branch then use this command #syntax - git git push -u origin HEAD:<branch_name>

Popular repositories Loading

  1. Simple-DevOps-Project Simple-DevOps-Project Public

    Forked from yankils/Simple-DevOps-Project

    Dockerfile

  2. hello-world hello-world Public

    Forked from yankils/hello-world

    Java

  3. gauravlab01 gauravlab01 Public

    Config files for my GitHub profile.

    Dockerfile

  4. ansible_for_beginners ansible_for_beginners Public

    Forked from yankils/ansible_for_beginners

    HTML

  5. ansible ansible Public

    Forked from yankils/ansible

  6. gaurav-ansible gaurav-ansible Public