push projects to DevOps from Visual Studio 2017
I am new to devops/git. I have a VS solution with 10 projects that I want to push into empty devops repo which I created. In VS > Options > Source control I have set it to Git. When I connected to Azure Devops from VS I had to specify a local repositiory. I initially set this to the Users directory. I then created Repositiory settings > .gitignore and commit/pushed it. The ignore file successfully uploaded into the repo and was pulled into the local repo. I can't see how to upload the projects. There seems to be no option to push them. I then changed the local repository to the directory where the solution projects are located. Now there is nothing available to pull or push.
I am the only developer on this project. My aim is to learn Devops not to create a team. In this case there is no existing repository to clone, which is the subject of almost all help articles. I'm trying to create a new one.
git devops
add a comment |
I am new to devops/git. I have a VS solution with 10 projects that I want to push into empty devops repo which I created. In VS > Options > Source control I have set it to Git. When I connected to Azure Devops from VS I had to specify a local repositiory. I initially set this to the Users directory. I then created Repositiory settings > .gitignore and commit/pushed it. The ignore file successfully uploaded into the repo and was pulled into the local repo. I can't see how to upload the projects. There seems to be no option to push them. I then changed the local repository to the directory where the solution projects are located. Now there is nothing available to pull or push.
I am the only developer on this project. My aim is to learn Devops not to create a team. In this case there is no existing repository to clone, which is the subject of almost all help articles. I'm trying to create a new one.
git devops
add a comment |
I am new to devops/git. I have a VS solution with 10 projects that I want to push into empty devops repo which I created. In VS > Options > Source control I have set it to Git. When I connected to Azure Devops from VS I had to specify a local repositiory. I initially set this to the Users directory. I then created Repositiory settings > .gitignore and commit/pushed it. The ignore file successfully uploaded into the repo and was pulled into the local repo. I can't see how to upload the projects. There seems to be no option to push them. I then changed the local repository to the directory where the solution projects are located. Now there is nothing available to pull or push.
I am the only developer on this project. My aim is to learn Devops not to create a team. In this case there is no existing repository to clone, which is the subject of almost all help articles. I'm trying to create a new one.
git devops
I am new to devops/git. I have a VS solution with 10 projects that I want to push into empty devops repo which I created. In VS > Options > Source control I have set it to Git. When I connected to Azure Devops from VS I had to specify a local repositiory. I initially set this to the Users directory. I then created Repositiory settings > .gitignore and commit/pushed it. The ignore file successfully uploaded into the repo and was pulled into the local repo. I can't see how to upload the projects. There seems to be no option to push them. I then changed the local repository to the directory where the solution projects are located. Now there is nothing available to pull or push.
I am the only developer on this project. My aim is to learn Devops not to create a team. In this case there is no existing repository to clone, which is the subject of almost all help articles. I'm trying to create a new one.
git devops
git devops
asked Nov 21 at 0:32
robert
5816
5816
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I initially set this to the Users directory
Make sure to set it in the parent folder where your 10 projects reside.
That is where you can create a new repo in Visual Studio.
From an existing solution
To create a repo from an existing solution not in version control, select the
Publish
button in the bottom-right of the lower status bar Visual Studio publish button.
This creates a new Git repo in the same directory as your solution and opens up the Publish view in Team Explorer so you can push your code to Azure Repos or another remote Git repository.
And that is from where you can do a git push from Visual Studio.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53403666%2fpush-projects-to-devops-from-visual-studio-2017%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I initially set this to the Users directory
Make sure to set it in the parent folder where your 10 projects reside.
That is where you can create a new repo in Visual Studio.
From an existing solution
To create a repo from an existing solution not in version control, select the
Publish
button in the bottom-right of the lower status bar Visual Studio publish button.
This creates a new Git repo in the same directory as your solution and opens up the Publish view in Team Explorer so you can push your code to Azure Repos or another remote Git repository.
And that is from where you can do a git push from Visual Studio.
add a comment |
I initially set this to the Users directory
Make sure to set it in the parent folder where your 10 projects reside.
That is where you can create a new repo in Visual Studio.
From an existing solution
To create a repo from an existing solution not in version control, select the
Publish
button in the bottom-right of the lower status bar Visual Studio publish button.
This creates a new Git repo in the same directory as your solution and opens up the Publish view in Team Explorer so you can push your code to Azure Repos or another remote Git repository.
And that is from where you can do a git push from Visual Studio.
add a comment |
I initially set this to the Users directory
Make sure to set it in the parent folder where your 10 projects reside.
That is where you can create a new repo in Visual Studio.
From an existing solution
To create a repo from an existing solution not in version control, select the
Publish
button in the bottom-right of the lower status bar Visual Studio publish button.
This creates a new Git repo in the same directory as your solution and opens up the Publish view in Team Explorer so you can push your code to Azure Repos or another remote Git repository.
And that is from where you can do a git push from Visual Studio.
I initially set this to the Users directory
Make sure to set it in the parent folder where your 10 projects reside.
That is where you can create a new repo in Visual Studio.
From an existing solution
To create a repo from an existing solution not in version control, select the
Publish
button in the bottom-right of the lower status bar Visual Studio publish button.
This creates a new Git repo in the same directory as your solution and opens up the Publish view in Team Explorer so you can push your code to Azure Repos or another remote Git repository.
And that is from where you can do a git push from Visual Studio.
answered Nov 21 at 5:51
VonC
828k28726073151
828k28726073151
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53403666%2fpush-projects-to-devops-from-visual-studio-2017%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown