kirby-fnord/switch-to-kirby-dev.sh

15 lines
289 B
Bash

#!/bin/bash
# change to the kirby directory
cd "$(dirname "$0")/kirby"
# update to the latest version
git checkout develop
git pull
# change back into the main project folder
cd ..
# add the updated Kirby submodule and commit
git add kirby
git commit -m "Switched to Kirby-Dev Version"