diff --git a/NEWS b/NEWS index 0a3b63a12..f08d88cab 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ * Organize options within command-line help into logical groups. * Exclude tests from distribution packages. * #119: Include a sample borgmatic configuration file in the documentation. + * #123: Support for Borg archive restoration via borgmatic --extract command-line flag. 1.2.15 * #127: Remove date echo from schema example, as it's not a substitute for real logging. diff --git a/scripts/push b/scripts/push index 8818d2ecf..f5287b983 100755 --- a/scripts/push +++ b/scripts/push @@ -2,5 +2,7 @@ set -e -git push -u origin master -git push -u github master +branch_name=$(git rev-parse --abbrev-ref HEAD) + +git push -u github "$branch_name" +git push -u origin "$branch_name"