6
votes
org-babel: Make results always quote the returned value in #+begin_example
I found the answer:
#+begin_src bsh.dash :results verbatim :exports both :wrap "example"
echo | time possiblycat 1000
#+end_src
#+RESULTS:
#+begin_example
possiblycat 1000 0.00s user 0....
5
votes
How to set up Magit to access a GitHub repository?
Use magit-clone to clone a GitHub (or any Git) repo
You can also clone via command line, of course, which I prefer
Open a file in the repo and call magit-status
It is convenient to bind this to a ...
5
votes
Accepted
How to set up Magit to access a GitHub repository?
Generally speaking you don't configure Magit to access a remote Git repository. Instead you configure git and because Magit uses git, Magit is then also able to do so.
Some issues can arise due to ...
5
votes
Magit how to use ssh key rather than being prompted for password
The issue was that the remote url was set to https rather than ssh
following these steps fixed the issue https://help.github.com/articles/changing-a-remote-s-url/
5
votes
Magit how to use ssh key rather than being prompted for password
Edit ~/.ssh/config so that it contains the following:
Host github.com
IdentitiesOnly yes
IdentityFile ~/.ssh/your_ssh_key
Then whenever magit asks git to ask ssh to talk to github.com, ssh will ...
5
votes
Accepted
org-babel: Make results always quote the returned value in #+begin_example
The org-babel-min-lines-for-block-output variable will help you accomplish this.
I've set the following in my configuration files in order to make #+RESULTS code blocks be always enclosed within #+...
3
votes
How to keep magit from prompting me for my GitHub username
I use pass and the password package in Emacs but for GitHub/GitLab interaction I use SSH keys. Upload your public key to your account and use something like keychain to store your keys on initial ...
3
votes
Accepted
Magit and GitHub personal access tokens
Magit doesn't deal with authentication directly and leaves that all to Git. The only thing Magit does is that when Git asks the user to provide a password or passphrase, then it forwards that question ...
3
votes
Accepted
Can I sync github issues and milestones with org-mode?
There seems to be a fork of org-sync which was last updated in December 2018. It is on MELPA. Installation:
M-x package-install RET org-sync RET
Add to initialization (.emacs or .emacs.d/init.el)
(...
3
votes
Accepted
How to configure git and magit to stream line making pull requests?
With magit, I would start the process with M-x magit-status or however you prefer to get there. In the status buffer press b to bring up the branching menu, and then press c to create a new branch. ...
2
votes
How to create a new repository on Github from Magit
You can use Ghub, for example, to create a new repository named "my-cool-project", simply run:
(ghub-post "/user/repos" '((name . "my-cool-project")))
If you want set the name of the repository to ...
2
votes
Accepted
How to create a new repository on Github from Magit
Emacs does not provide any direct functionality to interface with Github directly. Refer to this answer by one our members. He wrote an implementation to create repo from magit.
2
votes
How to configure git and magit to stream line making pull requests?
The convention is to name the upstream repository origin. I think it is a good idea to stick to that convention, but I guess naming the upstream repository upstream also makes a lot of sense. However ...
2
votes
Magit fetch all repos from GitHub
Magit does not come with a command to do that, but implementing it is easy.
(defun my-magit-fetch-all-repositories ()
"Run `magit-fetch-all' in all repositories returned by `magit-list-repos`."
(...
1
vote
Accepted
How to checkout a Pull Request locally using Magit interface?
Execute the instructions below:
1 - execute f
2 - press r as explicit refspec
3 - type origin (since terminal used origin, could be another thing...)
4 - type pull/ID/head:BRANCH_NAME
Voilà
1
vote
Emacs magit does not seem to push (No changes on github web. Tried both https and ssh)
Are you sure you finished the commit correctly? That command that is still running is git commit with some extra options, and the log indicates that git push didn’t have to update anything; the remote ...
1
vote
Accepted
Using straight.el to develop your own package which is also on github
I understand your concerns, but I'm not sure they're founded. Although I'm not a straight expert, I have been using it since at least November 2020. You're welcome to look at my init.
My ...
1
vote
Browse line range of file in GitHub with Magit
The magit extension forge supports visiting certain things in a browser, but currently that is limited to issues, pull-requests, commits and the repository itself.
Files and even locations within ...
1
vote
Magit pushing through tramp does not work
The interesting part of this is, when I log in onto the machine via a terminal session and do a git push there it works flawlessly. So I do have the proper access rights to the repository. The ssh key ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
github × 29magit × 13
git × 6
org-mode × 5
org-babel × 2
package × 2
images × 2
ssh × 2
forge × 2
org-export × 1
spacemacs × 1
helm × 1
tramp × 1
html × 1
markdown × 1
remote × 1
programming × 1
package-development × 1
passwords × 1
security × 1
irony-mode × 1
dash.el × 1
markup × 1
straight.el × 1
dependency × 1