Category Archives: Git

How to amend not latest commit message in pushed branch

git rebase -i HEAD~3 Replace pick with reword Press Esc then :x! to save and close Change commit message Press Esc then :x! to save and close git push –force origin feature branch

Posted in Git, Uncategorized | Leave a comment

How to add SSH Key to GitLab

There is a good document about how to create ssh key for gitlab https://docs.gitlab.com/ce/ssh/README.html I assume everyone who works with Git on Windows also has Git Bash installed, so I just want to quickly recap what is written in that … Continue reading

Posted in Git, GitLab, Uncategorized, Windows | Leave a comment