restore: Implemented with rebase and reset. (Do not forget to reset manually in case...
[gitgitconfig.git] / gitignore
blob7176fe7c9c5f8a03e1922e12e4f629d4ff2e62de
1 # -*- conf -*-
3 # Temporary files like COMMIT_EDITMSG, FETCH_HEAD, etc.:
4 /[A-Z]*
6 # From gitrepository-layout(5):
7 # These things may exist in a Git repository.
9 /objects
10 #     Object store associated with this repository.
12 /refs
13 #     References are stored in subdirectories of this directory.
15 /packed-refs
16 #     records the same information as refs/heads/, refs/tags/, and friends record in
17 #     a more efficient way. See git-pack-refs(1).
19 /HEAD
20 #     A symref (see glossary) to the refs/heads/ namespace describing the currently
21 #     active branch.
23 /branches
24 #     A slightly deprecated way to store shorthands to be used to specify a URL to
25 #     git fetch, git pull and git push.  A file can be stored as branches/<name> and
26 #     then name can be given to these commands in place of repository argument. See
27 #     the REMOTES section in git-fetch(1) for details. This mechanism is legacy and
28 #     not likely to be found in modern repositories.
30 # hooks
31 #     Hooks are customization scripts used by various Git commands. A handful of
32 #     sample hooks are installed when git init is run, but all of them are disabled
33 #     by default. To enable, the .sample suffix has to be removed from the filename
34 #     by renaming. Read githooks(5) for more details about each hook.
35 /hooks/*.sample
37 /index
38 #     The current index file for the repository.
40 # info
41 #     Additional information about the repository is recorded in this directory.
43 /info/refs
44 #     This file helps dumb transports discover what refs are available in this
45 #     repository.
47 /info/grafts
48        #     This file records fake commit ancestry information, to pretend the set of
49        #     parents a commit has is different from how the commit was actually created.
51 /info/exclude
52        #     This file, by convention among Porcelains, stores the exclude pattern list.
53        #     .gitignore is the per-directory ignore file.
55 # info/sparse-checkout
56 #     This file stores sparse checkout patterns. See also: git-read-tree(1).
58 # remotes
59 #     Stores shorthands for URL and default refnames for use when interacting with
60 #     remote repositories via git fetch, git pull and git push commands. See the
61 #     REMOTES section in git-fetch(1) for details. This mechanism is legacy and not
62 #     likely to be found in modern repositories.
64 /logs
65 #     Records of changes made to refs are stored in this directory. See git-update-
66 #     ref(1) for more information.
68 /shallow
69 #     This is similar to info/grafts but is internally used and maintained by shallow
70 #     clone mechanism. See --depth option to git-clone(1) and git-fetch(1).
72 /modules
73 #     Contains the git-repositories of the submodules.