I have a problem with git pull, my problem is the following:
I make a:
git add .
git commit -m "Message"
git pull origin <remote>
and get this:
Already up-to-date.
but not merge my local files with the changes that are in the remote repository!.
How can I do for force it ?
my
git status
get nothing to commit (working directory clean)
Note: before of make pull, I did a push -f origin of a git reset –hard SHA1_HASH (IN THE REMOTE REPOSITORY)
Thanks!
This is how you create a repo on GitHub
Once you do that (say you named it
MyRepo), branch off youroriginand work on that branch. When you need to push stuff back to your origin, what you do is:If you have RSA key configured with github you don’t need to enter your credentials. Then you pull request from origin.