i still git learner beginner's error.
i cloned repository github, created own branch assmption can push new branch github. then, developed feature, discover cannot sync github, because have needed fork repository first.
now have created fork. however, how can merge local commits cannot synced github fork? there easy way or need copy changes (there many files involved) manually?
your clone tied original github repository remote address
if change remote old repository new one, can push new branch normal
from github pages
git remote set-url origin https://github.com/username/otherrepository.git
then when push , pull come , new repository
Comments
Post a Comment