Created
April 23, 2014 01:46
-
-
Save guoxx/11200287 to your computer and use it in GitHub Desktop.
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
#!/bin/zsh | |
files=`git ls-files -co --exclude-standard` | |
sb_files=`git --no-pager submodule --quiet foreach 'git ls-files --full-name -co --exclude-standard | sed s!^!$path/!'` | |
all_files=$files$sb_files | |
echo $all_files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment