N
N
ndsdmfwg2014-01-23 10:24:03
git
ndsdmfwg, 2014-01-23 10:24:03

How to commit changes from a remote git repository to a local one?

Tell me how to do it, or rather why it didn’t work out for me:
1. I created the repository github.com/alekseevich/autorm
2. I asked to comment out and make me a pull regvest
3. they did it for me, and I accepted it
How can I apply these changes to the local your repository?
When I do a fetch, nothing happens.
What's the matter here?
Write, if not difficult, as in theory it should be like this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akashtrih, 2014-01-23
@ndsdmfwg

git pull <remote> <branch>
In short: with the command git fetchyou get the change history of the remote repository without applying it to the working directory. It can be viewed by the team git log. To apply these changes, you need to do git merge origin/master. The analogue of sequential execution of git fetch and git merge is the command git pull.
You can get help on git commands by typing git help <команда>. For example, git help pull.
On the subject, read from this page and then another page 2-3, ending with git pull. But in general, the book is quite compact, I recommend spending a couple of days reading it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question