i have local git repository called "web" clone of remote (origin) repository. pull repo keep web date , when git diff origin/master copy has not diverged origin.
however have local repository called "web2" original copy of remote repository (origin). old version linked origin , can pull latest changes remote. web2 has old commit history has diverged origin.
i work on old web2 version , move changes/patches cloned "web" version when push web, not bringing obsolete files , code remote. other developer pulls origin potentially can create lot of problems.
so possible work on old web2 version fetch changes web without pulling or merging , bringing outdated code web should clean upstream?
or better if created "test" branch web merge differences web (master) therefore not having work on old web2 version @ all?
try using git fetch/rebase in web2 directory insert commits remote local branch can easilly push remote branch no conflicts
Comments
Post a Comment