-
First, you're going to create a new branch to track the new feature. First, sync up to make sure your local copy has the latest production version of the website:
$ cd ~/git/project $ git fetch origin $ git checkout staging $ git reset --hard origin/staging
Then create the new feature branch:
$ git checkout -b feature/FOO staging
(Make sure to replace `FOO` with a short name describing the new feature.)