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)
How to recover from Mac Book Pro catastrophes
Synopsis DISCLAIMER: This article applies to Intel based MacBook Pro 4th generation models with a Touch Bar (2006-2020.) The methodology giv...
-
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...
-
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...
-
The target-action approach to event-driven systems allows for a much greater deal of dynamism when compared to other, more static approaches...