Skip to content

Git

Common procedures

Remove git submodules

Revert a commit in the past

tldr;

  • git revert COMMIT
  • or, for a range of changes: git revert COMMIT_R0..COMMIT_Rn.

External resources:

References

  • Using Git submodules: No matter how less I want to use Git modules, I seem to need them all the time. Most of the time, whenever I use a program like Hugo which has external extensions, I end up needing submodules.