Git Notes Practice Commands
Git Notes Practice Commands
Staging Area:
Working Directory:
-------------------------------------------------------------------
Some imp commands:
---------------------------------------------------------------------------
--------------------------------------------------------
3. The status command is used to display the state of the working directory and the
staging area.
git status
----------------------------------------------------------------
4. This command is used to add one or more files to staging (Index) area.
----------------------------------------------------------------
------------------------------------------------------------
git log
-------------------------------------------------------
git branch
-----------------------------------------------------------
---------------------------------------------------
-------------------------------------------------
BRANCH:
----------
-> will create one our own branch ..then will do commit and push to that branch
from there will rise PR(pull request) to merge into master/main branch.