Skip to content

Commit

Permalink
touch #22 - Added git hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4oshany committed Dec 5, 2014
1 parent d6df5fc commit 97603d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/configs/hooks/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chgrp -R www-data .
4 changes: 4 additions & 0 deletions app/libs/vecni/Vecni.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,13 @@ public static function in_development(){
}

public static function get_submodules(){
$req_copy = self::getRootFolder().'app/configs/hooks into '.self::getRootFolder().'git/hooks/';
?>
<h3>Please run the following command in git bash.</h3>
<code> git submodule update --init</code>
<p>In addition, copy the contents of <?php echo $req_copy; ?></p>
<p>By doing this, it will ensure that the permissions and other
server settings will not be modified by git during a push or pull</p>
<?php
http\Response::abort("In order for you to continue.");
}
Expand Down

0 comments on commit 97603d0

Please sign in to comment.