pcrone: créer les fichiers .gitignore et .gitattributes
This commit is contained in:
parent
3c8b6f8d5f
commit
daafe41e63
10
uproject
10
uproject
|
@ -475,7 +475,15 @@ elif [ "$CMD" == crone ]; then
|
|||
else
|
||||
die "bug: mode non prévu"
|
||||
fi
|
||||
git_annex_initial "$destdir" || die
|
||||
if ask_yesno "Voulez-vous créer des fichiers .gitignore et .gitattributes initiaux?" O; then
|
||||
echo >"$destdir/.gitignore"
|
||||
echo >"$destdir/.gitattributes" "\
|
||||
*.zip -delta
|
||||
*.gz -delta
|
||||
*.bz2 -delta
|
||||
*.whl -delta
|
||||
*.exe -delta"
|
||||
fi
|
||||
|
||||
elif [ "$CMD" == xconfig-export ]; then
|
||||
unset GIT_DIR; unset GIT_WORK_TREE
|
||||
|
|
Loading…
Reference in New Issue