version

git version


help

git help


config

git config


init

git init


clone

git clone


adding the folder

git add.


show the status

git status


copy

git rm


remove the folder

git restore


commant out

git commit


log

git log


show the folder

git show


push

git push


pull

git pull


branch

git branch



follow the command line

user

Remove for user id

git config --list--show-origin

Creating for user name

git config --global user.name" "

Creating foe user email

git config --global user.email" "


File is going on github

pwd:

cd e:

cd file name

cd folder

git init

git status

git add filename.name

git add.

git status

going for unworking to working

git rm--cached file.name

show the location

git status

Add the all folder

git add.


Changing for code in side

git status

git restore file.name

git status


There are three types of github area


Clone and pull

git clone

git add.

git status

git commit -m"file.name modified added m2()

git status

git push -u origin

git push


Branch

git branch

git branch dev

git checkout dev

git branch

status

add.

git commit -m "new file added working new branch"

git status

git checkout main>

merge dev

git add.

commit -m "new file added by working in new branch dev later merge"

git status

git push origin main

check the history

git log

see the history

git log commit

git show