1 Star 0 Fork 0

沈拙言 / notebooks

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
update.sh 332 Bytes
Copy Edit Web IDE Raw Blame History
沈拙言 authored 2020-09-03 09:01 . 于09-03 09:01:02上传
#!/bin/sh
cd $(dirname $(readlink -f $0))
git add * >> ~/gituplog
git status | grep "deleted" | sed "s/deleted:/git rm/g" | sh > /dev/null
git commit -m "于`date '+%m-%d %H:%M:%S'`上传" >> ~/gituplog
git push 2>> ~/gituplog && echo "Pushed!"
echo "$(date +%m-%d,%H:%M)" >> ~/gituplog
echo "-----------------------" >> ~/gituplog

Comment ( 0 )

Sign in for post a comment

1
https://gitee.com/shenzhuoyan/notebooks.git
git@gitee.com:shenzhuoyan/notebooks.git
shenzhuoyan
notebooks
notebooks
master

Search