-
Notifications
You must be signed in to change notification settings - Fork 121
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
Helper function to checkout a branch on github from a web browser #494
Comments
What's the best way to do this within caster? Another function in |
Perhaps .caster could have a toml matching BASEURL to user folders |
That would be tricky
The install folder for the classic install is the local repo. If I'm understanding your definition of local repo and not the remote. |
Not sure what you mean by this. To be clear, this feature would work for any github repository for which the user has a local copy. I believe my idea of having a .toml of BASEURLs and user folders would work to link the copied URL to the local folder. |
How does one copy a selection to a python object within caster? I want to do something like |
from alexboche: |
I have made a start but haven't been able to get |
You could do See Atom.py for some of this in action. I would link directly but I'm on mobile. |
This is almost done in #498. Closing here. |
Just thinking about ways to do this
One can fetch using e.g.:
which puts the new branch into FETCH_HEAD. Then we can check it out as a new branch like:
Then you're done! So, the process would be (from a PR main page):
BASEURL/pull/PULLID
)/pull/
."https://github.com/"
with ""The text was updated successfully, but these errors were encountered: