Questions tagged [version-control]
The version-control tag has no summary.
54 questions
1 vote
1 answer
493 views
Getting started with version control
I have read https://www.emacswiki.org/emacs/VersionControl https://www.emacswiki.org/emacs/RevisionControlSystem but I'm missing something... What is the starting point? What do I need to install, if ...
0 votes
1 answer
346 views
Magit aborts commit that runs with husky precommit hook but the commit works on the command line
I'm a bit a bit stumped by an annoying problem that I'm having with magit. I'm working in a monorepo (lerna) repository that uses husky to run a precommit hook. The hook runs on packages that have ...
4 votes
1 answer
1k views
How to do a "git fetch --all --tags" in Magit?
I would like to pull changes from an upstream repository. More specifically, I would like to pull all the tags that were introduced. On the terminal, I can do: $ git fetch --all --tags On Magit, ...
2 votes
1 answer
807 views
Make Magit ignore certain files already added to git and to .gitignore
This question is related to this previous question. These two files below are under version control which causes some inconvenience in magit-status: Unstaged changes (2) modified .emacs.d/projectile-...
2 votes
0 answers
229 views
How to version control newsrc, e.g. Gnus .newsrc.eld in git
BRIEF: like the title says, I want to know how best to version control newsrc files such as Gnus .newsrc.eld and possibly the legacy .newsrc By "version control" I mean something like git/...
1 vote
1 answer
218 views
How can I disable ***all*** VC/git awareness?
Even when I start Emacs without any initialization file, it is still aware of version control. (For example, if I visit a git-controlled file, the modeline will say something like "Git:some-...
1 vote
0 answers
102 views
Linking source file in org mode with specific revision
I need org-mode version of links like this https://github.com/emacs-mirror/emacs/blob/cd2c1561636597c67edbf3daf10388e5385a93fc/etc/NEWS#L1119 for local files inside local repo. A way to specify not ...
0 votes
1 answer
978 views
Find a version controlled project's root?
Trying to deduce a project root, using vc I'm getting errors, involving strange non-ASCII characters. I.e. invoking (vc-find-root (expand-file-name (buffer-file-name (get-buffer "fname")))) I get ...