![]() Pressing h shows the less help prompt-confirming it is less that's being used. In both cases less' default flags haven't been customized by me, and are:Īnd running git branch in any git repo will print the branches as expected, with less's summary of lines 1-X/X (END) at the bottom of the console. The following sections provide practical examples of using the git submodule init command. ![]() Initialize only specific submodules, leaving others uninitialized. Use it to: Initialize all submodules within a repository. I'm uncertain if this is a change to git branch itself, or perhaps my default less flags - or possible some other factor. git submodule init copies the submodule information from the. I recall previously git branch would print the list of branches and immediately return to a prompt - however it now appears to be printing the branches within less, and requiring me to press Esc before returning to the command prompt. With git you can use so-called submodules to make a specific snapshot of a git repository part of another git repository. The name of the branch is recorded as submodule.branch in. I frequently execute git branch throughout the day, and it seems at some point recently (perhaps in the past month?) the behavior has changed. In git 1.8.2+ git submodule add -b branchname URLtoGitrepo optionaldirectoryrename.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |