Skip to content

KARTHIKBAIRI/gitcommands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitcommands

this is the complete gitdemo

give credentials

=> git config --global user.name "karthik" => git config --global user.email "karthikbairi37@gmail.com"

to check credentials

=> git config --ls

clone data from github to our local system

->open vscode and any folder, now in the termial go to the folders path and enter, => git clone

To check the current status

=> git status

After modifying data to track the changes by git & add it to git staging area,follow these 2 steps:

  1. add => git add => To add all files once "git add ."
  2. commit => git commit -m "some message"

Update remote or git repository from local repository

=> git push origin main

About

this is the complete gitdemo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published