Auto git add & push
This commit is contained in:
parent
63deff0a5c
commit
a8ce370997
1 changed files with 3 additions and 0 deletions
|
@ -15,3 +15,6 @@ filename=${name}-${now}-${host}.pcap
|
|||
intf=${host}-eth0
|
||||
|
||||
mx "$host" tcpdump -ni ${intf} -w "${filename}"
|
||||
git add .
|
||||
git commit -m "+pcap: ${filename}"
|
||||
git push
|
||||
|
|
Loading…
Reference in a new issue