Skip to content
Christopher Dunn edited this page Nov 16, 2016 · 4 revisions

How can I avoid git clean -xdf removing my .git-sym symlink!

Use this alias:

git config --global alias.cleanx 'clean -x -e .git-sym'

How can I make git-sym update run automatically?

Add a post-checkout script as .git/hooks/post-checkout:

#!/bin/sh
exec git sym -v update

Why do I see text files instead of symlink?

Because you have core.symlinks = false in your ~/.gitconfig


Why do I see a stack-trace with raise Exception(symlink)?

Possibly you deleted a symlink that git-sym was tracking. Try

# After you are sure that you do not need any uncommitted files,
git reset --hard

Clone this wiki locally