

For a fully functional submodule, you'll also need to do a pull on it, as described in Updating Submodules. Only performing the initialization will leave the submodule directory empty. Without this option, you may initialize the submodules later by hand via Remote Submodule Initialize. Cloning Repositories with Submodules If you clone an existing repository containing one or more submodules via Repository Clone, make sure the option Include Submodules is selected, so that all first-level submodules are automatically initialized and updated. you can invoke a Log here to see how the submodule-pointer has changed over time or you can invoke Remote Submodule Initialize to initialize the selected submodule itself (if it is not yet initialized). you can invoke a Log here to see the history of the submodule repository or you can invoke Remote Submodule Initialize to initialize all sub-submodules contained in the selected The Files view offers operations on the submodule pointer from perspective of the parent repository: e.g. Operations from the main menu depend on whether the Repositories view or the Files is focussed: The Repositories view offers operations in the submodule repository itself: e.g. Submodules in the UI A submodule usually shows up in SmartGit's UI at the same time in the Repositories view and in the Files view. The user may later adjust it, for example to fix SSH login names.

Setting submodule repositories involves an initialization process, in which the required entries are added to the.git/config file. The.gitmodules file is usually versioned, so it can be maintained by all users and/or changes are propagated to all users. The link between working tree entry and foreign repository is stored in the.gitmodules file of the parent repository. The definition of the submodule is stored as a separate entry in the parent repository's git object database. The submodule is always pointing at a particular commit of the embedded repository. A submodule is a nested repository that is embedded in a dedicated subdirectory of the working tree (which belongs to the parent repository). This is similar to SVN's externals feature. Git offers a feature called submo dules, which allows you to embed one Git repository into another.
#Smartgit tutorial pdf software
Often, software projects are not completely self-contained, but share common parts with other software projects. For SVN repositories, refer to Externals (Normal Mode Only). If one or more paths are specified, only these are included.1 Submodules *Remote y Note This section only applies to submodules of native Git repositories, but not of SVN clones. Without an optional parameter, all files and directories in the current working directory are included in the archive.
#Smartgit tutorial pdf archive
The tree or commit to produce an archive for. Used with -remote to specify the path to the Retrieve a tar archive from a remote repository rather than the local repository.
#Smartgit tutorial pdf zip
For zip backend, using -0 will store the files without deflating them, while -1 through -9 can be used to adjust compression speed and ratio. This can be any options that the archiver backend understands. Prepend / to each filename in the archive. If this options is not given and the output file is specified, the format is inferred from the filename if possible.

