Changing the name of the committer in Xcode

i am working with an other developer in developing an iOS application and now he don’t work with us and i am working with his computer but the problem is when i push my code i am seeing his name appearing in the github. how i can change this and put my name appearing in the github. thanks for your answers.

  • Including submodules in git checkout to GIT_WORK_TREE in hook
  • How can I get my git (msysgit on windows) post-commit script to invoke my python script as python rather than bash?
  • Cannot push to Git with IntelliJ Idea12
  • git-svn create branch off past revision
  • How do I go to the latest commit from remote/master in git?
  • How to commit changes to a branch when head is “* (detached from <tag>)”
  • git: how to “consolidate” the local commits
  • Git - remove remote branch with a space in the branch name
  • Git checkout -b, branch already exists
  • Automate Deployments with Git, Bitbucket and PHP
  • how does monodevelop version control work?
  • Local file tracked locally but not remotely
  • One Solution collect form web for “Changing the name of the committer in Xcode”

    Do you have a .gitconfig file in your project directory, if so, cd into the project directory and run the following commands to set it to your name and email in the .gitconfig file of your project

    git config user.name "Your Name"
    git config user.email "your-email-address@email.com"
    

    If you do not have a .gitconfig file in your project directory, it could be using the global .gitconfig file located in the Home directory (~/). Simply add the --global flag to set it on a global basis for all projects (note, if there is a .gitconfig file within the project directory, it will use that rather than the global .gitconfig in the home directory)

    git config --global user.name "Your name"
    git config --global user.email "your-email-address@email.com"
    
    Git Baby is a git and github fan, let's start git clone.