CP Todos os arquivos, exceto .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