About 119,000 results
Open links in new tab
  1. How do I delete a local repository in Git? - Stack Overflow

    Oct 3, 2009 · Delete the .git directory in the root-directory of your repository if you only want to delete the git-related information (branches, versions). If you want to delete everything (git-data, code, etc), just …

  2. How to remove remote origin from a Git repository

    May 2, 2013 · 1641 I just did git init to initialize my folder as Git repository and then added a remote repository using git remote add origin URL. Now I want to remove this git remote add origin and add …

  3. How can I fully delete a Git repository created with init?

    I created a Git repository with git init. I'd like to delete it entirely and initialise a new one.

  4. How can I remove a git and github repository connection to a solution ...

    Jul 18, 2024 · But when I tried to create a new GitHub repository online, the files from the old project seemed to be referenced. I closed the Visual Studio IDE and went to the command line to try to …

  5. How do I delete a file from a Git repository? - Stack Overflow

    git rm -- *.anExtension git commit -m "remove multiple files" But, if your file is already on GitHub, you can (since July 2013) directly delete it from the web GUI! Simply view any file in your repository, click …

  6. How can I completely remove a file from a git repository?

    Aug 11, 2010 · 85 I noticed recently that the project files my text editors use (along with some other junk) got added the git repository for the project. Since they aren't actually part of the project, I'd like to …

  7. github - How can I unlink a git repository in visual studio code ...

    Dec 20, 2021 · I've tried deleting the .git folder, signed out of my github account from visual studio, uncheck the git : Github Authentification in the settings, pasting the "git.enabled": false into the …

  8. Remove a file from a Git repository without deleting it from the local ...

    4057 I want to remove a file from my repository. git rm file_to_remove.txt will remove the file from the repository, but it will also remove the file from the local file system. How do I remove this file from the …

  9. github - Remove sensitive files and their commits from Git history ...

    I would like to put a Git project on GitHub but it contains certain files with sensitive data (usernames and passwords, like /config/deploy.rb for capistrano). I know I can add these filenames to .

  10. How to disconnect a local Git repository from remote master

    How do I completely disconnect a local Git repository from all remote branches? I cloned a Git repository from github.com, but then it was deleted and I don't want Git to report any changes needing to be …