Create a project directory, initialise git repository and copy some files:
mkdir gitter
git init
ls -a
. .. .git
git add -n /Users/ergun/gitter/ // -n: dry-run
git add /Users/ergun/gitter/ // actual add (stage)
git commit -m 'initial project version' /Users/ergun/gitter/
You may use add command to add new files or stage modified files.
Only staged files can be committed.
This is how you exclude DerivedData folder under your project folder:
Edit .git/info/exclude and add this line:
DerivedData/
x
Thursday, January 17, 2013
Subscribe to:
Posts (Atom)
iTerm2 - How to auto-close sessions and auto-exit when last one closed
Problem There are two problems when you close sessions and windows in ITerm2. When you gracefully exit from ITerm2 sessions with a recommen...
-
It is pain in the neck to deal with Help Viewer cache when developing your Help documents. After updating your indexes with Help Indexer, yo...
-
Xcode development environment is really powerful. However it takes a while until you learn whereabouts of features. For example, Save All ...
-
In this tutorial I am going to demonstrate how to detect memory leaks in your OS X applications. We are going to use XCode development envi...