I have a master branch and you want to create a new branch on it, and then switch to a new branch.
I am very new to coda / github / terminal, so I donβt even know if the syntax is correct. here, what I typed is the letter for the letter, with the exception of the names of the branches that are placeholders:
git checkout -b $ newbranchname $ oldbranchname
This was the proposed format based on the github cheat map presented 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 do not know what is happening. Do I need to point to a directory or something in the branch name? Any information is greatly appreciated.
source
share