Please make sure that your commit message is as meaningful as possible. ![]() If you omit the -m "I added a very nice feature to GammaLib." part, a vi editor will open to allow you entering a more comprehensive message. $ git commit -m "I added a very nice feature to GammaLib." After testing your modification, you will issue the commands Suppose that you modified the file src/app/GApplication.cpp in creating your new feature. Now you can configure, compile and check using Before a first compilation, you need to create the relevant autotools files. Now you can develop the code, compile and check. To create a new branch called my_new_feature. In this case, you would issue the command Suppose you want to create a new feature for GammaLib. The general policy for adding or modifying source code is the creation of a new branch. The master branch always contains the code of the last GammaLib release, and serves as seed for hotfixes. Make sure that you will never use the master branch to start your software developments, as pushing to the master branch is not permitted. Note that the default branch from which you should start for software developments is the devel branch, and the git clone command will automatically clone this branch from the central repository. This will create a directory called gammalib under the current working directory that will contain the GammaLib source code. Which disables certificate verification globally for your installation. $ git config -global http.sslverify "false" To disable certificate verification, we recommend to issue the command The GammaLib source code will be accessed using the https protocol, which makes use of SSL certificates. ![]() $ git config -global user.email make sure that you specify your full name as user.name, do not use your abbreviated login name because this makes code modification tracking more cryptic. ![]() $ git config -global user.name "Joe Public" This is best done globally using the commands Before using Git, make sure that your user name and e-mail address is correctly configured. To contribute to the GammaLib source development, you need Git installed on your machine (which is likely already the case). Merging code into the central repository.Updated over 9 years ago by Knödlseder Jürgen Using Git for GammaLib development ¶
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |