Fork me on GitHub
#emacs
<
2018-11-09
>
bhauman22:11:44

OK I’m finally setting up magit, any tips??

practicalli-john09:11:36

@bhauman I use magic to try out pull requests easily, for example https://practicalli.github.io/spacemacs/magit/testing-pull-requests.html This may require the Magithub package https://github.com/vermiculus/magithub You can also create a local git repository just by opening magic status in directory that isn’t currently in git version control https://practicalli.github.io/spacemacs/magit/create-local-repository.html M opens the remote menu and allows you to add a shared repository (e.g github repo) to you local repo https://practicalli.github.io/spacemacs/magit/remote-repositories.html

👍 4
bhauman16:11:33

@U05254DQM thanks this is all very helpful!!

theeternalpulse21:11:35

I love reflog current from status > log > reflog current. Shows only things I've done to the repo in detail.

danielcompton06:11:48

I found the Magithub package was extremely slow, to the point of unusability on repos with many GitHub issues. It also seemed to have some issues with downloading CI statuses, it would break the whole magit status buffer. YMMV of course

practicalli-john12:11:44

@U051KLSJF yes, Magithub can be very slow if it is always checking for issues and pull requests each time you open magit-status. In a fairly recent update on the Spacemacs develop branch Magithub is set to be off-line by default and you can use SPC u in front of g r to update the status and check Github issues and pr's. Off-line by default restores magit-status to its normal speedy self.

mccraigmccraig22:11:43

M-x magit-status and then h will guide you through everything

☝️ 4
lispers-anonymous23:11:03

When I learned magit I turned off my ssh agent stuff so I had to enter a password to make commits to github/lab. It's easy to hit the wrong key and do something you didn't intend. I turned it back on after I was more comfortable with magit.

bhauman23:11:55

@mccraigmccraig yeah its pretty dang intuitive

dpsutton23:11:10

I have forgotten command line and I don't miss it

dadair23:11:28

:thumbsup: Anytime I question the clear superiority of Emacs I’m brought back by Magit specifically

dpsutton23:11:50

Pressing "?" In any magit buffer should teach you everything you need

emacs 8
practicalli-john09:11:36

@bhauman I use magic to try out pull requests easily, for example https://practicalli.github.io/spacemacs/magit/testing-pull-requests.html This may require the Magithub package https://github.com/vermiculus/magithub You can also create a local git repository just by opening magic status in directory that isn’t currently in git version control https://practicalli.github.io/spacemacs/magit/create-local-repository.html M opens the remote menu and allows you to add a shared repository (e.g github repo) to you local repo https://practicalli.github.io/spacemacs/magit/remote-repositories.html

👍 4