Skip to main content
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....
HappyFace's user avatar
  • 920
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 ...
Tianxiang Xiong's user avatar
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 ...
tarsius's user avatar
  • 26.3k
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/
irregular's user avatar
  • 1,032
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 ...
db48x's user avatar
  • 19.1k
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 #+...
doltes's user avatar
  • 607
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 ...
slackline's user avatar
  • 367
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 ...
tarsius's user avatar
  • 26.3k
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) (...
serv-inc's user avatar
  • 848
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. ...
shoshin's user avatar
  • 914
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 ...
xuchunyang's user avatar
  • 14.8k
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.
A_P's user avatar
  • 672
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 ...
tarsius's user avatar
  • 26.3k
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`." (...
tarsius's user avatar
  • 26.3k
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à
Pedro Delfino's user avatar
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 ...
db48x's user avatar
  • 19.1k
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 ...
Lorem Ipsum's user avatar
  • 4,577
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 ...
tarsius's user avatar
  • 26.3k
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 ...
tarsius's user avatar
  • 26.3k

Only top scored, non community-wiki answers of a minimum length are eligible