aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-08-02 14:12:34 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-08-02 14:14:15 -0600
commitaa657395fd0e902c45b6d8117f999fb85e60690a (patch)
treea289cf8dccf75993e0c4986ef529585842098876
parent02f67de03f8b293647969eba79ccc58ea0704904 (diff)
Adding git config to set my identity, just easier.
-rw-r--r--Dockerfile4
-rw-r--r--README.md3
2 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 963f9c1..2fbd84e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,6 +28,10 @@ RUN add-apt-repository ppa:neovim-ppa/unstable -y
RUN apt-get update && apt-get install -y \
neovim
+# Set git stuff
+RUN git config --global user.email "codyfh@gmail.com"
+RUN git config --global user.name "Cody Hiar"
+
#####################################
# Python Linting
#####################################
diff --git a/README.md b/README.md
index d09c80c..161e4bb 100644
--- a/README.md
+++ b/README.md
@@ -41,3 +41,6 @@ docker run -i -t -P -v "$dir_name":/src thornycrackers/neovim /bin/sh -c "cd /sr
Now you can run neovim as if you would regularly.
The only gotcha I've deiscovered so far is that because you are mounting to the docker container you cannot go above the folder you open neovim in.
This is a pretty rare case in my trials of using this but it is something to note.
+
+## NOTE:
+I do set the git identity to myself inside the Dockerfile so do be aware that you might want to change it to yourself.