Firefox has a profile folder (it has a random name, like r2hy5dsu.default
).
If Greasemonkey is installed, then a folder named gm_scripts
is created into that folder.
The profile folder contains a LOT of other files and folders, but the only important to me right now is gm_scripts
.
So, I would like to create a repository named reponameX
(different of r2hy5dsu.default
) that contains a folder named dirY
(different of gm_scripts
) that holds the content of the latter, but I don't know if this is even possible.
LOCAL GITHUB
r2hy5dsu.default <--> reponameX
+ gm_scripts <--> + dirY
+ + ... (a lot of other things) <--> + + (I want to sync everything here)
+ ... (a lot of other things) <--> + (I don't want to sync it at all)
My question is: Is that possible? If so, how can I accomplish this?
All that I found so far was how to create a repository named differently of your local folder, but nothing about the second part.
This way, it would help me to easily publish and keep updated all the scripts I develop and test myself, without having to copy to somewhere else just to commit it.