Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:peritus/geocommit
- Loading branch information
Showing
2 changed files
with
43 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |