File: snapshot

package info (click to toggle)
svnkit 1.10.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 18,332 kB
  • sloc: java: 234,840; sh: 312; xml: 273; makefile: 26; python: 17; perl: 8
file content (17 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
export GIT_AUTHOR_NAME="Mortimer Adler"
export GIT_COMMITTER_NAME="Mortimer Adler"

git init $1
pushd $1
cat commit_msg >> commits_log

git init
git add -A
git commit -F commit_msg --allow-empty

tag=`wc -l < commits_log`
git tag -a "$tag" -m "$tag"

popd
exit 0