I’m new to git, using svn for many years.
I created my master and then from inside the “master” directory created a branch:
git branch Dev
git checkout Dev
But the branch doesnt have any files associated with it. I think its my misunderstanding of git branches. Anybody want to explain? When I create a branch in svn I get a whole repos worth of stuff.
Branches are a logical concept in git, they dont exist physically in the file system like subversion. If you want to branch master, you need to type
This will create a new branch and set it as your working branch. To switch back to master
You can also see a list of all branches you have by doing