Skip to content

Conversation

@borpin
Copy link
Contributor

@borpin borpin commented Aug 22, 2018

Add the Git URL and the branch into the administration module. When answering queries, it is often useful to know which branch the user is on as some questions may have already been solved in the master branch.

I have taken the URL from ls-remote. Not being an expert on Git this may not be the best method but was the only one I could find to just get the origin URL.

Add the git URL and the branch into the administration module.  When answering queries, it is often useful to know which branch the user is on as some questions may have already been solved in the master branch.

I have taken the URL from ls-remote. Not being an expert on Git this may not be the best method but was the only one I could find to just get the origin URL.
@glynhudson
Copy link
Member

Nice, good idea. This works well

selection_291

@glynhudson glynhudson merged commit 5cb0097 into emoncms:master Aug 23, 2018
@glynhudson
Copy link
Member

Mmm it seems it doesnt want to update the branch on the admin page after I change the branch. I've tried clearing cache but it still shows that I'm on the symlinked_modules branch when I've changed to master branch

selection_292

$ git branch will return the current branch name.

@borpin
Copy link
Contributor Author

borpin commented Aug 23, 2018

Odd, must say I didn't actually try and switch branches 😦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants