Pandiyan Mani
Aug 17, 2021

--

Basic Git Command

—-Basic command for pushing code to git — —

git init

git add .

git commit -am “Message here”

git remote add origin httpurl

git push -u origin master

git push -f origin master

— — To Push on Sub Branch — -

git push origin master:branchname

— — Branch Creation — —

git branch branchname

git checkout branchname

— — To see all branches — -

git branch

--

--