lordzeroMS / doctag

GNU General Public License v3.0
1 stars 0 forks source link

show update status and perform update by api #27

Open lordzeroMS opened 6 years ago

lordzeroMS commented 6 years ago

13

git rev-list --left-right --count git status -sb | head -n 1 | awk '{print $2}' | awk '{print $2}' give 0 for no update available and >0 for update available

git pull perform update