I have various Git projects that are on my local machine. I have a server that I would like to use as my remote Git Repository. How do I move my local Git Repositories (Projects) to my server while keeping the history intact?
Thanks!
EDIT:
Thanks for all the great answers. The response I choose makes sense to my limited GIT knowledge.
EDIT #2:
I noticed my original answer selection did not copy my tags. git push --mirror <path> does copy tags.
On your server create the git repositories as bare repository
then, push the commits of your local repository