I have two local Git repositories. I cloned one from the other with the command:
git clone /path/to/local/repo/1
I made a couple of changes to each Git repository. Now I want to merge/update the changes of local_repo_1 to local_repo_2 (i.e. in this scenario, local_repo_1 is like a remote git repo that I want to pull the changes from). Is there a way to do this?
I have tried the following:
git add --all
git commit -m "message"
git fetch /path/to/local/repo/1
git pull
I get the response "Already up to date". So how do I update my local Git repo from another git repo? Is there a way to do this?