Last active
July 8, 2020 04:23
-
-
Save theiwaz/f2e1ed06f0bdb3b46814e4cac36a3c68 to your computer and use it in GitHub Desktop.
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
$ git remote add origin https://github.com/user/repo.git | |
# Set a new remote | |
$ git remote -v | |
# Verify new remote | |
> origin https://github.com/user/repo.git (fetch) | |
> origin https://github.com/user/repo.git (push) | |
# Pusing to remote | |
git push -u origin head | |
To push and track current branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment