aboutsummaryrefslogtreecommitdiff
path: root/files/update-dev.txt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-04 11:13:47 -0700
committerAllan Wang <me@allanwang.ca>2017-07-04 11:13:47 -0700
commit4cf368be0cd2f179485b05a3d2cd9b7bc236ba8e (patch)
treedec58af06d220ba80920fcf9c816b71413c61108 /files/update-dev.txt
parent43885c6c063a76738ed7220aba619e47db7c4080 (diff)
parentd6c5bcd56e293eaf281663b6c1e6b0ab7236be9f (diff)
downloadfrost-4cf368be0cd2f179485b05a3d2cd9b7bc236ba8e.tar.gz
frost-4cf368be0cd2f179485b05a3d2cd9b7bc236ba8e.tar.bz2
frost-4cf368be0cd2f179485b05a3d2cd9b7bc236ba8e.zip
Fix merge
Diffstat (limited to 'files/update-dev.txt')
-rw-r--r--files/update-dev.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/update-dev.txt b/files/update-dev.txt
new file mode 100644
index 00000000..91ff4c1b
--- /dev/null
+++ b/files/update-dev.txt
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+# Script to reset dev branch to master
+# Once it is squashed and merged on github
+# Copy this to a sh file, which is gitignored
+# So there won't be save conflicts
+
+git checkout dev
+git cmp hard rebase
+git branch -f dev-bak dev
+git checkout master
+git pull -f origin master
+git branch -f dev master
+git checkout dev
+git push -u -f origin dev