aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-obranch2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-obranch b/git-obranch
index fb5e90d..f49ce79 100755
--- a/git-obranch
+++ b/git-obranch
@@ -66,7 +66,7 @@ echo '_scmsync.obsinfo' >> .git/info/exclude
# Set config
git config "lfs.$(git remote get-url myproj)/info/lfs.locksverify" true
# Switch to factory branch, obs_state is just a record of the old state
-git checkout --force -b factory myproj/factory
+git checkout --force -B factory myproj/factory
# # SCM Sync settings
OSC_META=$(mktemp /tmp/osc_meta_data.XXXXXX.xml)