git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fatal: Unable to mark file .ruby-version
@ 2015-03-15 10:01 Arup Rakshit
  2015-03-15 12:30 ` t.gummerer
  0 siblings, 1 reply; 6+ messages in thread
From: Arup Rakshit @ 2015-03-15 10:01 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-16  5:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-15 10:01 fatal: Unable to mark file .ruby-version Arup Rakshit
2015-03-15 12:30 ` t.gummerer
2015-03-15 14:21   ` Arup Rakshit
2015-03-15 16:58     ` t.gummerer
2015-03-15 17:45       ` Kevin D
2015-03-16  5:29         ` Arup Rakshit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).