github for windows - How to restore tracking a repository -
i used "clone in desktop" on github repository, created clone (using github windows application) on local drive.
later accidentally clicked on "stop tracking repo" in github application. how can restore tracking back? there option "clone" fails because directory exists , not empty (i have changes in code avoid backing code , merging if there easier option.)
edit tracked original repository , clone locally stored in subfolder of default repository folder. that's why "clone" option failed. fixed "clone to" , selecting right folder clone. (i tested repo cloned default folder after "stop tracking repo" , clicking on clone, repo tracked again.)
the simplest option open shell github windows gui, , type:
git remote add origin https://github.com/user/repo
Comments
Post a Comment