Questions tagged [github]
28 questions
19
votes
1 answer
GitHub Markdown Mode
Is there an Emacs mode for GitHub Flavored Markdown?
GitHub Flavored Markdown adds a number of features to traditional Markdown: underscore handling, url autolinking, strikethrough, and tables. It would be nice to have an Emacs mode that supports…

Matthew Piziak
- 5,958
- 3
- 29
- 77
18
votes
2 answers
Can I sync github issues and milestones with org-mode?
Is it possible to effectively use org-mode as a front end to github issues and milestones (with two way sync)?

David LeBauer
- 433
- 2
- 10
9
votes
1 answer
How do I verify a large package in a git repo is safe?
I'm looking at emacs helm specifically, which has the following properties:
it has thousands of commits
it is largely maintained by one user
the maintainer has no other profiles (social media, etc.) I was able to find on a few searches
it is…

djechlin
- 923
- 8
- 21
8
votes
1 answer
Magit and GitHub personal access tokens
What is the best way to use Magit with GitHub personal access tokens?
Right now, pushing to GitHub causes Magit to prompt me for a username and password. I have to provide the access token instead of my regular password to authenticate.
Apparently,…

Tianxiang Xiong
- 3,848
- 16
- 27
6
votes
2 answers
Center image in GitHub's README.org
I want to center an image in my project's GitHub README.org file, but everything I've tried so far hasn't worked:
#+ATTR_HTML style="center"
[[/path/to/img.png]]
#+ATTR_HTML…

Alex Shroyer
- 627
- 4
- 12
6
votes
3 answers
Viewing Github PRs in Magit 2.1.0
In the previous version of Magit, I learned
from oremacs that you can
view and checkout Github pull-requests in Magit by adding the
following line to a remote's definition in .git/config.
fetch = +refs/pull/*/head:refs/pull/origin/*
With this, I…

Malabarba
- 22,878
- 6
- 78
- 163
6
votes
1 answer
Create GitHub issue for current repository
I'd like to be able to create GitHub issues from Emacs using a simple command, e.g.
M-x create-github-issue RET RET RET
Ideally, the command would default to the current repo when called from a buffer visiting a file that belongs…

itsjeyd
- 14,586
- 3
- 58
- 87
5
votes
2 answers
Magit how to use ssh key rather than being prompted for password
I've seen the question here but I'm not sure if the same solution would apply to me
Magit, how to use system's ssh agent and don't ask for password
I'm on Emacs 25.1 / Ubuntu 16.04. I've just set up SSH-keys according to…

irregular
- 962
- 1
- 9
- 21
4
votes
2 answers
Fetch configuration from remote (e.g. Github) at startup
I have to work on multiple different machines and it would be nice to keep my .emacs file consistent everywhere.
Question: is there a package which allows to update the file at startup from a remote location such as github or via ssh?

Beginner
- 2,661
- 3
- 17
- 25
4
votes
2 answers
org-babel: Make results always quote the returned value in #+begin_example
Github's org parser has a bug where they mistakenly show
#+begin_src bsh.dash :results verbatim :exports both
echo | time possiblycat 1000
#+end_src
#+RESULTS:
:
: possiblycat 1000 0.00s user 0.00s system 75% cpu 0.006 total; max RSS 1852
as
(I…

HappyFace
- 751
- 4
- 16
3
votes
1 answer
How to keep magit from prompting me for my GitHub username
I'd like to configure magit so that it does not prompt me for my GitHub username when it needs to interact with GitHub in some way (like, say, when doing a push).
My GitHub username is already in the github.user elisp variable and git variable,…

izkon
- 1,798
- 10
- 23
3
votes
2 answers
How to configure git and magit to stream line making pull requests?
From the main repository on github, I created a fork on github and I keep the master branch of my fork up to date with the main repository by doing:
git checkout master
git pull upstream master
git push
where upstream is set to the URL of the main…

pedz
- 365
- 1
- 12
3
votes
1 answer
Dropbox packages and config
I'm testing out emacs today and I'm trying to sync config and packages to my dropbox.
The solution I used with vim is what I'm planning for emacs
Create a .emacs.d directory on dropbox
Put an init.el file within that directory
Create a link from…

Simon
- 411
- 6
- 15
2
votes
1 answer
Browse line range of file in GitHub with Magit
Is it possible to select a range of code and open it in GitHub using Magit? I use the browse-at-remote package for this, but I wonder if this could be done from Magit. I'd like to navigate both from code selection and from a commit diff. Also, I'd…

Juan Herrero Diaz
- 193
- 1
- 3
2
votes
2 answers
How to create a new repository on Github from Magit
I am unable to add a remote repo to github if it does not already exist on github.
E.g.
magit-init
Add some files, stage and commit.
Then magit-remote-add --> Remote name:github --> Remote url: https://github.com/username/repoName.git
This fails…

joelnNC
- 123
- 4