Skip to content

Instantly share code, notes, and snippets.

View tamalCodes's full-sized avatar
🎃
Building cool stuffs

Tamal Das tamalCodes

🎃
Building cool stuffs
View GitHub Profile
@tamalCodes
tamalCodes / ComparingBranches.md
Last active June 14, 2023 04:02
My way to compare and update to 2 branches

Steps followed

  • Go to the main branch: git checkout main
  • Then run : git fetch origin main
  • Go to other branch and run : git merge --no-commit --no-ff origin/main

Commiting it

The --no-commit option prevents Git from automatically committing the merge changes, which gives you an opportunity to review the changes and resolve any conflicts that may arise.

The --no-ff option forces Git to create a new merge commit instead of fast-forwarding the child branch to the parent branch. This ensures that the child branch history remains separate from the parent branch history.

@tamalCodes
tamalCodes / Interviews.md
Last active December 29, 2022 20:29
This is a gist containing some helpful resources for interviews !

What is this ? 🤔

These are some links which can help you for the next interview. TBH i have checked out the Frontend Interview Handbook and Tech Interview Handbook too. All of these are quite popular. So thought of sharing !

Links to the github repos 🔗

  • Coding Interview University: A complete computer science study plan to become a software engineer : Link to repo

  • Frontend Interview Handbook: Front End interview preparation materials for busy engineers. : Link to repo