Code Monkey home page Code Monkey logo

Comments (9)

jesseduffield avatar jesseduffield commented on April 29, 2024

I just pushed 7e5d7bf which should fix the first issue (please let me know if it doesn't)

As for the second issue, There is currently a PR open that once merged will let us interact with the git prompt, but currently that isn't an option. In the meantime, if you are receiving this prompt each time you pull/push from a particular repo and you trust this repo, you may want to look into some of these stack overflow answers (note there are security considerations to take however) https://stackoverflow.com/questions/3663895/ssh-the-authenticity-of-host-hostname-cant-be-established

from lazygit.

distantcam avatar distantcam commented on April 29, 2024

Now there's a different error.

image

from lazygit.

jesseduffield avatar jesseduffield commented on April 29, 2024

That's git telling you that it doesn't know how to show the graph of the branch, because you have no tracking information on it. If you pull (press 'p') that error should go away. I'll make a note to hide that error if it appears because it's not very user-friendly

from lazygit.

distantcam avatar distantcam commented on April 29, 2024

Ok this is just funny now. After pressing p...

image

from lazygit.

jesseduffield avatar jesseduffield commented on April 29, 2024

hmm that's strange. If you didn't edit those files, and I assume you didn't, then they shouldn't be showing up there. You can get around that by doing git reset --hard head on the command line.

For diagnostic purposes, if you do a git status on the command line, does it say that you're on the master branch? I think there could be an issue with the application not showing the master branch for windows users

from lazygit.

distantcam avatar distantcam commented on April 29, 2024

The repo I'm using is the lazygit repo, and all the text files have changed from LF to CRLF. (EDIT: Actually, I'm just guessing that's whats changed, as I don't know what line ending is in the repo.)

Git status says the working tree is clean, on master branch, so I suspect there is an issue with the display on windows.

from lazygit.

jesseduffield avatar jesseduffield commented on April 29, 2024

I just fixed this in 694b192, hopefully that resolves the issue about lazygit thinking you're on the wrong branch.

As for the CRLF's, this may be a bit trickier to solve. I need to catch up on some sleep but I'll have another look into that tomorrow. If anybody is reading and knows a bit about CRLF's and how to deal with them in git, please do chip in!

from lazygit.

jesseduffield avatar jesseduffield commented on April 29, 2024

I've got a catch-all PR intended to resolve any issues on windows, #53. Please let me know if your issues still persist after checking this out

from lazygit.

jesseduffield avatar jesseduffield commented on April 29, 2024

Closing due to inactivity

from lazygit.

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.