Browse Source

Wrote about handling git

Samuel W. Flint 7 years ago
parent
commit
8730110077
1 changed files with 4 additions and 1 deletions
  1. 4 1
      library.org

+ 4 - 1
library.org

@@ -126,12 +126,15 @@ The initialization of the database is accomplished by creating the containing di
   }
 #+END_SRC
 
-* WORKING Handle Git
+* DONE Handle Git
+CLOSED: [2016-10-23 Sun 15:06]
 :PROPERTIES:
 :CREATED:  <2016-04-13 Wed 20:17>
 :ID:       68ee8e3d-3280-4280-8dd4-e824b5c81929
 :END:
 
+This handles git as needed, by first checking to see if the first argument is ~init~, and if so, initializing the library directory as a repository.  Otherwise, if the ~GIT~ variable is detect, it runs the specified git command within the library directory if possible.
+
 #+Caption: Handle Git
 #+Name: handle-git
 #+BEGIN_SRC sh