Files

6 lines
102 B
Bash
Executable File

#!/usr/bin/env zsh
branch=$(git branch --show-current)
git reset --hard origin/$branch
git clean -df