Sign in
android
/
platform
/
tools
/
motodev
/
refs/heads/nougat-iot-release
/
.
/
makefile
/
scripts
/
git_update.sh
blob: 20ca7822d5c847a862ce219bc2f4b084e7367422 [
file
] [
log
] [
blame
] [
edit
]
#!/bin/bash
GIT_BRANCH
=
`git branch | grep "*" | cut -b 3-`
if
[
x$GIT_BRANCH
!=
"x(no branch)"
]
then
git pull origin $GIT_BRANCH
else
echo
"No branch set: Have you checked out a branch?"
fi