Skip to content

Instantly share code, notes, and snippets.

View rdwivedi's full-sized avatar

Ritesh Dwivedi rdwivedi

  • Three Tier
  • Gurgaon
View GitHub Profile
@ayan-b
ayan-b / c-cpp-oops.md
Last active February 13, 2026 07:15
C, C++ & OOPS for Interviews
@olegafx
olegafx / git_commands.sh
Last active January 24, 2021 10:57
Useful git commands
# Save branch history and revert easily
git merge --no-ff
git revert -m 1 <hash>
# Show n lines of context around diff lines instead of the usual +/- 3
git diff -U<n>
# Check which branches are merged
git branch --merged