Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncBash
/
mcBash
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf7e9039
authored
Jul 22, 2014
by
sn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jetzt auch git push funktion
1 parent
e8503137
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
lib/fnc_mc_git.inc.sh
lib/fnc_mc_git.inc.sh
View file @
cf7e903
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment