reflogs
play

Reflogs Sign in on the attendance sheet! How to Undo Things - PowerPoint PPT Presentation

Lecture 10 Dumpster Diving in Git: Reflogs Sign in on the attendance sheet! How to Undo Things Accidental Merge How to Undo Things Fix messed up master How to Undo Things Made a commit on the wrong branch (master instead of


  1. Lecture 10 Dumpster Diving in Git: Reflogs Sign in on the attendance sheet!

  2. How to Undo Things • Accidental Merge

  3. How to Undo Things • Fix messed up master

  4. How to Undo Things • Made a commit on the wrong branch (master instead of my-feature)

  5. Reflogs • An ordered list of all of the changes to branch tips (and other references) in the local repository. • Also try git log -g

  6. Using The Reflog to Recover History

  7. Using The Reflog to Recover History • The commit we made is now dangling

  8. Using The Reflog to Recover History

  9. Git Fsck • What if the reflog is deleted or garbage collected? • Stashes that got popped off with git stash pop or git stash drop appear here

  10. Tags

  11. Search for a Specific Tag

  12. Creating and Sharing Tags git push origin mytag to share

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend