Prerequisites
You need the following on macOS before you start:
- Homebrew installed (package manager for macOS).
- emacs installed
- git installed
If you do not have Homebrew yet, install it from the official Homebrew website before proceeding.
First steps using Magit with Emacs
- Open Emacs and install Magit:
| |
- Open Magit with:
| |
- To test Magit:
- After modifying your source code, stash your changes with s and commit with c.
- Write a commit message and quit with C-c and C-c
- Push your changes with P and p