- First go to https://github.com/ and create a git account;
- Go to https://github.com/lballabio/QuantLib and press Fork;
- Go to https://github.com/paolomazzocchi/QuantLibAddin-Old and press Fork;
- Go to msysgit.github.io and download the program;
- Run the .exe file;
- Use git from git bash only, checkout windows style, commit unix style line endings;
- Run Git Bash (Right Click-->Git Bash Here);
- Run the following commands (in red enter your credentials):
-
$ git config --global user.name "Digit your Name"
-
$ git config --global user.email [email protected]
-
$ git config -–global http.proxy YourProxy
-
Run $ git config –-list to see the modified settings;
- Run the following command (you have to use the username that you use in github.com):
-
- **$ git clone _https://github.com/username/quantlib_**;
10. Go to: /c/Users/access_user/quantlib; 11. Run the following command to move to a specific branch:
-
$ git checkout NameOfBranch+
-
Remember: For the last BIMI version use branch: master;
- To see which remote servers you have configured, you can run the command:
-
- **$ git remote –v**
- To add a remote server, you can run the command:
-
- **$ git remote add** _RemoteServerShortNameUrl_;
- To automatically fetch and then merge a remote branch into your current branch, you can run the command:
-
- **$ git pull** _RemoteServerShortnameBranch_;
15. For a better git comprension, you can download the Free eBook: "_Pro Git Book_" from this link: