Create a file in the git work space named .gitignore to ignore
git add . // It will add all files in the current directory to loc
git log --oneline //It will list only the commit ID and commit messages
git log -1 //It showonly the first line of the log
git log --grep keyword
git branch //List the branch of the existing directory
git branch new branch //creating a new branch
git checkout newbranch //switching current branch to new branch
git branch -d branchname // To delete a branch
git merge branchname
git stash // This command move re
git stash list
git stash clear
git revert // Revert the commit ID that recently published
git reset // Before commit, the changes will be reset
git rm filename //to remove the file from work space
git tag