From: Arup Rakshit <aruprakshit@rocketmail•com>
To: git@vger•kernel.org
Subject: fatal: Unable to mark file .ruby-version
Date: Sun, 15 Mar 2015 16:31:18 +0630 [thread overview]
Message-ID: <1645103.91WotSCBpm@linux-wzza.site> (raw)
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 reply other threads:[~2015-03-15 11:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-15 10:01 Arup Rakshit [this message]
2015-03-15 12:30 ` fatal: Unable to mark file .ruby-version 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1645103.91WotSCBpm@linux-wzza.site \
--to=aruprakshit@rocketmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox