Skip to content
Christopher Dunn edited this page Jun 10, 2015 · 5 revisions

Best examples

We strongly recommend that you clone that and try those examples.

Running

But to get started, you can test it right here. The links directory has some examples.

$ ls -l links/foo
lrwxr-xr-x  1 cdunn2001  staff  15 Jun 10 09:44 links/foo -> ../.git_sym/foo

For this example, a file called foo needs to exist in your home directory, because that is where our makefile looks for it:

$ cat git_sym.makefile
foo:
	cp -f ~/foo $@

$ touch ~/foo

Then, just run git-sym update:

git-sym update links/foo
# or
# python git_sym.py update links/foo
cat links/foo

Clone this wiki locally