From 987e6f9f0e77634a1a71784120f5d5216ce21f2e Mon Sep 17 00:00:00 2001
From: Yuchen Zeng <zyc@google.com>
Date: Mon, 27 Jun 2016 23:11:51 -0700
Subject: [PATCH] Avoid using git checkout and git clean

---
 src/objective-c/tests/build_one_example.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/objective-c/tests/build_one_example.sh b/src/objective-c/tests/build_one_example.sh
index 56f686319e..24fb8b7bab 100755
--- a/src/objective-c/tests/build_one_example.sh
+++ b/src/objective-c/tests/build_one_example.sh
@@ -45,9 +45,9 @@ cd `dirname $0`/../../..
 cd $EXAMPLE_PATH
 
 # clean the directory
-git checkout .
-git clean -df .
 rm -rf Pods
+rm -rf $SCHEME.xcworkspace
+rm -f Podfile.lock
 
 pod install
 
-- 
GitLab