Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 5f7dd9217acd08d3e8ba95660c5219c4587c37da 1 parent 13a85cd
Nils Adermann naderman authored

Showing 1 changed file with 25 additions and 0 deletions. Show diff stats Hide diff stats

  1. +25 0 tests/geogit.sh
25 tests/geogit.sh
... ... @@ -0,0 +1,25 @@
  1 +rm -rf foo
  2 +rm -rf bar
  3 +
  4 +mkdir foo
  5 +cd foo
  6 +git init
  7 +git geo setup
  8 +touch file1
  9 +git add file1
  10 +git commit -m "Add file1"
  11 +git checkout -b not-master
  12 +cd ../
  13 +
  14 +git clone foo bar
  15 +cd bar
  16 +git geo setup
  17 +echo "content" > file1
  18 +git commit -a -m "Write content to file1"
  19 +git geo push origin master:master
  20 +cd ..
  21 +
  22 +cd foo
  23 +git remote add bar ../bar
  24 +git checkout master
  25 +git log --show-notes=geocommit

Git Notes

geocommit

geocommit (1.0)
lat: 49.0067053
long: 8.407356
hacc: 96.0
src: nmg

0 comments on commit 5f7dd92

Please sign in to comment.
Something went wrong with that request. Please try again.