Last active
December 5, 2018 23:57
-
-
Save seanmcdonnellblog/d008f51c77c9d9e0c024752730bfd417 to your computer and use it in GitHub Desktop.
GIT Init and Sync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initialise the local GIT repository (Needs to be run from the repository directory | |
git init | |
# You should see the following output "Initialized empty Git repository in C:/users/user/source/repos/.git/" | |
# Run the follow command to show the hidden Git file. This tracks any changes made to the repository | |
dir -ah | |
# To sync to the Azure DevOps Project, use the HTTPs push command found in your Azure DevOps Project under "Repos" | |
git remote add origin https://xxxxxx@dev.azure.com/xxxxxx/IaaSv1/_git/Blog | |
git push -u origin --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment