cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cordova Wiki] Update of "ContributorWorkflow" by MarcelKinard
Date Fri, 22 Feb 2013 19:13:49 GMT
Dear Wiki user,

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

The "ContributorWorkflow" page has been changed by MarcelKinard:
http://wiki.apache.org/cordova/ContributorWorkflow?action=diff&rev1=20&rev2=21

Comment:
minor wordsmithing

   1. Note that Cordova has each component in a separate git repository, so there are many
git repositories that compromise the entire project. They all start with "cordova-". So for
this exercise we will use the fake name "cordova-x", which you should replace with the specific
repository(s) you want to work with, such as "cordova-docs" or "cordova-android". The full
list is on [[http://cordova.apache.org|the Cordova home page]].
   1. On the !GitHub web interface, fork github.com/apache/cordova-x.git to your own account
on !GitHub (ie, github.com/you/cordova-x.git). 
   1. From your workstation, clone your !GitHub repo (ie, github.com/you/cordova-x.git) to
your workstation. For example, to clone a Cordova repository, from your workstation shell
you would run (note the "https" protocol):
+  {{{ 
-  {{{ $ git clone https://github.com/you/cordova-x.git }}}
+ $ git clone https://github.com/you/cordova-x.git
+ }}}
+  You should now have a "cordova-x" directory with the extracted source.
   1. Add a pointer back to the official repo:
+  {{{ 
+ $ cd cordova-x
-  {{{ $ git remote add apache https://git-wip-us.apache.org/repos/asf/cordova-x.git }}}
+ $ git remote add apache https://git-wip-us.apache.org/repos/asf/cordova-x.git
+ }}}
  
  Here is a diagram of the repos and their flows:
  
@@ -94, +100 @@

  Let's update the accelerometer documentation for the "watchPosition" function.
  
  {{{
- $ [ edit accelerometer/watchPosition.md ]
+ $ myeditor accelerometer/watchPosition.md
  $ git status
    modified: accelerometer/watchPostion.md
  }}}
@@ -135, +141 @@

  === Commit More File Changes ===
  
  {{{
- $ [ edit accelerometer/watchPosition.md ]
+ $ myeditor accelerometer/watchPosition.md
  $ git commit -a
  }}}
   
@@ -201, +207 @@

  $ git checkout master
  $ git pull apache master
  $ git log | more
- ( hey there's me! ya! )
+   hey there's me! ya!
  }}}
   
  You can now delete your topic branch, because it is now merged into the main repository
and in the master branch. 
@@ -224, +230 @@

  $ git pull apache master
  $ git checkout CB-1234
  $ git rebase master
- ( edit / commit / edit / commit)
+ ( edit, commit, edit, commit, etc...)
  $ git push origin CB-1234
  }}}
  

Mime
View raw message