Git Notes

Tags

How to delete a local tag

git tag -d tagname

How to delete a remote tag

git push origin :tagname

Save Credentials

In Windows

Rebase 2 Commits

For example, to rebase the last 2 commits on branch xyz-123 onto master

git checkout xyz-123
git rebase --onto master HEAD~2

Git Interactive Playground

List What Changed Between Two Time Fames

git whatchanged --since="march 6 2015" --until="march 15 2015" | cat