add
This commit is contained in:
parent
a32ba51791
commit
ab492c9be3
@ -32,7 +32,6 @@ FetchUpdate(){
|
||||
if [ $(git diff tmp | grep -c "-") -gt 1 ];
|
||||
then
|
||||
read -r -p "Update found, Update to Remote? [y/N] " input
|
||||
|
||||
case $input in
|
||||
[yY][eE][sS]|[yY])
|
||||
echo "Now try to merge upstream..."
|
||||
@ -47,6 +46,9 @@ FetchUpdate(){
|
||||
echo "Invalid input..."
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo "Local code all up to date! commit id:"
|
||||
git rev-parse HEAD
|
||||
fi
|
||||
# delete the commit
|
||||
git branch -d tmp
|
||||
@ -69,8 +71,6 @@ case $input in
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
# configure C compiler
|
||||
export compiler=$(which gcc)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user