Is `Keep Remote Directory up to Date` option for the .git folder OK?

Advertisement

kanlukasz
Joined:
Posts:
11

Is `Keep Remote Directory up to Date` option for the .git folder OK?

Hello,

I would like to ask about the workflow.

I work with a project with the "Keep Remote Directory up to Date" WinSCP option. This gives me a good solution for working with local files using my favorite tools and the effect of working directly with remote files.

If we talk about favorite tools i mean GIT, and here is the question.
Is `Keep Remote Directory up to Date` option for the .git folder OK?

Is there any unusual risk associated with `.git` folder synchronization?
Or maybe do you have any better idea?

I am looking for the best way to work with git repository in VSCode & with files in WinSCP. That why i ask about it.

I'll be thankful for any advice

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
33,467
Location:
Prague, Czechia

Re: Is `Keep Remote Directory up to Date` option for the .git folder OK?

It seems like an overkill for me. Shouldn't you use git push over SSH git remote, instead of WinSCP?

Reply with quote

kanlukasz
Joined:
Posts:
11

Yes, I know that sounds ridiculous.
I'm just looking for a method that I can work with only the remote enviroment.
Git push is not a solution because all files are already updated because I use `Keep Remote Directory up to Date`.
Anyway thank you for answer

Reply with quote

Advertisement

You can post new topics in this forum