aboutsummaryrefslogtreecommitdiff
path: root/git-clean-unstaged
blob: 2fb67373f91c43a5be5dbd8554cc27e9c6f51e0a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
#
# See: Unstaged changes left after git reset --hard - f'cking .gitattributes
#      https://stackoverflow.com/questions/11383094/unstaged-changes-left-after-git-reset-hard

# Dispatch
git rm .gitattributes
git add -A
git reset --hard