Discarding changes directly from the GIT server

Asked

Viewed 33 times

1

I’m having a giant problem, let’s say I have a system in my hands that has been updated via FTP and I needed the GIT area free without having to commit to what is different from the server , that is to somehow make GIT equal to the server so that another analyst can work on the system.

I don’t know if my question was clear

the worst that one of these files is Wordpress update via ftp that a company that takes care of the database did

  • let me get this straight, your local repository is different than the one that was uploaded to the server right? Why don’t you take the files from the server and update your location? Then you won’t complain about the differences

  • In case you get everything from the server, put it in place and then go up to git ?

  • 1

    you have all the files in your GIT right? (I mean local repository) and someone manually put the files on the server, and now it’s making a difference?

  • Exactly that , in case I should take the files from the server via ftp play on my machine and go up what is giving different in git ?

  • exact. provided that everything that is on your server is the most current and is what should be committed.

  • This is all right on the server, I’ll do it and see if it works

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.