Tim Evans GIT Tips Page

Tim Evans Computing Tips Main Page Tim Evans Informal Home Page | Tim Evans Imperial College page

Surely even I could follow this simple guide to git.

GIT Basics

This is the basic order of any work flow. All of this is done by working in the working directory.

GIT Documentation

GIT Tools

I use the free Netbeans IDE for programming and the latest versions have good integration with GIT.

GIT ignore file

This is an example of my .gitignore file.

# a comment - this is ignored
*.dat     # data files
*.txt     # text and data files
*.eps     # figure output
*.bmp     # figure output
*.jpg     # figure output
OLD/      # OLD directiories ignored

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.a       # no .a files


# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# NetBeans Files #
##################
nbproject/
build.xml
package-info.java

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db

# Backup files #
################
*.bak
*.old
*.xxx
old\
/networks/build/
/networks/dist/