git-ignore misses

Bug #341126 reported by Stas Sușcov

This bug report was converted into a question: question #63866: git-ignore misses.

4
Affects Status Importance Assigned to Milestone
git-core (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: git-core

No gitignore tool in current jaunty repositories!!!

Please add gitignore tool:
http://www.kernel.org/pub/software/scm/git/docs/gitignore.html

Revision history for this message
Anders Kaseorg (andersk) wrote :

There is no “gitignore” or “git-ignore” tool. You just create a text file named “.gitignore” or “.git/info/exclude” in your Git clone with a list of files to ignore, one per line. See the SYNPOSIS section of the documentation that you linked to.

Changed in git-core:
status: New → Invalid
Revision history for this message
Stas Sușcov (sushkov) wrote :

Ok, then what I'm doing wrong?
:(

-------------------------------------------------------
21:28:00 stas@kyoto:~/Documents/code.c7obs.net/intranet >cat config/.gitignore
*.php
21:28:13 stas@kyoto:~/Documents/code.c7obs.net/intranet >cat .git/info/exclude
# git-ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

config/*
tmp/*
21:32:08 stas@kyoto:~/Documents/code.c7obs.net/intranet >cat .gitignore
config/*
tmp/*
21:28:22 stas@kyoto:~/Documents/code.c7obs.net/intranet >git status
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: .gitignore
# modified: config/database.php
# deleted: webroot/test.php
#
no changes added to commit (use "git add" and/or "git commit -a")
21:28:35 stas@kyoto:~/Documents/code.c7obs.net/intranet >
-------------------------------------------------------------------------------------------

I can't make it in any way to leave some files untracked...

P.S.: Should I move it to Answers/Questions section?

Revision history for this message
Stas Sușcov (sushkov) wrote :

The last output actually is this:
21:32:14 stas@kyoto:~/Documents/code.c7obs.net/intranet >git status
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: config/database.php
# deleted: webroot/test.php
#
no changes added to commit (use "git add" and/or "git commit -a")

Anders Kaseorg (andersk)
Changed in git-core:
status: Invalid → New
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.