Register / Login
Win a copy of
Java EE 8 High Performance
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other IDEs, Version Control
How to push your local repo into your fork and delete all different files on fork?
posted 2 years ago
I wanted to sync upstream with my local repo. I did :
git reset --hard upstream/master git pull http://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
Now I have my fork not synchronized with my original repo and my local repo.
How to sync my fork with my local repo or original repo?
P.S. On my fork there are files which are not in my local nor original repo? I want them to be deleted on sync.
To earn money on java go to upwork.com
Boost this thread!
A git merge question!!
How to remove changes done to a certain member from my queue in GIT.
A struts2 skeleton project