New answers tagged git
1
vote
Accepted
How to force a git checkout revision in Magit if there are unstaged changes?
Do a hard reset first, if you want to discard the changes. M-x magit-reset-hard (X h)
You can also do what is suggested, i.e. commit or stash.
2
votes
Accepted
Which option should I choose when executing "i' (Ignore) on Magit? Should Gitignore be shared in private, at the top level or in subdirectory?
Top-level is the folder at the root of your git repo (probably .emacs.d in yr case).
Choose t to write the ignores to .emacs.d/.gitignore which is probably what you want. But rather than hit i 37 ...
Top 50 recent answers are included
Related Tags
git × 240magit × 141
vc × 14
version-control × 13
mode-line × 9
org-mode × 8
dired × 7
microsoft-windows × 7
spacemacs × 6
ediff × 6
init-file × 5
helm × 5
projectile × 5
diff × 5
github × 5
emacsclient × 4
shell-command × 4
grep × 4
vc-mode × 4
osx × 3
tramp × 3
hooks × 3
ssh × 3
markdown-mode × 3
gpg × 3