Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add git config alias for devguide #458
Comments
|
Do you need to update your local |
|
Hi @asvetlov, Thanks for you response
hmmm I think yes. Because this way you can create a branch from master to make the PR. If you have an old master branch maybe when you made the PR this can have some conflicts. This is for local (your computer) copy. Maybe could not be necessary have and updated copy on my own cpython fork (master branch) on Gihub, but if you follow the devguide, this mentions on https://devguide.python.org/gitbootcamp/#syncing-with-upstream the |
|
For that reason I create the alias. |
|
I use these ones:
```
pr = !sh -c \"git fetch upstream pull/${1}/head:pr_${1} && git checkout pr_${1}\" -
wpr = !bash -c \"git fetch upstream pull/${1}/head:pr_${1} && git worktree add ../$(basename $(git rev-parse --show-toplevel))-pr-${1} pr_${1}\" -
```
|
Hello everyboy!
I am not sure if here is the appropriate place to this issue. Sorry if not.
On gitbootcamp.rst there is a recommendation to made easy the creation of a branch for PR to test it. I am talking about this:
What about if is added something similar for maintain updated the CPython repo. I am thinking about something have (like result)
To avoid:
What do you think about that?
Thanks!
The text was updated successfully, but these errors were encountered: