Quantcast
Channel: kb.hurricane-ridge.com » Git
Browsing latest articles
Browse All 3 View Live

Changing a Git Repository’s Origin

From within the project, execute: git config remote.origin.url <new url> If you get an error similar to the following when doing a “git pull” from the new origin: You asked me to pull without...

View Article



Add a new Gitolite Repository for Already-Exisiting Code

Create the repository in your gitolite admin repository (in conf/gitolite.conf) and push changes to create an empty repository. Push the repository to gitolite: > git push --all...

View Article

Git – Check out remote tracked branch

git checkout --track -b <local branch> <remote>/<tracked branch>

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images