简体   繁体   中英

git project not showing on github page

I recently made a project from scratch and uploaded into GitHub.After pushing i my files did not get uploaded into the folder i created in GitHub. However showing a notification to compare and pull requests. When I press compare and pull request page shows the code with no option to compare and pull request. This happens when I only send files from scratch if contribute to any other PROJECT no issues. Also, I can upload files directly to Github (not via terminal using upload button)

在此处输入图像描述

Attaching screenshot

在此处输入图像描述

You are pushing your code to a branch named master (and a branch named navbar ), but the default branch GitHub created for your project is named main .

You can also go into your project settings and to change which branch is the default that is shown when you initially visit the web interface.

Above the list of project files, there is a drop down menu that you can use to choose which branch you are currently looking at.

It's because you pushed it to other branches. Click the branches menu and you'll get the 3 options

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