aboutsummaryrefslogtreecommitdiff
path: root/files/update-dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/update-dev.sh')
-rw-r--r--files/update-dev.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/update-dev.sh b/files/update-dev.sh
new file mode 100644
index 00000000..d872fdf8
--- /dev/null
+++ b/files/update-dev.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+git checkout dev
+git branch -d dev-bak
+git checkout -b dev-bak
+git checkout master
+git pull origin master
+git branch -d dev
+git checkout -b dev
+git push --set-upstream origin dev \ No newline at end of file