Skip to content

Web page suggestion: use git branch --set-upstream-to #3

@nicozanf

Description

@nicozanf

In the web page https://tech.michaelaltfield.net/2020/07/23/sphinx-rtd-github-pages-2/ the git commands you describe are not bullet proof. I think you should add the following commands just after creating the dev branch (on the 'Versioning' chapter):

git branch --set-upstream-to=origin/master master
git branch --set-upstream-to=origin/dev dev

Otherwise, you'll get some errors in the following instructions, like what is reported here https://stackoverflow.com/questions/32056324/there-is-no-tracking-information-for-the-current-branch. You don't see these errors probably because you've cloned the repository and not set it up from scratch as you describe and as I've done.

Also, maybe you could move the instructions on how to "to install the git python module" here instead than later on the chapter "Updating buildDocs.sh"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions