Last active
December 13, 2020 14:10
-
-
Save mburakerman/7b56b3d537c9d7d9df890596b4a762bc to your computer and use it in GitHub Desktop.
Upload files to an existing repo with git
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
// Initialize the local directory as a Git repository. | |
git init | |
// Add the files in your new local repository. This stages them for the first commit. | |
git add . | |
// Commit the files that you've staged in your local repository. | |
git commit -m "your message" | |
// Sets the new remote | |
git remote add origin https://github.com/mburakerman/tf-video-object-detection.git | |
// go main branch | |
git branch -M main | |
//Pushes the changes in your local repository up to the remote repository you specified as the origin | |
git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment