About 17,300,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. How do I delete a file from a Git repository? - Stack Overflow

    git rm file.txt removes the file from the repo but also deletes it from the local file system. To remove the file from the repo and not delete it from the local file system use: git rm --cached …

  4. Moving Git repository content to another repository preserving …

    323 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 …

  5. Synchronizing a local Git repository with a remote one

    Feb 17, 2019 · 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 …

  6. Receiving "fatal: Not a git repository" when attempting to remote …

    Did you init a local Git repository, into which this remote is supposed to be added? Does your local directory have a .git folder? Try git init.

  7. How do I clone a subdirectory only of a Git repository?

    I have my Git repository which, at the root, has two subdirectories: /finisht /static When this was in SVN, /finisht was checked out in one place, while /static was checked out elsewhere, like so:...

  8. How to duplicate a git repository? (without forking)

    # Mirror-push to the new repository cd .. rm -rf old-repository.git # Remove our temporary local repository NOTE: the above will work fine with any remote git repo, the instructions are not …

  9. git: fatal: Could not read from remote repository - Stack Overflow

    Nov 22, 2012 · In most of the case when you have more than one user access the same git server from a same client system, that time git server confused to with access key with the …

  10. How to move a git repository into another directory and make that ...

    Sep 30, 2013 · I have a directory gitrepo1. This directory is a git repository. I would like to move this gitrepo1 into another directory newrepo. Directory newrepo should be the new git …