git push origin HEAD - push the current branch to branch with the same name on the server
git push -u origin HEAD - the same, just set upstrem tracking
git remote set-url origin git@github.com:username/repo.git - change the remote
git branch --no-merged - Show branches not merged into master
eval $(ssh-agent) # starts the ssh agent on win7, win8
ssh-add /c/Users/Vlada/.ssh/id_rsa # add the key for which you want to disable entering password on every push/pull
git for-each-ref --sort=-committerdate --format='%(committerdate:relative)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'
git update-index --assume-unchanged <file>
Then if you wanna track changes again
git update-index --no-assume-unchanged <file>
git rm --cached <file|folder>
then add it to .gitignore
then commit everything
NOTE - when you run git status after git rm --cached, it will show files as deleted, but it doesn't delete them on your disk, just from git.
BUT that means that other people who have those files will LOSE them when they pull!
~/git-big-picture ./ -o ~/cl.pdf
sudo chown -R $USER /usr/local
git hours --first-commit-add 15