Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8115323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:26:35+00:00 2026-06-06T03:26:35+00:00

I work with my own projects and every-now-and-then I do some work for third-parties

  • 0

I work with my own projects and every-now-and-then I do some work for third-parties where I need to use their contact-information etc in commits. I usually use just global commit names etc but now I need to specify commit names and emails according to the directory. How can I do that in Git?

Perhaps useful relating information

  1. What is the difference between author and committer in Git?

  2. Git commit with no email

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T03:26:36+00:00Added an answer on June 6, 2026 at 3:26 am

    You can have a per-repository username and email address that supercedes your global settings. It will affect commits made in the current repository, but not in other repositories.

    git config user.name "Foo Bar"
    git config user.email "foo.bar@example.com"
    

    You can confirm that your local information is overriding your global defaults with:

    git config -l | fgrep user.
    

    It may show multiple entries (e.g both a global and a local configuration setting), but whatever is shown last in the list takes precedence.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So i am trying to work on my own little 3d game. Now i
I work at a company that has many clients that have their own website
Until now, I was always working on my own for PHP-projects, but at the
I've inherited an enormous .NET solution of about 200 projects. There are now some
I am trying to use the autocomplete script on http://www.devbridge.com/projects/autocomplete/jquery/ . Now, the downloaded
We use MS Dynamics 4.0 at work for our CRM. This handles all contact
I've got dozens of Ruby projects using Bundler, each with their own gem bundle
I just finished the Django tutorial and started work on my own project, however,
This code comes from a tutorial so it's not originally my own work. What
I ask this because I am currently trying to work out my own technique,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.