diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-06-05 14:40:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-06-05 14:40:28 -0300 |
commit | a7b22a8df6296982e3a4d81485c0056bd4fc4b55 (patch) | |
tree | 6af468cf70bfc4558753892904ac8874ead151fe | |
parent | f6f41a89c46f99a9c529449d5337f3d47da6af1c (diff) | |
download | utils-git-a7b22a8df6296982e3a4d81485c0056bd4fc4b55.tar.gz utils-git-a7b22a8df6296982e3a4d81485c0056bd4fc4b55.tar.bz2 |
Adds git-reset-attributes
-rwxr-xr-x | git-reset-attributes | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/git-reset-attributes b/git-reset-attributes new file mode 100755 index 0000000..929b646 --- /dev/null +++ b/git-reset-attributes @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Reset .gitattributes +# +# See https://stackoverflow.com/questions/11383094/unstaged-changes-left-after-git-reset-hard + +git rm .gitattributes +git add -A +git reset --hard |