git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
blob: b85847470ee7cb2ec2e01f7e451f9ca87da633e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
*
!/.gitignore
!/.gitmodules
!/.bashrc
!/.bash_profile
!/.bash
/.bash/*
!/.bash/*bash
!/bin
!/bin/*
!/.flake8
!/.forbidden_modules
!/.gitconfig
!/.perlcriticrc
!/.profile
!/.pylintrc
!/README.md
!/tmux-gpakosz
!/tmux-yank
!/.tmux.conf*
b">exit 110 # 2. Pull all branches existing locally mybr="$("$GITBIN" branch --show-current)" while read -r branch do ( printf '\033[1m\033[3mSwitching to %b.\033[0m\n' "$branch" "$GITBIN" switch "$branch" &&\ "$GITBIN" pull &&\ "$GITBIN" switch "$mybr" ) done < <("$GITBIN" branch --list|awk '{print $NF}'|grep -vP "^${mybr}\$")