Sushil For git tutorial
- echo "# git_tutorial" >> README.md
- git init
- git add README.md
- git commit -m "first commit"
- git remote add origin https://github.com/sushildangi/git_tutorial.git
- git push -u origin master
- echo "# git_tutorial" >> README.md
- git init
- git add README.md
- git commit -m "first commit"
- git remote add origin [email protected]:sushildangi/git_tutorial.git
- git push -u origin master
- git config --global user.name "Sushil Dangi"
- git config --global user.email "[email protected]"
- git config --list
- git config user.email
- git init
- git add .
- git commit -m "commit message"
- git log
- git log --author="name"
- git status
- git diff
- git diff --staged
- git rm filename
- git mv old_file_name new_file_name
- git mv old_file_name folder_name/new_file_name
- git commit -am "Message"
- git checkout -- filename
- git reset HEAD filename
- git checkout <version No> -- filename
- git branch branch_name
- git branch
- git checkout branch_name