Browse Source

Added full pull down

pull/24/head
Teknikode 8 years ago
parent
commit
55a3042c8a
  1. 3
      includes/update_profile.php

3
includes/update_profile.php

@ -135,7 +135,8 @@ if(isset($_POST)) @@ -135,7 +135,8 @@ if(isset($_POST))
$Git->windows_mode();
$repo = $Git->open($CONF['git_repo_path'][0].'gitolite-admin\\');
$repo->setenv('HOME', '/home/iusr');
$repo->pull('origin', 'master');
$repo->fetch();
$repo->run('reset --hard origin/master');
if (is_dir($CONF['git_repo_path'][0].'gitolite-admin\\keydir\\u\\'.$user->username))
{

Loading…
Cancel
Save