From 6bc984a9b69439e79fe8f0406420d9e3989686a9 Mon Sep 17 00:00:00 2001 From: Lorenzo Mattei Date: Tue, 14 Apr 2020 11:19:36 +0200 Subject: [PATCH] Make git push not dependet on local config --- fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 70159bc2174c..92965ddb0d8e 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -325,7 +325,7 @@ ENV["HAS_ALPHA_VERSION"]="true" if (options[:auto_commit]) then sh("cd .. && git add #{main_strings_path}") sh("git commit -m 'Update strings for translation'") - sh("git push") + sh("git push origin HEAD") else UI.important("Your #{main_strings_path} has changed.") UI.input("Please, review the changes, commit them and press return to continue.")