How to sync changes on my local server with the ones on the remote one without commiting?

前端 未结 1 559
攒了一身酷
攒了一身酷 2020-11-30 14:21

I\'m developing some software that requires me to use a remote server for testing if it works. I can\'t host a local version.

Anyway, I have git set up. The way I wo

相关标签:
1条回答
  • 2020-11-30 14:55

    It is a good practice to separate:

    • source code management (including the act of committing, which, in your case, should not happen at every little change)
    • release management (packaging and deployment)

    I can even skip sending it to the remote git server, I just want to sync files between my local machine and the development server.

    That is a release management process, like having a cron job doing regular rsync. But it has nothing to do with your SCM (here: Git), which won't have a native solution for that.

    0 讨论(0)
提交回复
热议问题