CP todos los archivos excepto .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