Commit cf7e9039 by sn

jetzt auch git push funktion

1 parent e8503137
Showing with 31 additions and 0 deletions
......@@ -37,6 +37,37 @@ mc_git_pull() {
}
mc_git_push() {
gitdir=$1
logfile=$2
echo ''
echo '' >> $logfile
mc_log "git pull $gitdir" $logfile
mc_bashsu "cd $gitdir" 1
git branch | grep '*'
git branch | grep '*' >> $logfile
git status -s
mc_log "git status -s" $logfile
git status -s >> $logfile
git push
git status -s | grep UU
git status -s | grep UU >> $logfile
git status | grep Version
#mc_bashsu "git log | grep -m 1 commit" 1
git log | grep -m 1 commit >> $logfile
git log | grep -m 1 Date
git log | grep -m 1 Date >> $logfile
echo '----------------------------' >> $logfile
}
mc_git_status() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!