do not upload files from the client to the local server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a virtual machine with ubuntu and git from the client send push but the files are not created on the server.



On the other hand if I do not use on the server:
git config receive.denyCurrentBranch ignore



It does not let me do push.



some idea, thank you very much



Client 192.168.0.102:



root@serverproject:/var/www/html/email# git init
Initialized empty Git repository in /var/www/html/email/.git/
root@serverproject:/var/www/html/email# git add .
root@serverproject:/var/www/html/email# git status
En la rama master

Commit inicial

Cambios para hacer commit:
(use <<git rm --cached <archivo>...>> para sacar del stage)

nuevo archivo: ._email.class.php
nuevo archivo: correos.txt
nuevo archivo: email.class.php
nuevo archivo: lib/class.phpDataClass.php
nuevo archivo: lib/class.phpmailer.php
nuevo archivo: lib/class.pop3.php
nuevo archivo: lib/class.smtp.php

root@serverproject:/var/www/html/email# git commit -m "first commit"
[master (root-commit) a86c2c9] first commit
7 files changed, 4389 insertions(+)
create mode 100755 ._email.class.php
create mode 100755 correos.txt
create mode 100755 email.class.php
create mode 100755 lib/class.phpDataClass.php
create mode 100755 lib/class.phpmailer.php
create mode 100755 lib/class.pop3.php
create mode 100755 lib/class.smtp.php
root@serverproject:/var/www/html/email# git remote add origin ssh://git@192.168.0.120/home/alberto/git/email
root@serverproject:/var/www/html/email# git push -u origin master
git@192.168.0.120's password:
Counting objects: 10, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 34.20 KiB | 0 bytes/s, done.
Total 10 (delta 0), reused 0 (delta 0)
To ssh://git@192.168.0.120/home/alberto/git/email
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
root@serverproject:/var/www/html/email# git status
En la rama master
Su rama est? actualizada con <<origin/master>>.
nothing to commit, working directory clean
root@serverproject:/var/www/html/email#


Server 192.168.0.120:



$ git init
Initialized empty Git repository in /home/alberto/git/email/.git/
$ git config receive.denyCurrentBranch ignore
$ ls
$ ls -a
. .. .git
$






share|improve this question























    up vote
    0
    down vote

    favorite












    I have a virtual machine with ubuntu and git from the client send push but the files are not created on the server.



    On the other hand if I do not use on the server:
    git config receive.denyCurrentBranch ignore



    It does not let me do push.



    some idea, thank you very much



    Client 192.168.0.102:



    root@serverproject:/var/www/html/email# git init
    Initialized empty Git repository in /var/www/html/email/.git/
    root@serverproject:/var/www/html/email# git add .
    root@serverproject:/var/www/html/email# git status
    En la rama master

    Commit inicial

    Cambios para hacer commit:
    (use <<git rm --cached <archivo>...>> para sacar del stage)

    nuevo archivo: ._email.class.php
    nuevo archivo: correos.txt
    nuevo archivo: email.class.php
    nuevo archivo: lib/class.phpDataClass.php
    nuevo archivo: lib/class.phpmailer.php
    nuevo archivo: lib/class.pop3.php
    nuevo archivo: lib/class.smtp.php

    root@serverproject:/var/www/html/email# git commit -m "first commit"
    [master (root-commit) a86c2c9] first commit
    7 files changed, 4389 insertions(+)
    create mode 100755 ._email.class.php
    create mode 100755 correos.txt
    create mode 100755 email.class.php
    create mode 100755 lib/class.phpDataClass.php
    create mode 100755 lib/class.phpmailer.php
    create mode 100755 lib/class.pop3.php
    create mode 100755 lib/class.smtp.php
    root@serverproject:/var/www/html/email# git remote add origin ssh://git@192.168.0.120/home/alberto/git/email
    root@serverproject:/var/www/html/email# git push -u origin master
    git@192.168.0.120's password:
    Counting objects: 10, done.
    Delta compression using up to 2 threads.
    Compressing objects: 100% (10/10), done.
    Writing objects: 100% (10/10), 34.20 KiB | 0 bytes/s, done.
    Total 10 (delta 0), reused 0 (delta 0)
    To ssh://git@192.168.0.120/home/alberto/git/email
    * [new branch] master -> master
    Branch master set up to track remote branch master from origin.
    root@serverproject:/var/www/html/email# git status
    En la rama master
    Su rama est? actualizada con <<origin/master>>.
    nothing to commit, working directory clean
    root@serverproject:/var/www/html/email#


    Server 192.168.0.120:



    $ git init
    Initialized empty Git repository in /home/alberto/git/email/.git/
    $ git config receive.denyCurrentBranch ignore
    $ ls
    $ ls -a
    . .. .git
    $






    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a virtual machine with ubuntu and git from the client send push but the files are not created on the server.



      On the other hand if I do not use on the server:
      git config receive.denyCurrentBranch ignore



      It does not let me do push.



      some idea, thank you very much



      Client 192.168.0.102:



      root@serverproject:/var/www/html/email# git init
      Initialized empty Git repository in /var/www/html/email/.git/
      root@serverproject:/var/www/html/email# git add .
      root@serverproject:/var/www/html/email# git status
      En la rama master

      Commit inicial

      Cambios para hacer commit:
      (use <<git rm --cached <archivo>...>> para sacar del stage)

      nuevo archivo: ._email.class.php
      nuevo archivo: correos.txt
      nuevo archivo: email.class.php
      nuevo archivo: lib/class.phpDataClass.php
      nuevo archivo: lib/class.phpmailer.php
      nuevo archivo: lib/class.pop3.php
      nuevo archivo: lib/class.smtp.php

      root@serverproject:/var/www/html/email# git commit -m "first commit"
      [master (root-commit) a86c2c9] first commit
      7 files changed, 4389 insertions(+)
      create mode 100755 ._email.class.php
      create mode 100755 correos.txt
      create mode 100755 email.class.php
      create mode 100755 lib/class.phpDataClass.php
      create mode 100755 lib/class.phpmailer.php
      create mode 100755 lib/class.pop3.php
      create mode 100755 lib/class.smtp.php
      root@serverproject:/var/www/html/email# git remote add origin ssh://git@192.168.0.120/home/alberto/git/email
      root@serverproject:/var/www/html/email# git push -u origin master
      git@192.168.0.120's password:
      Counting objects: 10, done.
      Delta compression using up to 2 threads.
      Compressing objects: 100% (10/10), done.
      Writing objects: 100% (10/10), 34.20 KiB | 0 bytes/s, done.
      Total 10 (delta 0), reused 0 (delta 0)
      To ssh://git@192.168.0.120/home/alberto/git/email
      * [new branch] master -> master
      Branch master set up to track remote branch master from origin.
      root@serverproject:/var/www/html/email# git status
      En la rama master
      Su rama est? actualizada con <<origin/master>>.
      nothing to commit, working directory clean
      root@serverproject:/var/www/html/email#


      Server 192.168.0.120:



      $ git init
      Initialized empty Git repository in /home/alberto/git/email/.git/
      $ git config receive.denyCurrentBranch ignore
      $ ls
      $ ls -a
      . .. .git
      $






      share|improve this question











      I have a virtual machine with ubuntu and git from the client send push but the files are not created on the server.



      On the other hand if I do not use on the server:
      git config receive.denyCurrentBranch ignore



      It does not let me do push.



      some idea, thank you very much



      Client 192.168.0.102:



      root@serverproject:/var/www/html/email# git init
      Initialized empty Git repository in /var/www/html/email/.git/
      root@serverproject:/var/www/html/email# git add .
      root@serverproject:/var/www/html/email# git status
      En la rama master

      Commit inicial

      Cambios para hacer commit:
      (use <<git rm --cached <archivo>...>> para sacar del stage)

      nuevo archivo: ._email.class.php
      nuevo archivo: correos.txt
      nuevo archivo: email.class.php
      nuevo archivo: lib/class.phpDataClass.php
      nuevo archivo: lib/class.phpmailer.php
      nuevo archivo: lib/class.pop3.php
      nuevo archivo: lib/class.smtp.php

      root@serverproject:/var/www/html/email# git commit -m "first commit"
      [master (root-commit) a86c2c9] first commit
      7 files changed, 4389 insertions(+)
      create mode 100755 ._email.class.php
      create mode 100755 correos.txt
      create mode 100755 email.class.php
      create mode 100755 lib/class.phpDataClass.php
      create mode 100755 lib/class.phpmailer.php
      create mode 100755 lib/class.pop3.php
      create mode 100755 lib/class.smtp.php
      root@serverproject:/var/www/html/email# git remote add origin ssh://git@192.168.0.120/home/alberto/git/email
      root@serverproject:/var/www/html/email# git push -u origin master
      git@192.168.0.120's password:
      Counting objects: 10, done.
      Delta compression using up to 2 threads.
      Compressing objects: 100% (10/10), done.
      Writing objects: 100% (10/10), 34.20 KiB | 0 bytes/s, done.
      Total 10 (delta 0), reused 0 (delta 0)
      To ssh://git@192.168.0.120/home/alberto/git/email
      * [new branch] master -> master
      Branch master set up to track remote branch master from origin.
      root@serverproject:/var/www/html/email# git status
      En la rama master
      Su rama est? actualizada con <<origin/master>>.
      nothing to commit, working directory clean
      root@serverproject:/var/www/html/email#


      Server 192.168.0.120:



      $ git init
      Initialized empty Git repository in /home/alberto/git/email/.git/
      $ git config receive.denyCurrentBranch ignore
      $ ls
      $ ls -a
      . .. .git
      $








      share|improve this question










      share|improve this question




      share|improve this question









      asked May 16 at 14:35









      Alberto Suárez Pérez

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444169%2fdo-not-upload-files-from-the-client-to-the-local-server%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f444169%2fdo-not-upload-files-from-the-client-to-the-local-server%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay