I have a master branch and would like to create a new branch based on it, and then switch to the new branch.
I'm very very new to coda/github/terminal so I don't even know if my syntax is correct. here's what I typed in, letter for letter, with the exception of the branch names which are placeholders:
git checkout -b $newbranchname $oldbranchname
This was the suggested format based on the github cheatsheet seen here: http://bit.ly/WXRGN
unfortunately I get this error message: fatal: Not a git repository (or any of the parent directories): .git
Please help, I really have no idea what's going on. Do I need to be pointing to a directory or something in the branch name? Any info is much appreciated