Skip to content

Instantly share code, notes, and snippets.

@barthflo
Created September 18, 2020 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barthflo/ca4b210b9b6b4a4cda898e74ca64ff38 to your computer and use it in GitHub Desktop.
Save barthflo/ca4b210b9b6b4a4cda898e74ca64ff38 to your computer and use it in GitHub Desktop.
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