Adding an existing Visual Studio project to Git BitBucket using Sourcetree.
- Create new repository in BitBucket.org.
- Create new working folder on local computer.
- Using BitBucket Sourcetree app, create new project by clone. Clone BitBucket repository (https://
account01 @bitbucket.org/account01/project01.git) to local working folder (c:\git\project01). - Add .gitattributes and .gitignore files to root of working folder.
- Add Files and Folders to working folder.
- Using Sourcetree, “Stage All” all files and commit.
- Using Sourcetree, push to BitBucket.
- Check BitBucket repository for new files and folder.
Comments