mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Added a --force flag to guarantee a successful pull.
This commit is contained in:
2
make.sh
2
make.sh
@@ -905,6 +905,8 @@ othersrc)
|
||||
git)
|
||||
case "$2" in
|
||||
update|up)
|
||||
## REMOVES ALL UNCOMMITTED CHANGES!
|
||||
[ "$3" == "--force" ] && git checkout -f
|
||||
git pull
|
||||
;;
|
||||
commit|ci)
|
||||
|
||||
@@ -496,7 +496,7 @@ batch_script() {
|
||||
$0 clean
|
||||
evaluate 1
|
||||
|
||||
$0 git update
|
||||
$0 git update --force
|
||||
evaluate 1 mail_me UPDATE
|
||||
|
||||
echo "### EXPORT SOURCES"
|
||||
|
||||
Reference in New Issue
Block a user