2020-12-20 18:41:42 +01:00
|
|
|
switch_to_master(){
|
2020-07-13 16:59:40 +02:00
|
|
|
cd $KLIPPER_DIR
|
|
|
|
|
status_msg "Switching...Please wait ..."; echo
|
2020-12-20 18:41:42 +01:00
|
|
|
git fetch origin -q && git checkout master; echo
|
2020-07-13 16:59:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch_to_scurve_shaping(){
|
|
|
|
|
cd $KLIPPER_DIR
|
|
|
|
|
status_msg "Switching...Please wait ..."; echo
|
|
|
|
|
if ! git remote | grep dmbutyugin -q; then
|
|
|
|
|
git remote add dmbutyugin $DMBUTYUGIN_REPO
|
|
|
|
|
fi
|
2020-12-20 18:41:42 +01:00
|
|
|
git fetch dmbutyugin -q && git checkout scurve-shaping; echo
|
2020-07-13 16:59:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
switch_to_scurve_smoothing(){
|
|
|
|
|
cd $KLIPPER_DIR
|
|
|
|
|
status_msg "Switching...Please wait ..."; echo
|
|
|
|
|
if ! git remote | grep dmbutyugin -q; then
|
|
|
|
|
git remote add dmbutyugin $DMBUTYUGIN_REPO
|
|
|
|
|
fi
|
2020-12-20 18:41:42 +01:00
|
|
|
git fetch dmbutyugin -q && git checkout scurve-smoothing; echo
|
2020-07-13 16:59:40 +02:00
|
|
|
}
|