简体   繁体   中英

Git is not pushing repository to github

I have added and committed my project. I created a remote repository. I used git remote add origin https.. to my repository. When I use git push origin master, it says Everything up-to-date, but nothing is showing up on github. Github just has it listed as created.

Check if there is still changes in your status by using git status . If yes then add them all git add . If you did not commited on git bash yet, then do it git commit -a -m ”your message”'. Then git push origin master .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM