adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.62k forks source link

gists still use master branch #15346

Closed marcin-chwedczuk closed 3 years ago

marcin-chwedczuk commented 3 years ago

Prerequisites

For more information on how to write a good bug report read here For more information on how to contribute read here

Description

Looks like Gists are still using master as their "root" branch. I wanted to create a Gist with images so I followed this guide: https://gist.github.com/mroderick/1afdd71aa69f6b29601d335751a1a9be and indeed pushing master works. On the other hand:

$ git fetch origin main
fatal: couldn't find remote ref main

Since I use aliases to work with git, it would be good to standardise on a single name.

[Description of the bug or feature]

Steps to Reproduce

Just follow guide: https://gist.github.com/mroderick/1afdd71aa69f6b29601d335751a1a9be

Expected behavior: [What you expected to happen]

main branch should be used.

Actual behavior: [What actually happened]

master branch is used.

Versions

macOS git version 2.31.1

Probably doesn't matter.

marcin-chwedczuk commented 3 years ago

Sorry guys, this one should go to GitHub 😓

For some reasons you are the first link in Google: image\

Sorry for the noise.