Commit f7321ba2 by sn

gitstatus

1 parent 9f0ed034
Showing with 4 additions and 1 deletions
...@@ -23,8 +23,9 @@ mc_git_pull() { ...@@ -23,8 +23,9 @@ mc_git_pull() {
git pull git pull
git status -s | grep UU git status -s | grep UU
git status -s | grep UU >> $logfile git status -s | grep UU >> $logfile
git status | grep Version
#mc_bashsu "git log | grep -m 1 commit" 1 #mc_bashsu "git log | grep -m 1 commit" 1
git log | grep -m 1 commit >> $logfile git log | grep -m 1 commit >> $logfile
...@@ -45,5 +46,6 @@ mc_git_status() { ...@@ -45,5 +46,6 @@ mc_git_status() {
git status -s git status -s
git branch | grep '*' git branch | grep '*'
git status -s | grep UU git status -s | grep UU
git status | grep ersion
echo '----------------------------' echo '----------------------------'
} }
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!