Is it possible ? To whenever create new branch from HEAD as a master automatically create new folder and pull into that branch. So I can easily switchover to master branch or new create branch.
In my case I create new branch and add some code and commit into new branch so in BitBucket show two branch with commit that are perfect. But in my local folder are only one. Now I my local folder show new branched code. so what about master branch.
How can I get master branch in new folder ? Same as when I create new branch automatically create new folder ?
Git manages the branching. When you select a branch - the branch is the active branch and the local folder corresponds to the current branch. If you switch over the branch in source tree, the local folder will automatically reflect to selected branch. That is beauty of GIT.
To answer your question, can we do separate folder for each branch, yes clone the branch in different folder.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs