GIT
$ git add .
git commit -m "first commit"
$ git branch [branchName]
$ git branch -d [branchName]
$ git checkout [branchName]
$ git checkout -b [newBranch]
$ git pull [branchName] [remoteURL/remoteName]
$ git remote add origin [url]
$ git config --global user.name [name]
$ git config --global user.email [email]
$ git rm -r --cached .
git add .
git commit -am "remove ignored files"
$ git push [remoteURL/remoteName] [branch]
$ git rm --cached [fileName]
$ git rm -r --cached [directoryName]
$ git rm -r -f [fileName]
$ git push origin :[branchName]
Copied to clipboard