After creating a new team project on TFS or VSTS, you need to start coding on this project.
There are 5 ways of starting a new coding project on TFS 2018 and VSTS. You can choose your action depending on your status of project.
5 ways of starting a new project
Status | Action | |
---|---|---|
1 | You don’t have any code written. | initialize with a README or gitignore |
2 | You have code on your local machine. | initialize with a README or gitignore |
3 | You have an existing git repository on your local machine. | push an existing repository from command line |
4 | You have an existing repository on a different Git repository. | import a repository |
5 | You don’t want to add any code repository, just need a build system. | build code from an external repository |
Close shot: import a repository
You can import an existing public or private repository (from github, bitbucket, gitlab, tfs…). It is possible to import a Git or TFVC source code repository.
Close shot: initialize with a README or gitignore
If you want to initialize an empty git repository, TFS and VSTS creates a ReadMe and .gitignore file for your repository.