#!/usr/bin/env zsh

branch=$(git branch --show-current)
git reset --hard origin/$branch
git clean -df
