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

read-only mode

From
jidanni@jidanni.org <jidanni@jidanni.org>
Date
Dec 3, 2008, 22:44 UTC
Message-ID
<8763m0swtz.fsf@jidanni.org>
Here's a documentation stub. Please fix and finish it and place in some manual.

==Using git in read-only mode== Let's say you just want to examine things. There is a fine line between commands and options that just examine things vs. those that change things. One might worry that they can't remember that fine line.

Therefore the safest way to ensure you are using git in 'read-only mode' is to
* su nobody, or
* chmod -R u-w . (and remember to chmod -R u+w when you are finished), or
* ???
Next: Miklos Vajna
Message 1 of 3 in “read-only mode”
  1. jidanni@jidanni.orgDec 3, 2008
  2. Miklos VajnaDec 3, 2008
  3. Michael J GruberDec 4, 2008

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.