Giter Club home page Giter Club logo

Comments (3)

crenshaw-dev avatar crenshaw-dev commented on August 21, 2024

More details:

13:02:38             commit-server | ERRO[1980] `git push origin env/test` failed exit status 1: remote: error: refusing to update checked out branch: refs/heads/env/test        
13:02:38             commit-server | remote: error: By default, updating the current branch in a non-bare repository        
13:02:38             commit-server | remote: is denied, because it will make the index and work tree inconsistent        
13:02:38             commit-server | remote: with what you pushed, and will require 'git reset --hard' to match        
13:02:38             commit-server | remote: the work tree to HEAD.        
13:02:38             commit-server | remote: 
13:02:38             commit-server | remote: You can set the 'receive.denyCurrentBranch' configuration variable        
13:02:38             commit-server | remote: to 'ignore' or 'warn' in the remote repository to allow pushing into        
13:02:38             commit-server | remote: its current branch; however, this is not recommended unless you        
13:02:38             commit-server | remote: arranged to update its work tree to match what you pushed in some        
13:02:38             commit-server | remote: other way.        
13:02:38             commit-server | remote: 
13:02:38             commit-server | remote: To squelch this message and still keep the default behaviour, set        
13:02:38             commit-server | remote: 'receive.denyCurrentBranch' configuration variable to 'refuse'.        
13:02:38             commit-server | To file:///tmp/argo-e2e/testdata.git
13:02:38             commit-server |  ! [remote rejected] env/test -> env/test (branch is currently checked out)

from argo-cd.

crenshaw-dev avatar crenshaw-dev commented on August 21, 2024

The second error might be old. I think the first one is the relevant one.

from argo-cd.

crenshaw-dev avatar crenshaw-dev commented on August 21, 2024

Looks like this had to do with local issues in my dev environment.

from argo-cd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.