I've never used a code source control system and I'm starting with GitHub and it looks amazing!
I read the guides and I think I can understand pretty well how it works, and I'm working with it already, but something is not clear to me: does GitHub automatically sync the changes in the original repo to my fork?
I've forked a project and according with the guide, since this point I have my own copy of the project and changes in the original repo shouldn't be made in my repo (that's what I've understood), but the project owner updated the original repo, I saw the change and liked it, but I didn't want to use it in my repo at the moment, I looked at my repo and the changes where not there, some hours later then I got back in my repo and the changes where there!
I didn't execute any command, nothing! I'm not complaining, I think it's really great, but I must be sure of how it works to think about how I'll develop.
My questions:
- GitHub automatically update my repo with the changes in the original repo?
- How often, once a day? If I push a change to my repo and then that file is updated in the original repo before I make a pull request, my changes will be deleted and my file overwriten or it will be merged?
- And what if there're conflicting changes of mine and the original repo?
Thankz in advance!