Skip to content

Instantly share code, notes, and snippets.

@ThinkDigitalSoftware
Last active November 3, 2018 16:04
Show Gist options
  • Save ThinkDigitalSoftware/2bd78cc0c52c3f4de60632a86b68affd to your computer and use it in GitHub Desktop.
Save ThinkDigitalSoftware/2bd78cc0c52c3f4de60632a86b68affd to your computer and use it in GitHub Desktop.
flutter_fast_forward _and_update
#! /bin/sh
if [ -z "$1" ]
then
echo "Please enter a channel name after \"flutter_update\""
else
cd ~/development/flutter/
git pull
flutter channel $1
fi
#! /bin/sh
if [ -z "$1" ]
then
echo "Please enter a channel name after \"flutter_update\""
else
cd ~/development/flutter/
flutter channel $1
git pull
flutter channel $1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment