Code Monkey home page Code Monkey logo

Comments (6)

lutim-mitul avatar lutim-mitul commented on June 14, 2024

I really want to uninstall it because I can't use Git after installing it .
image
and I dont know how to solve it so if anyone find how to solve attached problem please give me solution

from dotfiles.

 avatar commented on June 14, 2024

@lutim-mitul Check out https://github.com/mathiasbynens/dotfiles/blob/main/.gitconfig#L130

Your issue has nothing to do with git at all.

The author states:

Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!

from dotfiles.

 avatar commented on June 14, 2024

It would be nice if you added a description for how to revert to the original settings. Thank you.

@asbenjamin Have you created a backup of your settings before you applied the settings from this repo?

from dotfiles.

franclin avatar franclin commented on June 14, 2024

same issue, after installing it, Git simply doesn't work for me anymore. It used to. As can be seen in the screenshot, I was expecting git fetch to retrieve the list of remote branches but it's not working as expected so I need a way to revert the changes applied by dotfiles

Screenshot 2022-05-31 at 09 47 36

from dotfiles.

PaulRBerg avatar PaulRBerg commented on June 14, 2024

@franclin check your colors profile - it's a known problem with the Solarized Dark theme that sometimes it blackens out the text. You may have to tweak the contrast a bit.

from dotfiles.

franclin avatar franclin commented on June 14, 2024

@franclin check your colors profile - it's a known problem with the Solarized Dark theme that sometimes it blackens out the text. You may have to tweak the contrast a bit.

Hi @PaulRBerg I check all that but the reality is that I should have not installed this tool in the first place as it is far too risky. It changes a lot of default without backing them up. So I ended up reinstalling the whole system instead (thanks πŸ‘Ž )

The solution to display the git branch in the prompt that I found useful was actually a lot simpler than I thought. I first created ~/.bash_profile file then enter these commands in them:

# Git branch in prompt.
parse_git_branch() {
 git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ [\1]/'
}
export PS1="\u@\h \W\[\033[01;33m\]\$(parse_git_branch)\[\033[00m\] $ "

It is risk free and doesn't alter any built-in or most importantly doesn't install any conflicting package. In the case of Dot files, it's installing another bash and many other files.

Hoping that my experience will help others. In a nutshell, I wouldn't recommend installing dotfiles at this stage.

from dotfiles.

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.