Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git delete all merged branches

# Add this to your alias in .bashrc or .zshrc
# then run git-removed-merged-branches

alias git-removed-merged-branches="git branch --merged | egrep -v '(^*|master|dev)' | xargs git branch -d"
Comment

delete all merged branches

git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d
Comment

PREVIOUS NEXT
Code Example
Shell :: scss You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders 
Shell :: cs50 docs 
Shell :: get all changes on commit name 
Shell :: install pip from tt 
Shell :: regex in batch file 
Shell :: bash add default argument 
Shell :: apt download with dependencies 
Shell :: vim colorscheme 
Shell :: cmd / batch change to directory on another drive 
Shell :: fetch from remote branch 
Shell :: Unable to connect to server: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 
Shell :: zsh read user input 
Shell :: dig check dmarc record 
Shell :: ansible playbook to set passwordless sudo 
Shell :: grep remove -- 
Shell :: zsh terminal 
Shell :: how to install emmet atom 
Shell :: git reset commit before file 
Shell :: git remove files untracked 
Shell :: linux -ltr 
Shell :: nodemon installation 
Shell :: git make new branch 
Shell :: install deno 
Shell :: apache airflow 
Shell :: precompile bits/stdc++.h 
Shell :: Deploy to AWS Terraform and Gitlab 
Shell :: static address raspberry 
Shell :: apt upgrade full 
Shell :: folder open command in linux 
Shell :: how to push your code to github 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =