[guardian-dev] git submodule trick
Abel Luck
abel at guardianproject.info
Wed Aug 1 15:23:24 EDT 2012
If you're tired of seeing these entries in your 'git status' due to
generated files in the submodules:
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: external/openssl (untracked content) <-- hate this!
Edit .git/config and add the marked line below:
[submodule "external/openssl"]
url = https://github.com/guardianproject/openssl-android.git
ignore = untracked # <--- add this line
This requires git >= 1.7.2
cheers!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 630 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20120801/952ded98/attachment.pgp>
More information about the Guardian-dev
mailing list