Dear Wiki user,

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

The "UsingGIT" page has been changed by LucMaisonobe:
https://wiki.apache.org/commons/UsingGIT?action=diff&rev1=7&rev2=8

  you should configure at least configure one parameter: the `core.autocrlf` 
setting. This setting will adapt the
  line-ending conversion done between the Apache repository and your workspace.
  
- If you are using MacOSX or Linux, you should run: { { {
+ If you are using MacOSX or Linux, you should run: {{{
    git config --global core.autocrlf input`
- } } }
+ }}}
  
- If you are using Windows, you should run: { { {
+ If you are using Windows, you should run: {{{
    git config --global core.autocrlf true
- } } }
+ }}}
  
  
  The first setting forces Git to only strip accidental CR/LF when committing 
into the repository, but never when cheking
@@ -74, +74 @@

  
  If for some reason some specific files needs to be checked in with specific 
conversion (or without conversion at all),
  they can be specified in a ``.gitattributes`` file. For example, you can 
force files to be handled as text, or on
- the contrary to never be considered as text and therefore not converted: { { {
+ the contrary to never be considered as text and therefore not converted: {{{
    # general pattern for files known to be text: End Of Line transformations 
will be done
    *.apt                               text
    *.html                              text
@@ -102, +102 @@

  
    # specific data files known to not be text: no End Of Line transformations 
will be done
    src/*/resources/*/weird-*-binary-file  -text
- } } }
+ }}}
  
  Two other important parameters should be set, but they may need to be set on 
a per-repository
  basis, in case you have different usernames and mail addresses for Apache and 
non-Apache projects.
  In this case, the following comands must be run after you have cloned the 
repository, and they
- should be run from inside the cloned workspace: { { {
+ should be run from inside the cloned workspace: {{{
    git config --local user.name "You Name"
    git config --local user.email apach...@apache.org
- } } }
+ }}}
  
  = Comparison with subversion commands =
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to