Home | History | Annotate | Download | only in tools

Lines Matching refs:git

63   local MATCH=$(git branch | grep "$1" | awk '{print $NF}' | grep -x $1)
67 git branch -D $1 || die "Deleting branch '$1' failed."
97 # Cancel if this is not a git checkout.
98 [[ -d .git ]] \
99 || die "This is not a git checkout, this script won't work for you."
108 [[ -z "$(git status -s -uno)" ]] \
112 CURRENT_BRANCH=$(git status -s -b -uno | grep "^##" | awk '{print $2}')
116 git svn fetch || die "'git svn fetch' failed."
121 git checkout -b $TEMP_BRANCH
130 git checkout -f $CURRENT_BRANCH
131 [[ "$TEMP_BRANCH" != "$CURRENT_BRANCH" ]] && git branch -D $TEMP_BRANCH
132 [[ "$BRANCHNAME" != "$CURRENT_BRANCH" ]] && git branch -D $BRANCHNAME
158 git cl upload -r "$REVIEWER" --send-mail \
159 || die "'git cl upload' failed, please try again."
188 git add "$FILE"
191 DELETED_FILES=$(git status -s -uno --porcelain | grep "^ D" \
194 git rm "$FILE"