1 #!/usr/bin/env sh 2 BRANCH="$(got branch)" 3 got fetch && got update -b origin/$BRANCH && got rebase $BRANCH