-
-
Notifications
You must be signed in to change notification settings - Fork 851
Document Git worktree #1255
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
Document Git worktree #1255
Conversation
$ cd ../main | ||
$ git checkout my-feature-branch | ||
... | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are more steps needed to configure pulls from upstream and pushes to origin (personal fork)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've committed Ezio's suggestion that shows a more concrete example of pushing and switching back, how does 3b26368
(#1255) look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the git worktree addition and the editorcofig addition seem unrelated - any reason to do both in the same PR?
I added them to help whilst making this PR, and seemed easier to keep them together, but I can split it to another PR if you like? |
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
My personal preference is one-theme-per-commit, but this change is small enough that it's not critical, so up to you! |
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG!
Co-authored-by: Itamar Oren <itamarost@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice; thanks, Hugo.
Thanks all for the reviews! |
Fixes #105.
Based on the instructions in the first post there. I've been using this for a couple of months.
Also add the .editorconfig from CPython and add some handy pre-commit hooks.
📚 Documentation preview 📚: https://cpython-devguide--1255.org.readthedocs.build/getting-started/git-boot-camp/#git-worktree