We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0809b2 commit 83e1f71Copy full SHA for 83e1f71
Lego/ev3dev-with-git.md
@@ -33,14 +33,14 @@ $ mkdir project
33
$ cd project
34
$ mkdir project.git
35
$ git init --bare project.git
36
-$ nano project.git/hooks/post-receive
+$ vim project.git/hooks/post-receive
37
38
-#this will open the file, then add the following two lines
+#this will open the file, press i to go to insert mode and add the following two lines
39
40
#!/bin/sh
41
git --work-tree=/home/robot/project --git-dir=/home/robot/project/project.git checkout -f
42
43
-
+then press esc and type :x and enter to exit vim
44
45
$ chmod +x project.git/hooks/post-receive
46
$ git config --global user.email "[email protected]"
0 commit comments