git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: ssh admin git accidentally deleted

From
Fredrik Gustafsson <iveqy@iveqy.com>
Date
Jul 7, 2015, 13:49 UTC
Message-ID
<20150707134942.GA7613@paksenarrion.iveqy.com>
In-Reply-To
<CAF1FN5CDnUYxjChO2PZFrDnPRUiuqXhko=iDo=tuqwvJJdUg5A@mail.gmail.com>
On Tue, Jul 07, 2015 at 08:30:59PM +0700, agnes retnaningsih wrote:
> Dear git , I accidentally delete ssh admin git, unfortunately there
> just one admin so I can't make a change in the config and push to the
> repository. If there's a way undo the change or make an existing user
> become an admin or is there any super admin command?

Git does not have access control at all. There's no admin in git. You're talking about a hosting solution for git and you're not telling which one you're using. If you want a better answer you need to provide more information.

_Assuming_ you're using gitolite on Linux you can always use the root account on the server to correct any mistakes you did in the gitolite configuration.

> 
> I use git version 1.7.5.4

What's the reason for using a 4 year old version? You're missing a lot of development. It's like using an iPhone 4s today instead of an iPhone 6.

-- 
Fredrik Gustafsson

phone: +46 733-608274
e-mail: iveqy@iveqy.com
website: http://www.iveqy.com
Previous: Konstantin KhomoutovNext: Fredrik Gustafsson
Message 3 of 4 in “ssh admin git accidentally deleted”
  1. agnes retnaningsihJul 7, 2015
  2. Konstantin KhomoutovJul 7, 2015
  3. Fredrik GustafssonJul 7, 2015
  4. Fredrik GustafssonJul 8, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.