Learnlog

Learnlog

1151 bookmarks
Custom sorting
How to store a git config as part of the repository?
How to store a git config as part of the repository?
You can not use .gitconfig file in a git repository by default, but you can link to it so the git config will be versioned.
t is not possible to automatically include your custom configuration file through git alone, because it creates a security vulnerability.
git config --local include.path ../.gitconfig
·stackoverflow.com·
How to store a git config as part of the repository?
Understanding and Working with Submodules in Git — SitePoint
Understanding and Working with Submodules in Git — SitePoint
Take a close look at the output, though: the little + symbol in front of that SHA-1 hash tells us that the submodule is at a different revision than is currently stored in the parent repository
·sitepoint.com·
Understanding and Working with Submodules in Git — SitePoint
Git submodule | Atlassian
Git submodule | Atlassian
A git submodule is a record within a host git repository that points to a specific commit in another external repository.
The git submodule add is used to add a new submodule to an existing repository.
·atlassian.com·
Git submodule | Atlassian