mhulse / gh-boiler

Common GitHub boilerplate files I use to kick-start new repositories.
Apache License 2.0
8 stars 3 forks source link

.url files back to docs #107

Open mhulse opened 7 years ago

mhulse commented 7 years ago

When people download zip of my repo, or install via shell script, I wanted to have a URL file that goes back to the docs online

if you drag from chrome on mac it will create a .webloc

not supported on Windows

But...

[InternetShortcut]
URL=https://github.com/mhulse/vagrant-latmp

and name it with extension .url

should work on both systems

pretty cool

If you put this in your .gitattributes:

install.sh export-ignore  
.* export-ignore
README* export-ignore

For example

when someone downloads the zip of your repo

all those files are ignored

so you can have a clean zip file

with only the bits peeps need to get your code working