Skip to main content

Timeline for answer to What is .gitignore? by Mureinik

Current License: CC BY-SA 4.0

Post Revisions

11 events
when toggle format what by license comment
Jun 30, 2024 at 9:21 history edited Amazon Dies In Darkness CC BY-SA 4.0
added 1 character in body
Dec 29, 2018 at 22:15 comment added Sam Hobbs Then what does track mean? You must understand that a beginner might not know if track applies to before/after a commit or before/after a push or to something else. Terms that have significance only in the relevant context need to be defined/explained. I pushed a project to GitHub and got some files that I thought should not go. I am not asking for help with that except it would help me to be certain of what is supposed to happen so I can be sure that what did happen was not supposed to (something is broken) so then I know I need to fix it.
Dec 29, 2018 at 19:34 comment added Mureinik @user34660 Ignore means just that - Git will not track changes in the files specified by (the patterns) in the .gitignore file. Even if you change them, git won't show them as modified.
Dec 29, 2018 at 19:32 comment added Sam Hobbs What does ignore mean? Who/what/when does the ignore? I know what the word ignore means but I don't find a clear description of what ignore means in the context of Git. Obviously the term is totally understandable by people that understand it but anything written to define something for people that don't already know it needs to explain all the terms that have definitions unique to the context.
May 10, 2018 at 8:03 comment added Meet Zaveri So it remains locally, but does not gets pushed to origin? So if some user downloads github repo, does that secret file gets downloaded it with too?
Dec 4, 2017 at 6:42 comment added Saikat Chakrabortty what is _._gitignore used for? is it used only when the gitignore is in a sub Dir.?
Jan 30, 2017 at 2:10 comment added Xonatron So if you create a .gitignore in a new repository on github.com, and then do a git init and git add . on your local computer -- not yet connected to .gitignore as it's not yet connected to that repository -- how does this work? Does it take effect when I perform a git commit? Or?
Jan 9, 2015 at 1:11 vote accept Papos
Jan 8, 2015 at 22:12 vote accept Papos
Jan 9, 2015 at 1:11
Jan 8, 2015 at 22:07 history edited Mureinik CC BY-SA 3.0
deleted 6 characters in body
Jan 8, 2015 at 21:59 history answered Mureinik CC BY-SA 3.0