From 217247522d16c55e73644a273fba8806b5aff152 Mon Sep 17 00:00:00 2001 From: Emilie Date: Thu, 21 Jun 2018 12:26:24 +0200 Subject: [PATCH] [git] : add status + branch name of main project + submodules --- git/status.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 git/status.sh diff --git a/git/status.sh b/git/status.sh new file mode 100755 index 0000000..b02a9ce --- /dev/null +++ b/git/status.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo '------ Main Project -------' +git status -s -b +echo '------ Sub Modules --------' +git submodule foreach --recursive 'git status -s -b' \ No newline at end of file -- 2.39.5