git - Check the status after changing the file and committing it. The prompt "There are file changes that need to be pushed to the remote library" is not displayed.
巴扎黑
巴扎黑 2017-05-02 09:29:20
0
1
865

It works fine if you have a remote library push, but it does not display master on the local your branch is up-to-date with 'origin/master' branch.

After searching for a long time, I found that there was no prompt message after I did this operation. .

git remote rm origin
git remote add origin git@github.com:username/repository.git
巴扎黑
巴扎黑

reply all(1)
漂亮男人

Solved. . One line of command is missing:

git push -u origin master
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template