-
Notifications
You must be signed in to change notification settings - Fork 2
Examples
Christopher Dunn edited this page Jun 12, 2015
·
5 revisions
We strongly recommend that you install git-sym, clone git-sym-test, and try those examples.
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 simply
git-sym update
cat links/foo