Git tips

Git commands

Update git version

Integrate a submodule into the parent repository

Git command

  • git --version Display the git version used

Git undoing things

  • https://blog.github.com/2015-06-08-how-to-undo-almost-anything-with-git/
  • https://www.atlassian.com/git/tutorials/undoing-changes

Rebasing in gitkraken

  • https://www.youtube.com/watch?v=-3yqteu-pLM

Change remote url without hacking .git/config file

  • git remote set-url origin https://wwwwgithub.com/awesome/awesome-project
Written on February 24, 2017