howto: git (github) usage
Posted: Sun Jan 22, 2017 3:34 pm
asking howto (and BestPractices advice) b/c forum search "git or github, topic titles" only returned these 2 topics:
MX 15 Repository: The git-cola Thread http://forum.mxlinux.org/viewtopic.php?f=121&t=39892
Announcement - the MEPIS-Community github organisation (2011) http://forum.mxlinux.org/viewtopic.php?f=77&t=29308
I've already installed git & have used it a few times (forked a few existing repos at github, cloned locally, committed/pushed babystep changes upstream) but have several questions regarding BestPractices, and... when someone (vinv?) recently asked "how to get involved", I was stunned that no one mentioned https://github.com/MX-Linux
related: The wonderfully-detailed MX UserManual, crammed all into a single html page, is becoming unwieldy.
A github repo does not yet exist for MXdocs, AFAICT. That (a github repo) could facilitate both contribs and bugs/change requests.
a few questions from a git noob:
Where should local git-cloned projects reside? Under user's home directory? Under root user's home? Does it even matter?
Does it matter who owns the files? Does git "know/care" whether each given file should be chmod 744 or whatnot?
How should paths for each local repo be structured? If a file is ultimately destined for /usr/share...
that path should (must?) be represented in the local repo, ala ~/git/projectname/projectname-master/usr/share/... ?
MX 15 Repository: The git-cola Thread http://forum.mxlinux.org/viewtopic.php?f=121&t=39892
Announcement - the MEPIS-Community github organisation (2011) http://forum.mxlinux.org/viewtopic.php?f=77&t=29308
I've already installed git & have used it a few times (forked a few existing repos at github, cloned locally, committed/pushed babystep changes upstream) but have several questions regarding BestPractices, and... when someone (vinv?) recently asked "how to get involved", I was stunned that no one mentioned https://github.com/MX-Linux
related: The wonderfully-detailed MX UserManual, crammed all into a single html page, is becoming unwieldy.
A github repo does not yet exist for MXdocs, AFAICT. That (a github repo) could facilitate both contribs and bugs/change requests.
a few questions from a git noob:
Where should local git-cloned projects reside? Under user's home directory? Under root user's home? Does it even matter?
Does it matter who owns the files? Does git "know/care" whether each given file should be chmod 744 or whatnot?
How should paths for each local repo be structured? If a file is ultimately destined for /usr/share...
that path should (must?) be represented in the local repo, ala ~/git/projectname/projectname-master/usr/share/... ?