File: gitpull.sh

package info (click to toggle)
tcpflow 1.4.4%2Brepack1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,560 kB
  • ctags: 4,525
  • sloc: cpp: 17,278; python: 4,221; sh: 1,413; xml: 769; ansic: 355; makefile: 287
file content (11 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# http://stackoverflow.com/questions/5828324/update-git-submodule
# pull root and subprojects
git pull
for dir in src/be13_api 
do
  pushd $dir
  git checkout master
  git pull
  popd
done