Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nicozanf opened this issue Nov 4, 2020 · 0 comments
Open

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

nicozanf opened this issue Nov 4, 2020 · 0 comments
Assignees

Comments

@nicozanf
Copy link

nicozanf commented Nov 4, 2020

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"

@maltfield maltfield self-assigned this Jan 20, 2021
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

No branches or pull requests

2 participants