File: push-subtrees.sh

package info (click to toggle)
ares 147%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,244 kB
  • sloc: cpp: 334,263; ansic: 98,696; sh: 123; makefile: 31
file content (10 lines) | stat: -rw-r--r-- 338 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Change to the root directory, or exit on failure
cd "$(dirname "$0")"/.. || exit 1

# This assumes that remotes with these names are already configured
git subtree push --prefix=nall nall master
git subtree push --prefix=ruby ruby master
git subtree push --prefix=hiro hiro master
git subtree push --prefix=libco libco master