Open lordzeroMS opened 6 years ago
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 status -sb | head -n 1 | awk '{print $2}'
git pull perform update
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 availablegit pull perform update