Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "GitTransition" page has been changed by BrandonWilliams:
http://wiki.apache.org/cassandra/GitTransition

New page:
= Switching to Git For Committers =

Cassandra is transitioning from subversion to git.  See 
https://issues.apache.org/jira/browse/INFRA-4254 for the latest status on this.

== How do I commit now? ==
First, clone the repository ''with your username in the URL''
{{{
git clone https://<username>@git-wip-us.apache.org/repos/asf/cassandra.git
}}}

You should see something like:
{{{
Cloning into git...
remote: Counting objects: 81041, done.
remote: Compressing objects: 100% (11287/11287), done.
remote: Total 81041 (delta 48412), reused 81038 (delta 48411)
Receiving objects: 100% (81041/81041), 41.50 MiB | 352 KiB/s, done.
Resolving deltas: 100% (48412/48412), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
}}}

The warning is because git is trying to open the default branch 'master' which 
does not exist in the repo.  '''Therefore you need to checkout the correct 
branch before doing anything else.'''

For example:
{{{
git checkout trunk
}}}

Now you can make changes and push as with any other git repository.

Reply via email to