Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub Markdown - Add current branch name

Just a short question:

Is it possible to show the current branch name in e.g. README.md automatically with a placeholder or something like that using GitHub Flavored Markdown?

like image 296
strnmn Avatar asked May 07 '15 11:05

strnmn


1 Answers

No, I'm not aware of anything like that within READMEs or any other markdown documents when browsing through the source of your project. And nothing turns up when searching their help page either.

However, GitHub Pages offers all sorts of info about the repo the document is associated with. Of course, GitHub Pages is a very different thing than a README file, so that may or may not be helpful to you.

like image 81
Waylan Avatar answered Nov 13 '22 04:11

Waylan