DEV Community

loading...
Cover image for OMGit! Git Commands Quick Reference

OMGit! Git Commands Quick Reference

andreiabohner profile image Andréia Bohner ・1 min read

I created a repository dedicated to collect Git commands that I find useful along the way of my development adventures:

https://github.com/andreia/OMGit

Adventure Time!

I hope you find something useful on it :)

A command I recently learned that you can use to time travel on your local Git repository:

git reset --hard HEAD@{10.minutes.ago}
Enter fullscreen mode Exit fullscreen mode

Time travel with Git

If you have a Git command to share I would love to hear about it!

Discussion (0)

pic
Editor guide