Table of Contents


Migrating from Mercurial to Git (and from Bitbucket to GitHub)

See this article.

Migrating from Team Foundation Server to Git

Use git-tfs.

Get a list of authors (including emails) from a repo

git shortlog --summary --numbered --email

Change current branch

# clear way (Git 2.23+)
git switch <branch_name>

# original, obscure way
git checkout <branch_name>