1

I've made lots of changes on a cloned git repository. Now I want the master to look exactly like the cloned copy - what command do I need to execute to that the master syncs with the clone?

Duplicate of: Git - pulling changes from clone back onto the master

Community
  • 1
  • 1
Newbie Git
  • 1,171
  • 1
  • 8
  • 7

1 Answers1

2

Assuming you cloned the repository with:

git clone >>wherever<<

you push it back (from the copy) with:

git push origin master

Note that master stands for master branch of your repository and origin is automatically created reference to the original repository.

Tomo
  • 3,431
  • 5
  • 25
  • 28