Skip to content
liquidware edited this page Sep 13, 2010 · 14 revisions

Antipasto Arduino IDE

The Antipasto Arduino IDE is a branch of the standard Arduino IDE release, with a few added features.

Binary distributions for Windows, Mac and Linux are hosted at liquidware and illuminatolabs with download links are over there.

Working with Git

While Mark and I were first learning git, we took some notes about how to use git and github effectively.

Look at your changes. If you’ve made changes, run this command first. I usually run this often. This command allows you to see the changed files in your tree.

git status 

Get the latest changes from the remote server. Pull also does tries to do a merge. It may fail. If so, you should decide if want the changes. If not, git checkout to revert specific files.

git pull 

See the differences between the repository you checked out and your current file changes. You can also git diff a remote branch by for example to see how your local files will apply with new remote changes try this: git diff remotes/origin/master *

git diff ./somefile/somewhere.txt 

Checkout the original file. This destroys your changes, reverting back to the original. You can also checkout entire directories to make reverting easier.

git checkout ./somefile/somewhere.txt 

Use a GUI interface to help visualize current changes and pick the files for committing. I almost always stage my files to commit through the GUI. It’s especially easier when your first getting comfortable with git or if you just like GUI tools better.

git gui

Learn about the world around you. This command shows you all the branches in the project. Projects can have many branches. Some are simply tracking versions, while others point to the remote origin master.

git branch -a 

Create a local branch with all your current commits. Use this if you’d like to create branch to move forward of the master. Don’t worry, the master can merge back with you at any time. Before running this, it’s important to make sure you commit (or revert by git checkout) all changes before you branch. Remember, git status is your friend to help you clean up your repository before branching. Usually I git checkout my-branch-name after I create the new branch with git branch.

git branch my-branch-name

Completely checkout an existing branch. All changes to your files might be lost if they are not committed first. It’s good practice to commit before branching and checking out a new branch

git checkout my-branch-name
Clone this wiki locally