Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.72 KB

GIT SETUP.md

File metadata and controls

56 lines (42 loc) · 1.72 KB

GIT SETUP


  1. First go to https://github.com/ and create a git account;
  2. Go to https://github.com/lballabio/QuantLib and press Fork;
  3. Go to https://github.com/paolomazzocchi/QuantLibAddin-Old and press Fork;
  4. Go to msysgit.github.io and download the program;
  5. Run the .exe file;
  6. Use git from git bash only, checkout windows style, commit unix style line endings;
  7. Run Git Bash (Right Click-->Git Bash Here);
  8. 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;

  1. Run the following command (you have to use the username that you use in github.com):

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;

  1. To see which remote servers you have configured, you can run the command:
    - **$ git remote –v**

  1. To add a remote server, you can run the command:
    - **$ git remote add** _RemoteServerShortNameUrl_;

  1. 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: