Git - working working copy is similar to working copy of clones
I made a lot of changes to the cloned git repository. Now I want the master to look exactly like the cloned copy - what command do I need to run to get the master to sync with the clone?
Duplicate: Git - pulling changes from clone back to master
+1
Newbie git
source
to share
1 answer
Assuming you cloned the repository with:
git clone >>wherever<<
you push it back (out of the copy) with
git push origin master
Note that the master designates the master branch of your repository, and the origin is automatically generated by linking to the original repository.
+2
Tomo
source
to share