![]() ![]() It contains the contents you pulled from the external repository.Įach time you change something in this directory and push your changes to your repository, these changes will be immediately pushed to the external repository. This is useful to create several X-Modules with one commit.įor the whole list of available options, see Git X-Modules Reference Guide.Ī new directory has been created in your repository tree. ![]() To apply changes, run gitx sync or push to this repository. Set the path to the Git repository you’re adding modules toĭefault: current directory or $GIT_DIR if specifiedĭefault: refs/heads/master:refs/heads/masterĬreate an X-Module, but do not sync files and commits immediately. MODULE_PATH - a directory in your repository to become an X-Module (i.e. Note: If your need to supply your credentials to access this repository, use Git Credentials Storage. MODULE_REPO - a URL or a path to some other bare Git repository that you would like to sync with yours Navigate to your bare git repository and run $ gx add-module MODULE_REPO MODULE_PATH ![]() If necessary, add gx/bin to your PATH environmental variable. If you do not have Java runtime installed on your computer - also download and install Java. A directory, synced with another repository, is called an “X-Module”.ĭownload Git X-Modules CLI from TMateSoft website.ĭepending on your OS - unpack. This is often useful to put together code, that is spread between several repositories, or to share common assets among several projects. Git X-Modules syncs a directory in a Git repository with another Git repository. ![]()
0 Comments
Leave a Reply. |