Permalink
Browse files

Mini test shell script to see if git-geo works at all

  • Loading branch information...
1 parent 13a85cd commit 5f7dd9217acd08d3e8ba95660c5219c4587c37da @naderman naderman committed Mar 12, 2011
Showing with 25 additions and 0 deletions.
  1. +25 −0 tests/geogit.sh
View
25 tests/geogit.sh
@@ -0,0 +1,25 @@
+rm -rf foo
+rm -rf bar
+
+mkdir foo
+cd foo
+git init
+git geo setup
+touch file1
+git add file1
+git commit -m "Add file1"
+git checkout -b not-master
+cd ../
+
+git clone foo bar
+cd bar
+git geo setup
+echo "content" > file1
+git commit -a -m "Write content to file1"
+git geo push origin master:master
+cd ..
+
+cd foo
+git remote add bar ../bar
+git checkout master
+git log --show-notes=geocommit

0 comments on commit 5f7dd92

Please sign in to comment.