Last active
April 25, 2017 14:14
-
-
Save artgris/b44746bb31fb60cfdd5646530b2638e0 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
Server | |
git init --bare --shared | |
Local | |
git init | |
git remote add origin ssh://user@ip/.../server | |
git add .gitignore | |
git commit -m "first commit" | |
git push --set-upstream origin master | |
Submodule | |
git submodule add ssh://user@ip/.../server folder | |
Clone | |
git clone --recursive ssh://user@ip/.../server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment