File: gitpull.sh

package info (click to toggle)
tcpflow 1.6.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,732 kB
  • sloc: cpp: 18,138; sh: 780; ansic: 347; makefile: 226; python: 55
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