aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Custodio <pauloscustodio@gmail.com>2021-10-20 10:01:11 +0100
committerPaulo Custodio <pauloscustodio@gmail.com>2021-10-21 17:51:10 +0100
commit0435951baf034a11383702b67e15c74ef6242cd6 (patch)
tree51f3c7e41aafc63f4e672b19ce19786411cae619
parent3a258964c8719b343d121d21e43f32c44b314756 (diff)
downloadperlweeklychallenge-club-0435951baf034a11383702b67e15c74ef6242cd6.tar.gz
perlweeklychallenge-club-0435951baf034a11383702b67e15c74ef6242cd6.tar.bz2
perlweeklychallenge-club-0435951baf034a11383702b67e15c74ef6242cd6.zip
Script to update repository
-rw-r--r--challenge-001/paulo-custodio/update.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/challenge-001/paulo-custodio/update.sh b/challenge-001/paulo-custodio/update.sh
new file mode 100644
index 0000000000..83d7cebe71
--- /dev/null
+++ b/challenge-001/paulo-custodio/update.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -ex
+
+git checkout master
+git pull
+git fetch upstream
+git merge upstream/master --ff-only
+git push -u origin master
+
+git checkout devel
+git pull
+git rebase master
+git push --force -u origin devel