$ env | grep GOPATH GOPATH=/Users/spikeekips/workspace/kasi
|Graphs disk usage data containing fields entield `DiskSize`, `DiskUsed`,|
|`DiskAvailable`, and `DiskPercentUsed`|
|- sec_per_row (uint, optional, default 60)|
|Sets the size of each bucket (resolution in seconds) in the sliding window.|
|- rows (uint, optional, default 1440)|
|Sets the size of the sliding window i.e., 1440 rows representing 60 seconds|
I accidentally ran
git reset --hard on my repo today too while having uncommitted changes too today. To get it back, I ran
git fsck --lost-found, which wrote all unreferenced blobs to
<path to repo>/.git/lost-found/. Since the files were uncommitted, I found them in the other directory within the
<path to repo>/.git/lost-found/. From there, I can see the uncommitted files, copy out the blobs, and rename them.
Note: This only works if you added the files you want to save to the index (using git add .). If the files weren't in the index, they are lost.