Created
December 25, 2014 15:27
-
-
Save ilyabrin/c3597f660900df5e7c5a to your computer and use it in GitHub Desktop.
Git --bare push
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
| ### Как сделать push в --bare репозиторий | |
| git init | |
| touch .gitignore | |
| git add .gitignore | |
| git commit -m "Initial commit" | |
| git remote add origin /path/to/bare/repo | |
| git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment