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

fatal: Unable to mark file .ruby-version

From
Arup Rakshit <aruprakshit@rocketmail.com>
Date
Mar 15, 2015, 10:01 UTC
Message-ID
<1645103.91WotSCBpm@linux-wzza.site>
Hi,
I am trying to ignore 2 files, but getting error -

[arup@sztukajedzenia (SJ002)]$ git status # On branch SJ002 # Untracked files: # (use "git add <file>..." to include in what will be committed) # # .ruby-gemset # .ruby-version nothing added to commit but untracked files present (use "git add" to track) [arup@sztukajedzenia (SJ002)]$ git update-index --assume-unchanged .ruby-gemset fatal: Unable to mark file .ruby-gemset [arup@sztukajedzenia (SJ002)]$ git update-index --assume-unchanged .ruby-version fatal: Unable to mark file .ruby-version [arup@sztukajedzenia (SJ002)]$

Why it is throwing error ? And how to achieve this without taking the help of the file `.gitignore` ?
-- 
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

--Brian Kernighan
Next: t.gummerer@gmail.com
Message 1 of 6 in “fatal: Unable to mark file .ruby-version”
  1. Arup RakshitMar 15, 2015
  2. t.gummerer@gmail.comMar 15, 2015
  3. Arup RakshitMar 15, 2015
  4. t.gummerer@gmail.comMar 15, 2015
  5. Kevin DMar 15, 2015
  6. Arup RakshitMar 16, 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.