From 8400cc88c2217c6b403bf6317bff848bd69d667c Mon Sep 17 00:00:00 2001 From: Morgan Date: Thu, 21 Nov 2019 03:55:35 +0100 Subject: [PATCH] git tip for updating submodules --- cheat/git.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cheat/git.md b/cheat/git.md index bc42066..7f70405 100644 --- a/cheat/git.md +++ b/cheat/git.md @@ -2,6 +2,10 @@ `git reset HEAD^` +### Get latest submodules changes ([src](https://stackoverflow.com/questions/5828324/update-git-submodule-to-latest-commit-on-origin)) + +`git submodule foreach git pull origin master` + ### Most active hours from git history ([src](https://gist.github.com/bessarabov/674ea13c77fc8128f24b5e3f53b7f094#gistcomment-2973934)) ```