afaf1ba687
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
8 lines
177 B
Bash
Executable File
8 lines
177 B
Bash
Executable File
#!/bin/bash
|
|
BRANCH=$1
|
|
git checkout -b "$BRANCH"
|
|
git checkout "$BRANCH"
|
|
git branch --set-upstream-to=origin/"$BRANCH" "$BRANCH"
|
|
git pull
|
|
git push --set-upstream origin "$BRANCH"
|