"Some files in a repository, which are versioned (i.e. they can't be
git-ignored), ..."
I guess those two files are versioned, so can we git-ignore?


On Fri, Jan 31, 2014 at 11:22 AM, Amir Ladsgroup <[email protected]>wrote:

> yes, there is a file named ".gitignore" or something like that, see it
>
> Best
>
>
> On Fri, Jan 31, 2014 at 12:26 PM, Mpaa <[email protected]> wrote:
>
>> Hi.
>>
>> Is there a way to avoid having these to file to always show up as
>> non-staged?
>>
>> $ git status
>> # On branch cat
>> # Changes not staged for commit:
>> #   (use "git add <file>..." to update what will be committed)
>> #   (use "git checkout -- <file>..." to discard changes in working
>> directory)
>> #
>> #       modified:   externals/httplib2 (new commits)
>> #       modified:   scripts/i18n (new commits)
>>
>> I found this suggestion online (can't remember where):
>> Some files in a repository, which are versioned (i.e. they can't be
>> git-ignored), are often changed,
>> but rarely committed. Usually these are various local configuration files
>> that are edited,
>> but should never be committed upstream.
>>
>> Git lets you ignore those files by assuming they are unchanged. This is
>> done by running the
>>     git update-index --assume-unchanged path/to/file.txt
>>
>> but it is not a permanent solution.
>>
>> Bye
>> Mpaa
>>
>> _______________________________________________
>> Pywikipedia-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>>
>>
>
>
> --
> Amir
>
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to