Using GIT for Dataflex Development: Difference between revisions

no edit summary
No edit summary
Line 35: Line 35:


=== Creating your first repository ===
=== Creating your first repository ===
Let’s create a GIT repository of the Visual Dataflex example Order Entry workspace. This workspace always is clean when VDF is installed but in my case, full of test and other changed code after a while. Being able to go back to the original version seems like a good idea for a first repository.
Let’s create a GIT repository of the Dataflex example Order Entry workspace. This workspace always is clean when VDF is installed but in my case, full of test and other changed code after a while. Being able to go back to the original version seems like a good idea for a first repository.


Start with navigate to and select the workspace directory then use the right click (short cut) menu, and select ‘Git Init Here’ as below.
Start with navigate to and select the workspace directory then use the right click (short cut) menu, and select ‘Git Init Here’ as below.
Line 66: Line 66:
We can teach GIT what files to ignore by placing a file called .gitignore in the workspace directory. The content of the file is;
We can teach GIT what files to ignore by placing a file called .gitignore in the workspace directory. The content of the file is;
  <nowiki>
  <nowiki>
#Exclude the following files for Visual DataFlex Projects
#Exclude the following files for DataFlex Projects
####################################
####################################
programs/*.exe
programs/*.exe
71

edits