Welcome to n00bsland!
Everybody should remember where there come from. Including their repos.
Why you ask? Becase git merge :/
I recently edited a few files in my branch of a repo and created pull request. Well guess what? The master had moved forward.
So the usual-
1. Delete local repo
2. Add remote upstream <parent_repo_link>
git remote add upstream <parent_repo_link>
3. Update local copy.
git fetch upstream
4. Create changes (again >_<)
5. Commit and pull.
Don't be a n00b, always add upstream repo.
No comments:
Post a Comment