Skip to content

Enhance git tricks with reflog and checkout tips#228

Merged
uekerman merged 3 commits into
Simulation-Software-Engineering:mainfrom
elshereif:patch-2
Oct 27, 2025
Merged

Enhance git tricks with reflog and checkout tips#228
uekerman merged 3 commits into
Simulation-Software-Engineering:mainfrom
elshereif:patch-2

Conversation

@elshereif

Copy link
Copy Markdown
Contributor

Description

This pull request updates 01_version_control/my_favorite_neat_little_git_trick_demo.md by adding two practical Git tipss:

  • Using git reflog to recover from a bad rebase/merge and restore a previous state.
  • Using git checkout <branch_or_sha> -- <path> to copy a single file from another commit/branch without switching HEAD.

Checklist

  • I made sure that the markdown files are formatted properly.
  • I made sure that all hyperlinks are working.

Comment thread 01_version_control/my_favorite_neat_little_git_trick_demo.md
@uekerman
uekerman merged commit 4ae08d6 into Simulation-Software-Engineering:main Oct 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants