I (the user above called @jerone ) actually has two folders that I keep in sync: the GreaseMonkey gm_scripts out repo folder in another place.
The current folder structure on GitHub exists because I wanted to back up my scripts, immediately before Userscripts.org, when disconnected. So I just copied my scripts (with folders) from the gm_scripts folder. Also, since I used to use several @require , storing them in the appropriate folder.
I did not gm_scripts my gm_scripts folder to git due to the use of git branches for each user name. One of the reasons is the problem of redistributing branches with the last master. Another reason is that you cannot work with two branches of functions at the same time.
When working with a patch or new feature, I work in the gm_scripts folder. When I'm happy with the changes to live postscript, I use WinMerge to sync the changes to my checkout repository folder before making changes.
.gitnore is a .gitnore file because I used Visual Studio to update the script, but I changed to Atom a long time ago.
source share