adrianj / RangeImaging

Various things related to range imaging - specifically the Victoria University PMD19k Range Imaging System
4 stars 1 forks source link

Readme file for RangeImaging Git project.

The goal for this Git repository is to host all of my code for the Victoria University Range Imaging project. Different aspects include:

VHDL code - VHDL source code for FPGA projects. Altera - Altera Quartus projects and associated settings. Nios - Code specific to the Nios II microprocessor by Altera. Java - Java code, used for range imaging PC client.

More to come later, including the java packet capturing application.

Also - here are some reminders to myself about how to use Git:

git add : Adds files to repositories. Be careful when adding directories, since it adds all files in the directory. Better to go into the directory and add only files with matching patterns, eg, "git add *.vhd"

git commit -a -m "message" : Commits changes to all modified files. Without the -m "message" it opens up VIM asking for a message. Quitting is not intuitive - type " :wq" to save and quit. There must surely be an easier way!!

git push : pushes commited changes to github. If it fails, do a fetch/merge to fix any conflicts (see below) and then try push again.

git --help git --help. Gives help info for git and git commands (eg, commit, add, etc.)

git pull origin master : Fetches and merges changes from origin (the web hosted version) into master (my local version).

git fetch origin : followed by... git merge origin/master : These two commands do the same as 'git pull origin master', but doing the fetch seperately can be less confusing if a conflict results.