Complete Git Setup on New Linux Server

  • Installation
    sudo apt-get install git
  • Save Git Password
    git config credential.helper store
  • Ignore file Permissions
    git config core.fileMode false
  • Set Global Name & Email
    git config --global user.name "Ganesh Bhosale"
    git config --global user.email "gdb.sci123@gmail.com"
  • Set Push Default Mode
    git config --global push.default simple

Leave a Reply

Your email address will not be published. Required fields are marked *