cp tous les fichiers sauf .git
#To copy all files except one (ex: .git) do following ;) :
rsync -rv --exclude=.git source_folder destiny_folder
Armandres
#To copy all files except one (ex: .git) do following ;) :
rsync -rv --exclude=.git source_folder destiny_folder