nus-cs2103-AY2122S2 / forum

13 stars 1 forks source link

Anyone knows what's happening with this dot? #162

Closed Jacky142857 closed 2 years ago

Jacky142857 commented 2 years ago

png I tried to set a theme on github then deleted the pull request of this set theme, and pulled to my local machine

damithc commented 2 years ago

@Jacky142857 let's wait to see if someone can explain what's happening. In the meantime, it's nothing to worry about.

domlimm commented 2 years ago

Hello @Jacky142857 ! I believe this means that the initial branch that was created to add this commit, Set theme jekyll-theme-cayman, in is no longer in your repository remotely.

I think you could try looking into git prune here, to remove that 🔴. I might be wrong!

damithc commented 2 years ago

Hello @Jacky142857 ! I believe this means that the initial branch that was created to add this commit, Set theme jekyll-theme-cayman, in is no longer in your repository remotely.

I think you could try looking into git prune here, to remove that 🔴. I might be wrong!

Nope, that's not it :-)

domlimm commented 2 years ago

@damithc Could it be... Jacky's local branches got detached from the origin/gh-pages branch?

damithc commented 2 years ago

@domlimm If you do a fetch from your fork, you'll find that you have a similar situation in your fork too :-)

charmainehly commented 2 years ago

I'm wondering if the red dot indicates the "delete" action you carried out on the PR?

As my IDE shows a red dot at the relevant directories/subdirectories in my local repository if there happen to be some files or code deleted when I pull and merge branches?

damithc commented 2 years ago

Guys, It's actually a special branch named gh-pages created by GitHub (the 'Pages' feature of GitHub), to host your repo website. It appears as a dot because there is only one commit at this time. Every time you push a commit to the master branch, GitHub will automatically build a new version of the website and push that version as a new commit to the gh-pages branch. The color red is a random choice by SourceTree -- doesn't mean anything.

nus-se-bot commented 2 years ago

@Jacky142857 A gentle reminder to close this issue if the problem has been resolved. If not resolved yet, please post a comment explaining which part of the problem/question remains unresolved.