git: import changes form non git repository

Posted by takeshin on Stack Overflow See other posts from Stack Overflow or by takeshin
Published on 2010-05-31T11:30:18Z Indexed on 2010/05/31 11:32 UTC
Read the original article Hit count: 219

Filed under:
|
|

Scenario:

  • Local git repo, default master branch
  • FTP server with content of the repo (non git), synchronized daily with the local repo, master branch

Workflow:

  • user1 is working on local git repo (git add, working directory clean)
  • user2 (non git user) changed files directly on the FTP server

How can I import all files changed on FTP to the local git repo and see what has changed?

© Stack Overflow or respective owner

Related posts about git

Related posts about ftp