You can just do rm -rf $HOME/.git
to remove all the version control information stored by git, which undoes whatever git init
did.
But I highly doubt that running git init
could slow anything down.
More Related Contents:
- How to modify existing, unpushed commit messages?
- How do I make Git ignore file mode (chmod) changes?
- What are the differences between .gitignore and .gitkeep?
- See what’s in a stash without applying it [duplicate]
- Branch from a previous commit using Git
- Jenkins: what is the correct format for private key in Credentials
- Git submodules in .gitmodules not initialized
- Where is the global git config data stored?
- How to remove/delete a large file from commit history in the Git repository?
- How can I recover from an erronous git push -f origin master?
- git merge with renamed files
- What is the internal format of a Git tree object?
- What does git “updating currently checked out branch” warning mean?
- How do I merge my local uncommitted changes into another Git branch?
- What is “origin” in Git?
- Filter git diff by type of change
- How to pull specific directory with git
- Git Extensions: Win32 error 487: Couldn’t reserve space for cygwin’s heap, Win32 error 0
- Disable Git Rename Detection
- Create a tag in a GitHub repository
- Mercurial (and, I guess Git) with Dropbox: any drawbacks?
- git: timezone and timestamp format
- How do I get git to default to ssh and not https for new repositories
- Reverting a git merge while allowing for the same merge later)
- How to sync changes on my local server with the ones on the remote one without commiting?
- Squash all my commits into one for GitHub pull request [duplicate]
- How to pull a pull request quickly locally
- Git – How to auto push changes in a directory to another branch
- How can I move all git content one-level up in the folder hierarchy?
- How to quit (not abort) a Git merge in progress keeping the changes uncommitted?