Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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

This is Git question rather than WinSCP question. Consider asking of Stack Overflow or similar site. Please, post a link here if you do.
abramesd

martin wrote:

It should work. But I wouldn't do it.


I am doing the same thing and I have to use WINscp because I can't get the SSH connection to work reliably in git. So it is nice to know "it should work" and I really don't care if it overkill but I don't want to mess up the git repository so can you explain why you would not do this?
Thank You
martin

It should work. But I wouldn't do it.
kanlukasz

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
martin

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?
kanlukasz

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