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.

  • Separate clones, or separate branches
  • How to undo a git merge, but keep history
  • Git: Creating Git Submodules out of existing repository and reflecting parent changes to the child repository
  • Efficient project architecture with git
  • Heroku push via HTTPS
  • What is the format of regular expressions in gitk?
  • 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?

  • Interactive rebase with Git Extensions
  • Git command to programatically add a range of lines of a file to the index?
  • Git Flag Syntax: why do some flags have -one dash and some have --two?
  • Find new location for file in Git
  • How to integrate visual conflict resolution (P4Merge) into SourceTree
  • Clone a git repo with credentials using gulp-git
  • 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.