diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-12-23 16:16:00 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2017-01-15 14:24:45 +0000 |
commit | 1061b2c0d2eeda8549c2f4afcf709316c1d8243e (patch) | |
tree | 8a7d58b5e96ac1846842bc199ffd2fc4cb7e370a | |
parent | 3f0e80ac4c7d2cea41ff102a3c6ca1a99ae3908a (diff) | |
download | librebootfr-1061b2c0d2eeda8549c2f4afcf709316c1d8243e.tar.gz librebootfr-1061b2c0d2eeda8549c2f4afcf709316c1d8243e.zip |
libs: git: Checkout with -B to allow recreating branches
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-x | libs/git | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ git_branch_create() { ( cd "$repository_path" - git checkout -b "$branch" + git checkout -B "$branch" if ! [ -z "$revision" ] then |