Skip to content

Instantly share code, notes, and snippets.

@ilyabrin
Created December 25, 2014 15:27
Show Gist options
  • Select an option

  • Save ilyabrin/c3597f660900df5e7c5a to your computer and use it in GitHub Desktop.

Select an option

Save ilyabrin/c3597f660900df5e7c5a to your computer and use it in GitHub Desktop.
Git --bare push
### Как сделать 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