mirror of
https://github.com/dw-0/kiauh.git
synced 2025-11-01 18:05:48 +01:00
23 lines
659 B
Bash
Executable File
23 lines
659 B
Bash
Executable File
switch_to_master(){
|
|
cd $KLIPPER_DIR
|
|
status_msg "Switching...Please wait ..."; echo
|
|
git fetch origin -q && git checkout master; echo
|
|
}
|
|
|
|
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
|
|
git fetch dmbutyugin -q && git checkout scurve-shaping; echo
|
|
}
|
|
|
|
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
|
|
git fetch dmbutyugin -q && git checkout scurve-smoothing; echo
|
|
} |