Git Information

PHOTO EMBED

Wed Apr 12 2023 00:24:01 GMT+0000 (Coordinated Universal Time)

Saved by @MuhammadAhmad #spreadoperator

ls(Get list from current folder)
cd(To change directory)
cd .. (Back to folder)
mkdir( Make any folder)
rm (For remove)
pwd ( Print Directory Path )
mv ( To rename any folder)
touch indec.html style.css script.js (Makes files)

What is Git

{To start local repositry to write (git init)}

Git is simply version control of code we can get previous version of code.

(git log) to check all commits which have done in local repository(.git) which 
has snaps of your versions of code 
 

git checkout "241252154125125125125" (if we want to go previous version of code)
 
git checkout master ( To go to current version of code)

git branch branchname (It wil create branch) 

git log --oneline --all --graph  
content_copyCOPY