git commands

git

git config list: view all items of list

git config user.name: view username

git config user.email: view username

git config --global user.name "username": "username"

git config --global user.email "email": "email"

git init : initialize git and starts tracking

git  status: views current status of git 

git add --a: add all of items for staging

git add first.txt: add only first.txt for staging

git commit -m "message": commits with given msg

git log: shows logs of all commits made 

rm -rf .git: deletes .git folder, wont be git repository anymore

git clone url: creates the directory and pull all the content of it locally














 


Comments

Popular posts from this blog

python

flutter