c73fe16a28851c7b6831b25c50343a57aec3951a
wiki/howto/onboarding.md
| ... | ... | @@ -63,6 +63,9 @@ The primary Git repository for the project is hosted on sapsailing.com. It is mi |
| 63 | 63 | * Clone the repository to your local file system from `ssh://[SAP-User]@git.wdf.sap.corp:29418/SAPSail/sapsailingcapture.git` or `ssh://[user]@sapsailing.com/home/trac/git` User "trac" has all public ssh keys. |
| 64 | 64 | * Please note that when using one of the newer versions of Cygwin, your Cygwin home folder setting might differ from your Windows home folder. This will likely lead to problems when issuing certain commands. For troubleshooting, take a look at the following thread: [https://stackoverflow.com/questions/1494658/how-can-i-change-my-cygwin-home-folder-after-installation](https://stackoverflow.com/questions/1494658/how-can-i-change-my-cygwin-home-folder-after-installation) |
| 65 | 65 | 2. Check out the 'master' branch from the git repository. The 'master' branch is the main development branch. Please check that you start your work on this branch. |
| 66 | +2. Configure your local git repository |
|
| 67 | + * Execute the command `git config core.autocrlf false` in the git repository |
|
| 68 | + * Ensure that your git username and email is set properly: In case you are unsure, use the commands `git config user.name "My Name"` and `git config user.email my.email@sap.com` in the git repository. |
|
| 66 | 69 | 3. Setup and configure Eclipse |
| 67 | 70 | * Make absolutely sure to import CodeFormatter.xml (from $GIT_HOME/java) into your Eclipse preferences (Preferences->Java->Code Style->Formatter) |
| 68 | 71 | * Install the required plugins using the script provided above. Further configuration steps depend on the plugins being installed successfully. As an alternative, the steps done by the script can be performed manually: |
| ... | ... | @@ -100,8 +103,7 @@ The primary Git repository for the project is hosted on sapsailing.com. It is mi |
| 100 | 103 | * Press "List Races" |
| 101 | 104 | |
| 102 | 105 | #### Git repository configuration essentials |
| 103 | - |
|
| 104 | -The project has some configuration of line endings for specific file types in ".gitattributes". To make this work as intended, you need to set the git attribute "core.autocrlf" to "false". This can be done by navigating to your local repository in a Bach/Git Bach/Cygwin instance and executing the command `git config core.autocrlf false`. |
|
| 106 | +The project has some configuration of line endings for specific file types in ".gitattributes". To make this work as intended, you need to ensure that the git attribute "core.autocrlf" is set to "false". This can be done by navigating to your local repository in a Bach/Git Bach/Cygwin instance and executing the command `git config core.autocrlf false`. |
|
| 105 | 107 | |
| 106 | 108 | If you are first time git user, don't forget to specify your user metadata. Use the commands `git config user.name "My Name"` and `git config user.email my.email@sap.com` to tell git your name and email address. |
| 107 | 109 |