Advertisement
juliusDum

Untitled

Mar 15th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. ➜ sharezza-oops git:(master) ✗ git add index.html
  2. ➜ sharezza-oops git:(master) ✗ git commit -m "update title"
  3. [master db3c2cb] update title
  4. 1 file changed, 1 insertion(+), 1 deletion(-)
  5. ➜ sharezza-oops git:(master) gst
  6. On branch master
  7. nothing to commit, working tree clean
  8. ➜ sharezza-oops git:(master) gst
  9. On branch master
  10. Changes not staged for commit:
  11. (use "git add <file>..." to update what will be committed)
  12. (use "git restore <file>..." to discard changes in working directory)
  13. modified: index.html
  14.  
  15. no changes added to commit (use "git add" and/or "git commit -a")
  16. ➜ sharezza-oops git:(master) ✗ git add index.html
  17. ➜ sharezza-oops git:(master) ✗ gst
  18. On branch master
  19. Changes to be committed:
  20. (use "git restore --staged <file>..." to unstage)
  21. modified: index.html
  22.  
  23. ➜ sharezza-oops git:(master) ✗ git commit -m "add paragraphs"
  24. [master 4b9cedc] add paragraphs
  25. 1 file changed, 2 insertions(+), 1 deletion(-)
  26. ➜ sharezza-oops git:(master) gst
  27. On branch master
  28. nothing to commit, working tree clean
  29. ➜ sharezza-oops git:(master) git log --oneline
  30. ➜ sharezza-oops git:(master) git log --oneline
  31. ➜ sharezza-oops git:(master) git revert HEAD
  32. [master 067f8c9] Revert "add paragraphs"
  33. 1 file changed, 1 insertion(+), 2 deletions(-)
  34. ➜ sharezza-oops git:(master) git log --oneline
  35. ➜ sharezza-oops git:(master)
  36. ➜ sharezza-oops git:(master)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement