Skip to content

Instantly share code, notes, and snippets.

@dchest
Created January 16, 2011 13:51
Show Gist options
  • Save dchest/781798 to your computer and use it in GitHub Desktop.
Save dchest/781798 to your computer and use it in GitHub Desktop.
fossil add doesn't ignore files specified in ignore-glob. This uses fossil-extra to add any extra files in repo to fossil (because extra uses ignore-glob).
#!/bin/sh
fossil extra | tr '\n' '\0' | xargs -0 -t fossil add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment