On Mon, Dec 23, 2013 at 05:54:06AM -0800, Sakshi Bansal wrote: > I want to add a new file to an existing branch and then bundle the > whole thing as a single class. How to do using git??
You add a file by first checking out the branch, then adding the file. The pattern is like this: % git checkout my-branch % touch new-file [edit file to heart's content] % git add new-file % git commit -m 'Added the new-file.' As for the second part of the question I simply don't understand since git doesn't have any concept called a 'class'. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus When the people fear their government, there is tyranny; when the government fears the people, there is liberty. -- Thomas Jefferson
pgpC3Hi8Qnan6.pgp
Description: PGP signature