Git Alias Problem

前端 未结 5 1170
难免孤独
难免孤独 2021-02-01 22:30

I was trying to set up some git aliases by adding these lines to my ~/.gitconfig file:

[alias]
  st = status
  ci = commit
  br = branch
         


        
5条回答
  •  孤独总比滥情好
    2021-02-01 22:54

    Found the same problem in OSX after installing Foundation.

    The offending line in my .bash_profile was a malformed foundation export path. I didn't remove the /foundation at the end of the line, so it was pointing to a binary file, not a folder.

    Just fixed it, reloaded Terminal and everything worked again.

提交回复
热议问题