Questions tagged [github]
The github tag has no summary.
30 questions
0
votes
1
answer
360
views
how to get emacs to "login" to github copilot, when using the "copilot-chat" package
How to force "copilot-chat" to login to my github account?
I am trying to use "copilot-chat" in emacs, instead of having a separate browser window open where I ask it to find me ...
1
vote
1
answer
553
views
Can I see Pull Request comments in Emacs using Magit and Forge?
I am still pretty new to using Magit and Forge in emacs, but I have not found an answer to this question in the docs or videos.
Here is the situation. So I have a draft pull request submitted on ...
0
votes
0
answers
57
views
Org Babel generated graphics and GitHub display
I'd like to build README.org files with graphics that properly render on GitHub.
Currently I find that, for example, emacs-jupyter babel blocks render images locally via file:./path/to/file.png. ...
1
vote
1
answer
783
views
How to checkout a Pull Request locally using Magit interface?
Suppose someone (not me) submitted a Pull Request on GitHub.
Locally, I would like to run that work. Hence, I need to have the code locally. Following this documentation, I can achieve that in the ...
0
votes
0
answers
182
views
Forcing orgmode page breaks on Git
When I create org documents I make sure that I have this setting in my init.el file:
'(org-export-preserve-breaks t)
One can also use #+OPTIONS: \n:t on a file-per-file basis to force org to ...
0
votes
1
answer
278
views
Emacs magit does not seem to push (No changes on github web. Tried both https and ssh)
In a local repo, I staged all my changes and added a commit message. Then, I pushed my commits using magit-push and pushed to my branch upstream origin/master. Right after I do that, the mini-buffer ...
3
votes
1
answer
892
views
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 ...
5
votes
2
answers
359
views
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 ...
0
votes
2
answers
1k
views
Using straight.el to develop your own package which is also on github
I am considering using straight.el, but reading the docs, I have difficulties to understand whether the particular use cases I am interested in are handled as I hope to. Here are the cases:
I have ...
2
votes
1
answer
586
views
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 ...
0
votes
0
answers
154
views
How to properly install and use package dependencies in Travis CI
Backstory
Hi, I am developing a library that easily transforms JSON alists into EIEIO objects, jeison. It sounds pretty obvious and a duplicate of json.el functionality, but it is a bit trickier than ...
0
votes
0
answers
185
views
Connection problem to Github
When I try to evaluate a Quelpa expression that fetches a package from Github, it throws the following error
Debugger entered--Lisp error: (error "Command ’(env LC_ALL=C git clone https://github.com/...
2
votes
2
answers
3k
views
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: ...
3
votes
2
answers
1k
views
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 ...
2
votes
0
answers
207
views
images on github wiki and PDF export
I have a org-mode document, with some inline images:
[[path/to/image.png]]
These render properly on GitHub wikis, but fail when I use org-latex-export-to-pdf. However, I can get the pdf export to ...
0
votes
0
answers
33
views
Online code usage search in emacs
I am pretty sure I have seen some service, with an emacs plugin, that does something like the following: whenever you're programming and type a function name it'll show example usages of the function ...
1
vote
1
answer
464
views
Magit pushing through tramp does not work
Hi guys I'm on a osx machine and I want to push commits from a remote machine through tramp to github. I open the directory in dired on the remote machine which works fine and type M-x magit status ...
0
votes
1
answer
318
views
Magit fetch all repos from GitHub
I have just installed Magit and so far all is going great! However, I have a lot of GitHub repos that I would like to fetch via Magit. Is there a way to fetch all repos from GitHub?
3
votes
2
answers
4k
views
How to set up Magit to access a GitHub repository?
How can I set up Magit to access a GitHub repository?
7
votes
2
answers
7k
views
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 ...
8
votes
2
answers
4k
views
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 ...
0
votes
1
answer
959
views
spacemacs, problem with irony package when getting irony* from github as alternative location
I'm using spacemacs devel.
I've added following private layer using M-x configuration-layer/create-layer
(setq irony-packages
'(
company-irony
company-irony-c-headers
...
7
votes
2
answers
4k
views
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 align="center"
[[/path/to/...
3
votes
1
answer
788
views
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 ...
6
votes
3
answers
497
views
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 = +...
6
votes
1
answer
460
views
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 <title> RET <comment> RET
Ideally, the command would default to the ...
18
votes
2
answers
2k
views
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)?
9
votes
1
answer
401
views
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 ...
4
votes
2
answers
272
views
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 ...
19
votes
1
answer
5k
views
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 ...