Skip to content

Instantly share code, notes, and snippets.

View agvald's full-sized avatar

Aleksander Agvald Telhaug agvald

View GitHub Profile
@agvald
agvald / create_100_branches.sh
Created August 29, 2018 20:28
Goes to a folder and creates 100 branches, pushed them and deletes them locally
cd $1
git checkout $2
for i in {1..100}
do
export NAME=test_node_cache_$i
git checkout -b $NAME
git push origin $NAME
git checkout $2
git branch -D $NAME
done