New to git, just pushed my initial commit of a repo to Bitbucket, and untracked files in the .gitignore file were deleted locally. That wasn't my understanding of .gitignore - I simply thought the files wouldn't be pushed to the remote, and would still exist locally. Was wrong - all files are gone from local directory.
Lost a bunch of images and binary files that I didn't want uploaded, and some config files w/ credentials I needed.
Any way to get these files back? I wasn't on a branch, and there are no former commits to revert to.
Thanks!! Could save me hours of starting over.