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.

  • How to Tell Engine Yard to Not Delete a File in the .gitignore
  • Reduce git repository size
  • Command Prompt Directory Styling
  • What does git-config(1) mean when it says “colors are used only when the output is to a terminal”?
  • Can I share an entire Git project via Gist?
  • git push failing for certain branch names
  • 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?

  • How can I easily apply a bugfix on several release branches in Git?
  • Search for a code change in all branches
  • Showing graphically the equivalent of git log --follow in IntelliJ
  • Building PhantomJS-2 from source on Windows
  • git blob fails on push
  • Why does git diff-index HEAD result change for touched files after git diff or git status?
  • One Solution collect form web for “git workflow for making modifications you'll never push back to origin”

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

    Git Baby is a git and github fan, let's start git clone.