Skip to content

Commit

Permalink
script structured
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam2002 committed Mar 27, 2023
1 parent 76c995a commit 1505674
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions clone.sh

This file was deleted.

13 changes: 13 additions & 0 deletions scripts/clone.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

branches=("ac" "ac-1" "ac-2" "ac-3" "ac-4" "ac-5" "ps-1" "ps-2" "gad-1" "gad-2" "gad-3" "gad-4" "gad-5" "hr" "sa-1" "sa-2" "sa-3" "sa-4" "os-1" "os-2" "os-3" "os-4" "rspc")

for branch in "${branches[@]}"
do
echo "Creating $branch..."

git checkout -b "$branch"
git push origin "$branch"

echo "Pushed new branch $branch to remote"
done

0 comments on commit 1505674

Please sign in to comment.