Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:e689d5de0982543cce8c
1 2 3 4 5 6 7 8
#!/bin/sh
 
for file in $(git diff --cached --name-status | awk '{print $2}')
do
gofmt -w $file
 
git add $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.