About 393,000 results
Open links in new tab
  1. Git for beginners: The definitive practical guide

    How do you create a new project/repository? A git repository is simply a directory containing a special .git directory. This is different from "centralised" version-control systems (like …

  2. How do I change the URI (URL) for a remote Git repository?

    I had to do this on an old version of git (1.5.6.5) and the set-url option did not exist. Simply deleting the unwanted remote and adding a new one with the same name worked without …

  3. git - How to add a new project to Github using VS Code - Stack …

    Initializing Repository will create a .git folder inside the local repo, which will help you manage code using git file system. But, please note you have this code in your local, not on the cloud. …

  4. Fully backup a git repo? - Stack Overflow

    Apr 7, 2011 · Git 2.48 (Q1 2025), batch 12, adds documentation for " git bundle " (man), and provide an example about how to make a “full backup” (git bundle create backup.bundle --all) …

  5. How can I fix a corrupted Git repository? - Stack Overflow

    Mar 19, 2019 · As an alternative to Todd's last option (Full Restores and Re-Initialization), if only the local repository is corrupted, and you know the URL to the remote, you can use this to …

  6. Synchronizing a local Git repository with a remote one

    Is there any way to achieve that other than by doing a fresh clone of remote repository? Similar question as Sync local git repo with remote in one shot discarding local changes/commits.

  7. Moving Git repository content to another repository preserving …

    321 I am trying to move only the contents of one repository (repo1) to another existing repository (repo2) using the following commands: git clone repo1 git clone repo2 cd repo1 git remote rm …

  8. github - Git error: "Please make sure you have the correct access ...

    Git error: "Please make sure you have the correct access rights and the repository exists" Asked 11 years, 1 month ago Modified 9 months ago Viewed 1.4m times

  9. Is there a way to get the git root directory in one command?

    git config --global alias.root 'rev-parse --show-toplevel' and now git root will function just as hg root. Note: In a submodule this will display the root directory of the submodule and not the …

  10. In a Git repository, how to properly rename a directory?

    Jun 25, 2012 · I think it should work to copy the directory to be renamed to a new directory with desired name, and delete the old directory, and git add, git commit and push everything. But is …