Wednesday, October 06, 2010

gitorious

http://status.net/wiki/IntroToUsingGit

Adding this repository as a pushable origin:

git remote add origin git@gitorious.org:~username/meego-os-base/usernames-kernel-source.git
# to push the master branch to the origin remote we added above:
git push origin master
# after that you can just do:
git push


Cloning this repository:

git clone git://gitorious.org/~username/meego-os-base/usernames-kernel-source.git usernames-kernel-source
cd usernames-kernel-source


Add this repository as a remote to an existing local repository:

git remote add usernames-kernel-source git://gitorious.org/~username/meego-os-base/usernames-kernel-source.git
git fetch usernames-kernel-source
git checkout -b usernames-kernel-source/master_or_other_branch my-local-tracking-branch

No comments:

Related Posts Plugin for WordPress, Blogger...