Skip to content

Instantly share code, notes, and snippets.

View Hemric's full-sized avatar
🦎
Chilling

Henry D. Hemric

🦎
Chilling
  • Selency
  • Paris
View GitHub Profile
@Hemric
Hemric / tmux.conf
Created January 12, 2021 14:55 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000

Delete local branches except dev, master

git branch | grep -v -e dev -e master | xargs git branch -D

Delete remote branches except dev, master

git branch -r | grep -v -e dev -e master | cut -c 10- | xargs git push --delete origin