From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bakshi" Subject: How to force git to use authentication as author Date: Thu, 14 Jul 2011 16:06:38 +0530 Message-ID: <20110714160638.065b6542@shiva.selfip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Thu Jul 14 12:36:46 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhJHe-000224-RH for gcvg-git-2@lo.gmane.org; Thu, 14 Jul 2011 12:36:43 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754326Ab1GNKgh (ORCPT ); Thu, 14 Jul 2011 06:36:37 -0400 Received: from static.206.87.46.78.clients.your-server.de ([78.46.87.206]:41034 "EHLO Kolkata.infoservices.in" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754302Ab1GNKgf (ORCPT ); Thu, 14 Jul 2011 06:36:35 -0400 Received: from shiva.selfip.org (unknown [122.176.30.116]) by Kolkata.infoservices.in (Postfix) with ESMTPSA id 12FC62004001 for ; Thu, 14 Jul 2011 12:36:32 +0200 (CEST) X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hello, I have setup a git repo which is protected with user authentication set by apache it self. AuthType Basic # Message to give to the committer AuthName "Write access requires a password" # File listing users with write (commit) access AuthUserFile /home/git/PASSWD Require valid-user Now users are required to use their authentication as per /home/git/PASSWD file ( generated by htpasswd) . How can I force git to use the username as define at /home/git/PASSWD as the author name for git commit ? Thanks