Created
March 16, 2017 14:09
-
-
Save xiangjjj/fe9879e372637eb47f3fa91a431fb738 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# create local repo | |
mkdir test_repo | |
# add remote repo | |
# now you can see how private_git_host simplifies our life | |
git remote add origin private_git_host:test_repo.git | |
# we can push, pull, etc. | |
git touch test_file | |
git commit -m "test commit" | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment