Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ sharezza-oops git:(master) ✗ git add index.html
- ➜ sharezza-oops git:(master) ✗ git commit -m "update title"
- [master db3c2cb] update title
- 1 file changed, 1 insertion(+), 1 deletion(-)
- ➜ sharezza-oops git:(master) gst
- On branch master
- nothing to commit, working tree clean
- ➜ sharezza-oops git:(master) gst
- On branch master
- Changes not staged for commit:
- (use "git add <file>..." to update what will be committed)
- (use "git restore <file>..." to discard changes in working directory)
- modified: index.html
- no changes added to commit (use "git add" and/or "git commit -a")
- ➜ sharezza-oops git:(master) ✗ git add index.html
- ➜ sharezza-oops git:(master) ✗ gst
- On branch master
- Changes to be committed:
- (use "git restore --staged <file>..." to unstage)
- modified: index.html
- ➜ sharezza-oops git:(master) ✗ git commit -m "add paragraphs"
- [master 4b9cedc] add paragraphs
- 1 file changed, 2 insertions(+), 1 deletion(-)
- ➜ sharezza-oops git:(master) gst
- On branch master
- nothing to commit, working tree clean
- ➜ sharezza-oops git:(master) git log --oneline
- ➜ sharezza-oops git:(master) git log --oneline
- ➜ sharezza-oops git:(master) git revert HEAD
- [master 067f8c9] Revert "add paragraphs"
- 1 file changed, 1 insertion(+), 2 deletions(-)
- ➜ sharezza-oops git:(master) git log --oneline
- ➜ sharezza-oops git:(master)
- ➜ sharezza-oops git:(master)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement