I'm locally working on a project, and pushing everything to a remote repository. I've recently found that my hosting provider offers a git client, so instead of generating and applying patches once in a while (I've SSH access) I could use that. Cloning the repository isn't the good way because:
- It copies the whole thing every time;
- Some files are edited after the copy (a couple of configurations).
What would be the best way to do this?
(Is there a way to have just the files without the .git
folder?)