Skip to content

Commit

Permalink
Ignore top-level paths with specificity
Browse files Browse the repository at this point in the history
Make sure `.gitignore` is only ignoring `target` and `Cargo.lock` in the
repository root. This allows committing `Cargo.lock` in a subdirectory
for use in CI.
  • Loading branch information
dcuddeback committed Jan 17, 2021
1 parent 54bba8a commit db6857b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
target
Cargo.lock
/target
/Cargo.lock

0 comments on commit db6857b

Please sign in to comment.