error: failed to push some refs to 'http://sports.com/inji/sports.git'










1















  • I am new to gitlab.

  • I need to push my code in the git.

  • so I created new project and when I push my code I am getting below error.
    error: failed to push some refs to 'http://sports.com/inji/sports.git'

  • followed the below instructions and googled for the error but still no luck.

  • I even tried to force git push -f origin master but still not working :(

  • can you tell me how to fix it.

  • below I am providing step by step instructions like how I did it

cd existing_folder
git init
git remote add origin http://edclgitp401.bcbsfl.com/I8CX/benchmark.git
git add .
git commit -m "Initial commit"
git push -u origin master


8cx@LBBW81B5483 MINGW64 /c/repo/sports
$ git clone http://sports.com/inji/sports.git
Cloning into 'sports'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'http://sports.com/inji/sports.git/'

inji@kk.com /c/repo/sports
$ git config --global user.name "inji"

inji@kk.com /c/repo/sports
$ git config --global user.email "inji@sports.com"

inji@kk.com /c/repo/sports
$ git clone http://sports.com/inji/sports.git
Cloning into 'sports'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.

inji@kk.com /c/repo/sports
$ ls
sports/

inji@kk.com /c/repo/sports
$ cd sports/

inji@kk.com /c/repo/sports/sports (master)
$ ls
src/

inji@kk.com /c/repo/sports/sports (master)
$ cd src

inji@kk.com /c/repo/sports/sports/src (master)
$ ls
actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
App.css App.test.js components/ containers/ reducers/ Root.js

inji@kk.com /c/repo/sports/sports/src (master)
$ git init
Initialized empty Git repository in C:/repo/sports/sports/src/.git/

inji@kk.com /c/repo/sports/sports/src (master)
$ ls
actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
App.css App.test.js components/ containers/ reducers/ Root.js

inji@kk.com /c/repo/sports/sports/src (master)
$ git remote add origin http://sports.com/inji/sports.git

inji@kk.com /c/repo/sports/sports/src (master)
$ git add .

inji@kk.com /c/repo/sports/sports/src (master)
$ git commit -m "Initial commit"


inji@kk.com /c/repo/sports/sports/src (master)
$ git push -u origin master
Counting objects: 86, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (74/74), done.
Writing objects: 100% (86/86), 59.33 KiB | 0 bytes/s, done.
Total 86 (delta 7), reused 0 (delta 0)
remote: GitLab: File name components/HostComponent.zip was blacklisted by the pattern .(jar|war|ear|classb|keep|dll|exe|msi|pbl|pbd|zip|rar|tar|gz|7z|docb|docx|docm|dot|dotx|dotm|xlt|xltx|xltm|ppt|pptx|pptm|pot|potx|potm|vsd|vdx|keyb)$.
To http://sports.com/inji/sports.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://sports.com/inji/sports.git'









share|improve this question


























    1















    • I am new to gitlab.

    • I need to push my code in the git.

    • so I created new project and when I push my code I am getting below error.
      error: failed to push some refs to 'http://sports.com/inji/sports.git'

    • followed the below instructions and googled for the error but still no luck.

    • I even tried to force git push -f origin master but still not working :(

    • can you tell me how to fix it.

    • below I am providing step by step instructions like how I did it

    cd existing_folder
    git init
    git remote add origin http://edclgitp401.bcbsfl.com/I8CX/benchmark.git
    git add .
    git commit -m "Initial commit"
    git push -u origin master


    8cx@LBBW81B5483 MINGW64 /c/repo/sports
    $ git clone http://sports.com/inji/sports.git
    Cloning into 'sports'...
    remote: HTTP Basic: Access denied
    fatal: Authentication failed for 'http://sports.com/inji/sports.git/'

    inji@kk.com /c/repo/sports
    $ git config --global user.name "inji"

    inji@kk.com /c/repo/sports
    $ git config --global user.email "inji@sports.com"

    inji@kk.com /c/repo/sports
    $ git clone http://sports.com/inji/sports.git
    Cloning into 'sports'...
    warning: You appear to have cloned an empty repository.
    Checking connectivity... done.

    inji@kk.com /c/repo/sports
    $ ls
    sports/

    inji@kk.com /c/repo/sports
    $ cd sports/

    inji@kk.com /c/repo/sports/sports (master)
    $ ls
    src/

    inji@kk.com /c/repo/sports/sports (master)
    $ cd src

    inji@kk.com /c/repo/sports/sports/src (master)
    $ ls
    actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
    App.css App.test.js components/ containers/ reducers/ Root.js

    inji@kk.com /c/repo/sports/sports/src (master)
    $ git init
    Initialized empty Git repository in C:/repo/sports/sports/src/.git/

    inji@kk.com /c/repo/sports/sports/src (master)
    $ ls
    actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
    App.css App.test.js components/ containers/ reducers/ Root.js

    inji@kk.com /c/repo/sports/sports/src (master)
    $ git remote add origin http://sports.com/inji/sports.git

    inji@kk.com /c/repo/sports/sports/src (master)
    $ git add .

    inji@kk.com /c/repo/sports/sports/src (master)
    $ git commit -m "Initial commit"


    inji@kk.com /c/repo/sports/sports/src (master)
    $ git push -u origin master
    Counting objects: 86, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (74/74), done.
    Writing objects: 100% (86/86), 59.33 KiB | 0 bytes/s, done.
    Total 86 (delta 7), reused 0 (delta 0)
    remote: GitLab: File name components/HostComponent.zip was blacklisted by the pattern .(jar|war|ear|classb|keep|dll|exe|msi|pbl|pbd|zip|rar|tar|gz|7z|docb|docx|docm|dot|dotx|dotm|xlt|xltx|xltm|ppt|pptx|pptm|pot|potx|potm|vsd|vdx|keyb)$.
    To http://sports.com/inji/sports.git
    ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'http://sports.com/inji/sports.git'









    share|improve this question
























      1












      1








      1








      • I am new to gitlab.

      • I need to push my code in the git.

      • so I created new project and when I push my code I am getting below error.
        error: failed to push some refs to 'http://sports.com/inji/sports.git'

      • followed the below instructions and googled for the error but still no luck.

      • I even tried to force git push -f origin master but still not working :(

      • can you tell me how to fix it.

      • below I am providing step by step instructions like how I did it

      cd existing_folder
      git init
      git remote add origin http://edclgitp401.bcbsfl.com/I8CX/benchmark.git
      git add .
      git commit -m "Initial commit"
      git push -u origin master


      8cx@LBBW81B5483 MINGW64 /c/repo/sports
      $ git clone http://sports.com/inji/sports.git
      Cloning into 'sports'...
      remote: HTTP Basic: Access denied
      fatal: Authentication failed for 'http://sports.com/inji/sports.git/'

      inji@kk.com /c/repo/sports
      $ git config --global user.name "inji"

      inji@kk.com /c/repo/sports
      $ git config --global user.email "inji@sports.com"

      inji@kk.com /c/repo/sports
      $ git clone http://sports.com/inji/sports.git
      Cloning into 'sports'...
      warning: You appear to have cloned an empty repository.
      Checking connectivity... done.

      inji@kk.com /c/repo/sports
      $ ls
      sports/

      inji@kk.com /c/repo/sports
      $ cd sports/

      inji@kk.com /c/repo/sports/sports (master)
      $ ls
      src/

      inji@kk.com /c/repo/sports/sports (master)
      $ cd src

      inji@kk.com /c/repo/sports/sports/src (master)
      $ ls
      actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
      App.css App.test.js components/ containers/ reducers/ Root.js

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git init
      Initialized empty Git repository in C:/repo/sports/sports/src/.git/

      inji@kk.com /c/repo/sports/sports/src (master)
      $ ls
      actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
      App.css App.test.js components/ containers/ reducers/ Root.js

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git remote add origin http://sports.com/inji/sports.git

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git add .

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git commit -m "Initial commit"


      inji@kk.com /c/repo/sports/sports/src (master)
      $ git push -u origin master
      Counting objects: 86, done.
      Delta compression using up to 4 threads.
      Compressing objects: 100% (74/74), done.
      Writing objects: 100% (86/86), 59.33 KiB | 0 bytes/s, done.
      Total 86 (delta 7), reused 0 (delta 0)
      remote: GitLab: File name components/HostComponent.zip was blacklisted by the pattern .(jar|war|ear|classb|keep|dll|exe|msi|pbl|pbd|zip|rar|tar|gz|7z|docb|docx|docm|dot|dotx|dotm|xlt|xltx|xltm|ppt|pptx|pptm|pot|potx|potm|vsd|vdx|keyb)$.
      To http://sports.com/inji/sports.git
      ! [remote rejected] master -> master (pre-receive hook declined)
      error: failed to push some refs to 'http://sports.com/inji/sports.git'









      share|improve this question














      • I am new to gitlab.

      • I need to push my code in the git.

      • so I created new project and when I push my code I am getting below error.
        error: failed to push some refs to 'http://sports.com/inji/sports.git'

      • followed the below instructions and googled for the error but still no luck.

      • I even tried to force git push -f origin master but still not working :(

      • can you tell me how to fix it.

      • below I am providing step by step instructions like how I did it

      cd existing_folder
      git init
      git remote add origin http://edclgitp401.bcbsfl.com/I8CX/benchmark.git
      git add .
      git commit -m "Initial commit"
      git push -u origin master


      8cx@LBBW81B5483 MINGW64 /c/repo/sports
      $ git clone http://sports.com/inji/sports.git
      Cloning into 'sports'...
      remote: HTTP Basic: Access denied
      fatal: Authentication failed for 'http://sports.com/inji/sports.git/'

      inji@kk.com /c/repo/sports
      $ git config --global user.name "inji"

      inji@kk.com /c/repo/sports
      $ git config --global user.email "inji@sports.com"

      inji@kk.com /c/repo/sports
      $ git clone http://sports.com/inji/sports.git
      Cloning into 'sports'...
      warning: You appear to have cloned an empty repository.
      Checking connectivity... done.

      inji@kk.com /c/repo/sports
      $ ls
      sports/

      inji@kk.com /c/repo/sports
      $ cd sports/

      inji@kk.com /c/repo/sports/sports (master)
      $ ls
      src/

      inji@kk.com /c/repo/sports/sports (master)
      $ cd src

      inji@kk.com /c/repo/sports/sports/src (master)
      $ ls
      actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
      App.css App.test.js components/ containers/ reducers/ Root.js

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git init
      Initialized empty Git repository in C:/repo/sports/sports/src/.git/

      inji@kk.com /c/repo/sports/sports/src (master)
      $ ls
      actions/ App.js assets/ constants/ index.js registerServiceWorker.js setupTests.js
      App.css App.test.js components/ containers/ reducers/ Root.js

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git remote add origin http://sports.com/inji/sports.git

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git add .

      inji@kk.com /c/repo/sports/sports/src (master)
      $ git commit -m "Initial commit"


      inji@kk.com /c/repo/sports/sports/src (master)
      $ git push -u origin master
      Counting objects: 86, done.
      Delta compression using up to 4 threads.
      Compressing objects: 100% (74/74), done.
      Writing objects: 100% (86/86), 59.33 KiB | 0 bytes/s, done.
      Total 86 (delta 7), reused 0 (delta 0)
      remote: GitLab: File name components/HostComponent.zip was blacklisted by the pattern .(jar|war|ear|classb|keep|dll|exe|msi|pbl|pbd|zip|rar|tar|gz|7z|docb|docx|docm|dot|dotx|dotm|xlt|xltx|xltm|ppt|pptx|pptm|pot|potx|potm|vsd|vdx|keyb)$.
      To http://sports.com/inji/sports.git
      ! [remote rejected] master -> master (pre-receive hook declined)
      error: failed to push some refs to 'http://sports.com/inji/sports.git'






      javascript html git gitlab package.json






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 '18 at 17:21









      inji injiinji inji

      7210




      7210






















          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305624%2ferror-failed-to-push-some-refs-to-http-sports-com-inji-sports-git%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53305624%2ferror-failed-to-push-some-refs-to-http-sports-com-inji-sports-git%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Top Tejano songwriter Luis Silva dead of heart attack at 64

          ReactJS Fetched API data displays live - need Data displayed static

          政党