summaryrefslogtreecommitdiffstats
path: root/switch_all_submodules_to_head_and_clean
Commit message (Collapse)AuthorAgeFilesLines
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2021-04-301-5/+14
| | | | | | | | + Ensure checkout for new upstream branch in worktree mode of tree. + To test the availability of repository use curl if it is present. + Sign commits using GPG during rebase if the signing key is set. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* switch_all_submodules_to_head_and_clean: Clean up abandoned worktreesSlávek Banko2020-11-111-0/+1
| | | | | | before adding a new worktree. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2018-09-041-7/+56
| | | | | | | | | | + better detection of whether a branch is remote tracked + instead of git pull --rebase is used git fetch and git rebase + added verification whether the remote server is available + do a git checkout only if the required branch is not active + added support for creating a 'tde' submodules tree using git worktree Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2018-08-161-2/+1
| | | | | | | | + cleaning of temporary branches combined into one operation along with pull + this prevents additional communication with the remote server + all remote servers will be fetched and also pruned Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update switch_all_submodules_to_head_and_clean:Slávek Banko2018-08-091-4/+4
| | | | | | + add support for cloning repositories via ssh Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update switch_all_submodules_to_head_and_cleanSlávek Banko2018-08-061-0/+1
| | | | | | + add cleaning of potential temporary branches from remote server Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Revamp switch_all_submodules_to_head_and_cleanSlávek Banko2018-07-071-42/+80
| | | | | | | | | | + script revised according to update_all_submodules + files .gitmodules are processed instead of call git submodule foreach + modules are initialized during processing instead of at the beginning + initialize submodules only if they have not yet been initialized + use --no-recurse-submodules at git pull for better overview of the update progress Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* switch_all_submodules_to_head_and_clean: Add support to clone from mirrorSlávek Banko2015-12-021-0/+8
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* switch_all_submodules_to_head_and_clean: Use --rebase on git pullSlávek Banko2015-12-021-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Added ignore-submodules flag, depending on the GIT versionSlávek Banko2013-05-051-2/+7
|
* Remove ignore-submodules flag from git commands in order to support older ↵Timothy Pearson2012-12-071-2/+2
| | | | GIT versions
* Updating git scriptsSlávek Banko2012-12-041-9/+23
| | | | | | | + add support for gitfile (submodules with git >= 1.7.8) + add gituser detection from git configuration + add support for branches + various optimizations
* Update the GIT helper scriptsTimothy Pearson2011-11-071-0/+3
|
* Fix switch_all_submodules_to_head_and_clean scriptTimothy Pearson2011-11-051-3/+5
|
* Fix script againTimothy Pearson2011-11-051-1/+3
|
* Fix last commitTimothy Pearson2011-11-051-2/+0
|
* Add switch_all_submodules_to_head_and_clean script for developersTimothy Pearson2011-11-051-0/+41