(Install magit from elpa/melpa first)
Run once under terminal/command prompt:
- git clone https://github.com/AAA/BBB.git & cd BBB(if required)
- if start from scratch, run "git init" instead
Run as you change code / debug under emacs :
- M-x magit-status (to bring up magit)
- S (= git add .)
- c c MMM C-c C-c (= git commit -m "MMM")
- P p (= git push origin master)
沒有留言:
張貼留言