In a local repo, I staged all my changes and added a commit message. Then, I pushed my commits using
magit-push and pushed to my branch upstream
origin/master. Right after I do that, the mini-buffer said something like
Git<1> finished. I have tried to setup the repo to use both https and ssh. When I use ssh, magit would ask for the passphrase like the example below. When I use https, it did not ask. Either way, both does not seem to push to github.
magit-process buffer, the log looks like this:
Pushing to github.com:username/reponame.git Enter passphrase for key '......bla blah To github.com:username/reponame.git =[up to date] master -> master updating local tracking ref 'refs/remotes/origin/master' Everything up-to-date
I then checked my github via web, and the changes are not pushed. After 5-10 minutes, the changes are still not pushed. Back to emacs, the
magit-process buffer still said the same thing "Everything up to date". There are no messages/warnings in the
If I try to forcefully quit emacs, I would get an error that an active process is running. There is another buffer that pops up and shows the process
- name: git
- PID number
- status: run
- buffer (magit-process)
- command it runs is:
git --no-pager --literal-pathspecs -c core.preloadIndex=true -c log.showSignature=false -c color.ui=false -c color.diff=false commit --
I have to forcefully quit emacs with
xkill on Linux to close it. Otherwise, emacs would just stay there and try to run the above command (
git --no-pager blah blah).
Note that if I try this on a Terminal, with your typical:
git add .
git commit -m "Some messages"
- git push
Then it works for both ssh and https and I can see the updated changes on my github web. Any help is greatly appreciated.