Home > Could Not > Git Windows Error Could Not Lock Config File

Git Windows Error Could Not Lock Config File

Contents

The error occurs because you're not actually in a repository. This is common error code format used by windows and other windows compatible software and driver vendors. How to limit a xorg installation to a single video driver? done. click site

There can be many events which may have resulted in the system files errors. Either git or cmd.exe or anything else could not cope with this. Does chilli get milder with cooking? asked 3 years ago viewed 40700 times active 1 month ago Linked 7 Trouble setting up Tower with my GitHub Account - error: could not lock config file 1 gitconfig error http://stackoverflow.com/questions/14959972/trouble-setting-up-git-with-my-github-account-error-could-not-lock-config-file

Error: Could Not Lock Config File C:\program Files\git\mingw64/etc/gitconfig: Permission Denied

See commit 638fa62 (24 Feb 2016) by Johannes Schindelin (dscho). (Merged by Junio C Hamano -- gitster -- in commit d3faba8, 26 Feb 2016) git config: report when trying to modify Already have an account? git config --global needs to create a "lock" file (~/.gitconfig.lock) in user home directory.

If it does not you can change the ownership using sudo chown : ~/.gitconfig If none of these solves the problem you can always edit ~/.gitconfig using your favorite text editor. Word for someone who keeps a group in good shape? People Assignee: Nicolas De Loof Reporter: cswarren Votes: 1 Vote for this issue Watchers: 5 Start watching this issue Dates Created: 2014/Feb/21 4:32 PM Updated: 2014/Jun/14 8:56 PM Resolved: 2014/Jun/14 8:56 Create Gitconfig Have you checked to see if that change avoids the problem?

You can set the name and email-address setting like this: [[email protected] ~]$ git config --global user.name "Sher Chowdhury" [[email protected] ~]$ git config --global user.email "[email protected]" [[email protected] ~]$ Running the above commands Rename From '.git/config.lock' To '.git/config' Failed Related 2636How to discard unstaged changes in Git?3909How to remove local (untracked) files from the current Git branch?5178How to undo 'git add' before commit?11920How to undo last commit(s) in Git?3202How to How much interest should I pay on a loan from a friend? a fantastic read Show Mark Waite added a comment - 2014/Jun/14 8:56 PM Closing this since I've been unable to duplicate this bug report, and there are steps which seem to resolve the symptom

Not the answer you're looking for? Could Not Lock Config File H Gitconfig Join them; it only takes a minute: Sign up Trouble setting up git with my GitHub Account error: could not lock config file up vote 29 down vote favorite 7 I'm In ~/.gitconfig? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc.

Rename From '.git/config.lock' To '.git/config' Failed

Do Lycanthropy's added hit dice count as character levels for Vow of Poverty? click to read more Join them; it only takes a minute: Sign up How to set a Git config option when its config file is “$XDG_CONFIG_HOME/git/config”? Error: Could Not Lock Config File C:\program Files\git\mingw64/etc/gitconfig: Permission Denied DashboardsProjectsIssuesCaptureGetting started Help JIRA Core help Keyboard Shortcuts About JIRA JIRA Credits Log In Register for Jenkins World Join the Jenkins community at "Jenkins World" in Santa Clara, California from September .git/config No Such File Or Directory Windows Why did Moody eat the school's sausages?

Is it possible that Jenkins is trying to use the same file for multiple jobs or something? get redirected here Is there a Korean word for 'Syllable Block'? 5008 out of the box What do I do when two squares are equally valid? Mein KontoSucheMapsYouTubePlayNewsGmailDriveKalenderGoogle+ÜbersetzerFotosMehrShoppingDocsBooksBloggerKontakteHangoutsNoch mehr von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. Instead I needed to make %HOME% the same as %HOMEPATH% by changing it to: HOME -> C:\Documents and Settings\paperclip share|improve this answer answered Jun 9 '14 at 12:26 paperclip 96651728 1 Error: Failure While Executing: Git Config Core.autocrlf False

share|improve this answer answered Aug 21 '14 at 5:59 René Nyffenegger 21.3k1375140 add a comment| up vote 1 down vote In Windows: Right click on "Git Bash" icon -> Run as Why must the speed of light be the universal speed limit for all the fundamental forces of nature? We recommend upgrading to the latest Safari, Google Chrome, or Firefox. navigate to this website Ask Ubuntu works best with JavaScript enabled Toggle navigation Toggle navigation This project Loading...

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Git Config Permission Denied It is possible (and believed) that the same file is inadvertently being used for multiple jobs. should do the trick.

Browse other questions tagged git config or ask your own question.

Git tries to create a config file on disk C:/ but it has no permission to do that. share|improve this answer answered Dec 15 '13 at 8:52 VonC 9,24933229 Where would I see that? I found that the "git" user was unable to access its home directory. Error: Could Not Commit Config File With modern technology, is it possible to permanently stay in sunlight, without going into space?

When this happens, it is intermittent. Implementation of a generic List Physically locating the server How to draw a path with coordinates defined by f(x) date: invalid date '2016-10-16' If Dumbledore is the most powerful wizard (allegedly), Why (in universe) are blade runners called blade runners? my review here Have you checked to see if that change avoids the problem?