-
Notifications
You must be signed in to change notification settings - Fork 13
Installing git
Rodrigo Fraga edited this page Mar 25, 2015
·
9 revisions
This guide will help you install git v.1.9.5 in order to develop it for AX.
- Download git version 1.9.5 and run the setup
- When prompted to adjusting your PATH environment, select "Use Git Bash only"
- When prompted with "Configuring the line ending conversions" select "checkout windows-style commit unix-style line endings"
- Follow the instructions until the end
- Open the Bash
- Type in the following command to make sure you have Git version 1.9.5
$ git --version
- Configure your username and email. This will identify your commits
$ git config --global user.name yourname user.email [email protected]
- Check if the value has been set
$ git config --get-all user.name
$ git config --get-all user.email
- Open windows services (start --> Run --> services.msc)
- Check which service user Dynamics AX 2012 AOS is running as
- Fork this repo by clicking in the fork action, refer to your repository http path
- Open a new bash window and clone the repo
$ git clone https://github.com/youruserthatforked/gitax
- When you cloned git created the set of directories, go to the top level 'gitax' folder
- Let's add the upstream remote
$ git remote add upstream https://github.com/fraga/gitax
- Now let's fetch the upstream repo
$ git fetch upstream
Your basic Git setup is now done
A great tool to be used along git is GitExtensions. It can be downloaded here and it's open source.