Download Now
git config --global user.name [your name]
git config --global user.email [[email protected]]
git init
touch .gitignore
git add [file-name]
git add -A
git rm --cached [filename]
git reset [file name]
git commit -m "[commit name]"
git status
git log
git log -p -1
git checkout [filename]
git checkout -f
git diff
git diff --staged
git commit -a -m "[commit name]"
git rm [filename]
git rm --cached [filename]
git branch [branch name]
git checkout [branch name]
git branch - M [new branch name]
git branch
git checkout -b [branch name]
git merge [branch name]
git remote add origin [URL.git]
git remote -v
git remote set-url origin [URL.git]
git push origin [branch name]
git push -u origin [branch name]
git push
git pull
git clone [UR.git] [folder name]