Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git workflow for making modifications you'll never push back to origin

Git newbie here.

I'm building an iPhone app with PhoneGap, which has a Git repos. I'd like to keep track of my changes to the PhoneGap code (mainly, adding files to the www directory) in my own Git repository, while being able to pull the latest and greatest out of PhoneGap.

What's the best way of doing this? Is this what a branch is intended for?

Also, how would I get it to ignore the fact that I deleted folders I don't need, like the android/ and blackberry/ folder?

like image 890
ceejayoz Avatar asked Feb 24 '09 14:02

ceejayoz


1 Answers

This is exactly what a branch is for. You should work on your branch, and pull changes from the main branch, possibly using --rebase.

like image 73
Can Berk Güder Avatar answered Sep 30 '22 19:09

Can Berk Güder