# Clone and link all git links dependencies from .gitlinks file
gil clone
gil link
# The same result with a single command
gil update
因此,您将克隆所有必需的项目,并以适当的方式将它们彼此链接起来。
如果您希望提交某个存储库中的所有更改以及子链接存储库中的所有更改,那么只需要一个命令:
gil commit -a -m "Some big update"
“拉”、“推”命令的工作方式类似:
gil pull
gil push
Gil (git links)工具支持以下命令:
usage: gil command arguments
Supported commands:
help - show this help
context - command will show the current git link context of the current directory
clone - clone all repositories that are missed in the current context
link - link all repositories that are missed in the current context
update - clone and link in a single operation
pull - pull all repositories in the current directory
push - push all repositories in the current directory
commit - commit all repositories in the current directory