Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WCS - Git/Github 5 - Revert
flo@kubuntu:~/Documents/Wild Code School/quests/Git/my-website-oops$ git log --oneline
5d2a82d (HEAD -> master) added some content
94ccae9 modified title
7e4878a created index.html
flo@kubuntu:~/Documents/Wild Code School/quests/Git/my-website-oops$ git revert HEAD
[master 3d41213] Revert "added some content"
1 file changed, 11 insertions(+), 13 deletions(-)
rewrite index.html (71%)
flo@kubuntu:~/Documents/Wild Code School/quests/Git/my-website-oops$ git log --oneline
3d41213 (HEAD -> master) Revert "added some content"
5d2a82d added some content
94ccae9 modified title
7e4878a created index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment