Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand list of files ignored by Git #1157

Merged
merged 2 commits into from Jun 11, 2019

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Jun 6, 2019

Update the list of files ignored to include /vendor and *.swp.

Git now ignores `/vendor` and `*.swp` files.
@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Jun 6, 2019
@jneen
Copy link
Member

jneen commented Jun 6, 2019

Fine by me - but I usually put *.sw[a-z] in my own global gitignore.

@jneen
Copy link
Member

jneen commented Jun 6, 2019

also, you can tell vim to put those swapfiles somehwere else entirely. my approach:

set undodir=~/.cache/vim/undo//
set directory=~/.cache/vim/swap//
set backupdir=~/.cache/vim/backup//

@pyrmont
Copy link
Contributor Author

pyrmont commented Jun 7, 2019

@jneen Thanks—I've updated my global gitignore accordingly :) Do you mind if I still merge it in (mostly for the vendor/ directory exclusion)?

@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Jun 11, 2019
@pyrmont pyrmont merged commit 2151912 into rouge-ruby:master Jun 11, 2019
@pyrmont pyrmont deleted the bugfix.expand-git-ignore branch June 11, 2019 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants