1. Нам важно Ваше мнение!
    и обсуждайте вместе! Нажимайте "мне нравится" и рекомендуйте друзьям ;)
    Понравилось тема? Напишите в ней свой отзыв.
    Считаете что тема не достаточно полно раскрыта? Расскажите свою точку зрения!
    С Вашей помощью сделаем форум еще лучше!

San Antonio : continuous delivery in devops - Eduard Kabrinskiy

Тема в разделе 'Горячие новости для тех кто следит за собой', создана пользователем SHALOMEn, 12 май 2021.

  1. SHALOMEn

    SHALOMEn Member

    Kabrinskiy Eduard - Azure devops copy files to remote server - Eduard Kabrinskiy


    <h1>Azure devops copy files to remote server</h1>
    <p>[youtube]</p>
    Azure devops copy files to remote server <a href="http://remmont.com">World news</a> Azure devops copy files to remote server
    <h1>How to add an existing project into Azure DevOps repo with GIT</h1>
    <p>This short article pretends to show you the steps to follow for adding an existing project from your computer into a repository which has been previously configured inside the Azure DevOps platform and associated it with a specific project.</p>
    <p>The tools that you need to install or configure are the next:</p>
    <p>The first thing to do is installing GIT in your computer, I don’t want to become this post in three in one article, for this reason, I am only giving some links about how to install and configure GIT and Azure DevOps, above the links which explain in a detailed way how to do it:</p>
    <p>Once time that you have completed all the steps to setup your environment, we are going to configure the new Azure develops with a local project which you can store on your local machine.</p>
    <p>For this example, I am going to create a new project in Azure DevOps called DevopArticle.</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/2019-05-19_22-38-46-1024x874.png" /></p>
    <p>I have chosen GIT as Version Control and configured the project as Private. The next step consists in create a new repository, for this you only need to click in the lateral menu and click on the Repos section as show the next image:</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/image.png" /></p>
    <p>Once time that you have click in the right area is displayed the default configuration for cloning your new empty and shinning repository associated with your project.</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/image-2.png" /></p>
    <p>Under the premise of having an existing project for this article where I have two simple .sql files, it would be enough to show you the process. You have to open GitBash which is basically the GIT terminal to work from command line, personally I prefer to use this approach because let me to learn the syntax and remove any dependency to specific IDE. Enter in the Run and type GIT Bash and windows shows you the icon</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/image-3.png" /></p>
    <p>In our case we have an existing project that we want to move into Azure Repo, then you should locate inside the folder first. If you are on Windows you must write the folder following the next pattern:</p>
    <p>In my case I used a name which contain an space only for instructive purpose, the only difference consist in close between quotes your folder path</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/image-4.png" /></p>
    <p>I leave the instruction pwd which is useful to identify the folder that GIT Bash is pointing out. The next step consists in initialize a new repository in the target folder configured before, the name is optional and if you leave empty it will be assigned automatically by GIT using the folder name.</p>
    <p>The creation of a new repository is the first stage to have the capability of tracking and interact with GIT, as mentioned before the aim of this article is to upload an existing project into Azure DevOps, it makes different to clone in the sense that when you are cloning a repository into your computer a group of steps and configuration are automatically done by GIT without manual intervention.</p>
    <p>Every time that you initialize a repository it represents the master branch, unfortunately this interesting topic is not part of content to be covered in this article, but I really encourage you to learn more about it in this excellent post: <br />https://datasift.github.io/gitflow/IntroducingGitFlow.html </p>
    <p>Continuing we have to do a global commit which include every file in my folder (in this example I am not adding a .gitignore file), but remember that before to do a commit is required to staging all the files that you pretend to include in the initial commit.</p>
    <p>In this picture you can look the life ycle of the status in any files which is part of GIT repository</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/image-5.png" /></p>
    <p>At the initial commit we want basically move from <strong>Untracked</strong> to <strong>Staged</strong>, for staging we have to indicate which file we want to move or specify a pattern, as example:</p>
    <p>Now that we are sure about which files are ready for committing the next GIT instructions to allow us to finally commit, on the other hand, is very important to remember that these changes as registered in our computer and it has not integrated on the remote location.</p>
    <p>All the command executed until now are enough for preparing our computer for being a version server, however, is necessary to share or distribute the code of this project, specifically, we want to upload at Azure DevOps project then the next command is key to indicate where we want to push this change, the next command basically set up the remote address and an alias to use and by default is origin when you have cloned a repository (you can check with a simple git remote command) .</p>
    <p>Finally, we are ready to distribute our version of this project and upload to our shining Azure DevOps project, the last step consists of pushing all the files previously committed.</p>
    <p style="clear: both"> <img src="https://geohernandez.net/wp-content/uploads/2019/05/image-10.png" /></p>
    <p>And to confirm that all is ok, the next image show you the files uploaded:</p>
    <p style="clear: both"> <img style="float: left; margin: 0 10px 5px 0;" src="https://geohernandez.net/wp-content/uploads/2019/05/image-11-1024x259.png" />Azure repository</p>
    <p>I hope this article would be useful and you can start to play with git and Azure DevOps, remember to write me if you have any question and happy querying .</p>
    <h2>Azure devops copy files to remote server</h2>

    <h3>Azure devops copy files to remote server</h3>
    <p>[youtube]</p>
    Azure devops copy files to remote server <a href="http://remmont.com">News update today</a> Azure devops copy files to remote server
    <h4>Azure devops copy files to remote server</h4>
    How to add an existing project into Azure DevOps repo with GIT This short article pretends to show you the steps to follow for adding an existing project from your computer into a repository
    <h5>Azure devops copy files to remote server</h5>
    Azure devops copy files to remote server <a href="http://remmont.com">Azure devops copy files to remote server</a> Azure devops copy files to remote server
    SOURCE: <h6>Azure devops copy files to remote server</h6> <a href="https://dev-ops.engineer/">Azure devops copy files to remote server</a> Azure devops copy files to remote server
    #tags#[replace: -,-Azure devops copy files to remote server] Azure devops copy files to remote server#tags#

    Kabrinskiy Eduard
    new

Поделиться этой страницей