2020 m. gruodžio 18 d., penktadienis

git branch

Change branch to different commit
$ git branch -f bugFix <commit hash>

# Deleting branch
$  git push origin --delete gh-pages

Change master to commit
$ git reset <commit hash>

Move head up 2 commits
$ git checkout HEAD~2