Skip to content

Commit

Permalink
add .gitignore and .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
doraeric authored and john0312 committed Apr 20, 2024
1 parent b0a44ab commit 62744d7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# HITCON PCB Badge

## Project Setup

After cloning the repository, execute the following commands to prevent the environment from being checked by Git.

```shell
git config --local filter.eclipse_env_hash.clean "sed 's/env-hash=\"[^\"]*\"/env-hash=\"\"/g'"
git config --local filter.eclipse_env_hash.smudge cat
```

ref: [Eclipse Community Forums: C / C++ IDE (CDT) » Keeping language.settings.xml under source control?](https://www.eclipse.org/forums/index.php/t/1074031/)
1 change: 1 addition & 0 deletions fw/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.settings/language.settings.xml filter=eclipse_env_hash
4 changes: 4 additions & 0 deletions fw/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Generated by STM32CubeIDE
# compiled files
Debug/
Release/

0 comments on commit 62744d7

Please sign in to comment.