alfred: Ignore temporary files in git-status/git-add/...

Message ID 1453304613-26028-1-git-send-email-sven@open-mesh.com (mailing list archive)
State Accepted, archived
Commit 4c9dd3be8cabb74a18ca7836f60b6e5fed716da4
Headers

Commit Message

Sven Eckelmann Jan. 20, 2016, 3:43 p.m. UTC
  Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
---
 .gitattributes | 2 ++
 .gitignore     | 9 +++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 .gitattributes
 create mode 100644 .gitignore
  

Comments

Simon Wunderlich Jan. 20, 2016, 3:56 p.m. UTC | #1
On Wednesday 20 January 2016 16:43:33 Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

Applied in revision 4c9dd3b.

Thanks!
    Simon
  

Patch

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..eeef3e0
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@ 
+/.gitignore export-ignore
+/.gitattributes export-ignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b341a0e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@ 
+/*.d
+/*.o
+/alfred
+/gpsd/*.d
+/gpsd/*.o
+/gpsd/alfred-gpsd
+/vis/*.d
+/vis/*.o
+/vis/batadv-vis