visual studio - Getting my code into a new Git repo on VSTS -


this first time i'll using git on vsts need bit of next steps.

i have new solution -- multiple projects in -- on computer. created new project on vsts.

here's want next:

  1. i first want create 2 branches called "master" , "dev" can manage continuous integration properly.

  2. i want "push" code "dev" branch. not sure right terminology in git e.g. push, import, clone etc.

after creating project on vsts, here's i'm seeing on screen. how handle steps mentioned above here?

enter image description here

use push existing repo commandline, steps explained there quite when click link on screen posted. can't create structure remotely, push local branch specific branch name on remote. easiest take current solution, commit local repo, add vsts remote uri local repo , use git push -u origin master push master branch. then, checkout local develop branch (git checkout -b develop , push same branch remote using: git push -u origin develop create structure want.

or visual studio ui, go settings tab , add vsts remote: rightclick local master branch , choose "publish". create new branch master (from context menu) , publish too.


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -