git相关

配置.gitconfig

  • git push 免去 origin master 记录在~/.gitconfig
git config --global push.default 
  • git push 输入一次后免账号密码 记录在~/.git-credentials
git config --global credential.helper store

cat ~/.git-credentials
https://netgene:test123@bitbucket.org