S
S
seil12021-08-01 00:38:41
git
seil1, 2021-08-01 00:38:41

How do I download missing files to a local Git repository?

Several people work on the project, they create files and send them to a remote repository using git push, after I sit down to work, I have to clean the working folder and clone this repository to populate it with new files.

git pull writes that nothing needs to be updated, I searched on Google, but basically information on how to restore a file deleted in the local repository, but located on the remote one.

Is it possible to simply resume missing files (including changes to existing ones) without overwriting the working folder in the way described above?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2021-08-01
@Casufi

It looks like you are on different branches.
git branch or git checkout -b did before it worked?
Remote repository on which hosting (bitbucket, github, own server?) Can you
see other people's commits on the remote server?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question