Created
March 16, 2017 14:09
-
-
Save xiangjjj/e1c33723d65ed8bd01f7de9f2a8aa91c 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