Changes between Version 9 and Version 10 of StartModDev


Ignore:
Timestamp:
Nov 29, 2012, 9:38:13 PM (10 years ago)
Author:
Beman Dawes
Comment:

Add commit and push

Legend:

Unmodified
Added
Removed
Modified
  • StartModDev

    v9 v10  
    108108}}}
    109109
     110== Committing and pushing ==
     111
     112OK, the basic structure and files of the library are present, so it is time to commit the changes to the local repo.
     113
     114  || Hint: (((git help command-name}}} will launch a browser window with documentation for command-name. ||
     115
     116Execute these commands in boost-root/libs/simple (shown with typical output):
     117
     118{{{
     119>git add .
     120
     121>git commit -m "Initial commit" --dry-run
     122# On branch master
     123# Changes to be committed:
     124#   (use "git reset HEAD <file>..." to unstage)
     125#
     126#       new file:   include/boost/simple/twice.hpp
     127#       new file:   test/Jamfile.v2
     128#       new file:   test/twice_test.cpp
     129#
     130
     131>git commit -m "Initial commit"
     132[master 3a3a654] Initial commit
     133 3 files changed, 18 insertions(+)
     134 create mode 100644 include/boost/simple/twice.hpp
     135 create mode 100644 test/Jamfile.v2
     136 create mode 100644 test/twice_test.cpp
     137}}}
    110138 
     139Since the test passed (as indicated by the {{{**passed**}}} message), we will also push these changes up to the public repository:
     140
     141{{{
     142>git push
     143Counting objects: 10, done.
     144Delta compression using up to 2 threads.
     145Compressing objects: 100% (6/6), done.
     146Writing objects: 100% (9/9), 817 bytes, done.
     147Total 9 (delta 0), reused 0 (delta 0)
     148To git@github.com:Beman/simple.git
     149   9356e19..3a3a654  master -> master
     150}}}
     151
     152Your output, of course, will show your !GitHub account name rather than mine.
    111153
    112154
     155
     156