From f5e863fd499cd18b7a35c1501cd80619a01c5f91 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sat, 4 Jun 2022 23:00:34 +0200 Subject: [PATCH] Add script to update github forks --- scripts/.local/share/scripts/update-fork | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/.local/share/scripts/update-fork diff --git a/scripts/.local/share/scripts/update-fork b/scripts/.local/share/scripts/update-fork new file mode 100755 index 0000000..869420c --- /dev/null +++ b/scripts/.local/share/scripts/update-fork @@ -0,0 +1,6 @@ +#!/bin/sh + +git fetch upstream +git checkout master +git rebase upstream/master +git push -f origin master