Fellow coders, today is my first dive into git using Tower on the Mac – life's too short to mess with the command line 😉
I did read a few intros and tutorials but none addressed the question I'm writing about. I'm having some trouble understanding the working directory concept in git vs. SVN.
What I did:
- I created a local repo and pointed it to the folder where my project files are.
- Added and committed all the files in the folder.
- Edited a file. Showed up as modified.
- Added and committed the file.
These steps worked.
So far I have not been asked for the location of the working directory and I cannot checkout the master HEAD (the option is disabled). My question is: Is my original folder acting as the checkout working directory? When does the checkout command work? Does it only come to play when I have multiple branches?
Hope someone can clarify this before I go any further.