Skip to content

Instantly share code, notes, and snippets.

View cpu-meltdown's full-sized avatar
💭
🍕

Nabil Baalbaki cpu-meltdown

💭
🍕
  • Bento for Business
  • Chicago, IL
View GitHub Profile
@cpu-meltdown
cpu-meltdown / useful_commands.txt
Last active May 16, 2023 18:41
Useful terminal commands
Find list of files that contain a certain value: grep -iRl “value here“ ./
Delete all branches that start with a certain prefix: git branch | grep "value here" | xargs git branch -D
alias gco='command git checkout'
gcot() {
cd "workspace"
git branch | grep "$1" | xargs git checkout
}