Tag Archives: git

How do I make existing non-bare repository bare?

I started a git local repository, but how can I make this existing repository a bare repository?

ssh to remote server
git clone –bare -l

renamed old repository directory
renamed new repository dir to what old repository used to be

Source: https://git.wiki.kernel.org/index.php/GitFaq

Gist: a great way to share code snippets

I just don’t want to install plugins on my wordpress blog to do things that someone already do better than these plugins!
Example: code highlighters.
I’ve found a great service from Git, it’s name is Gist and you can use it as a quick repository for your code snippets. You could use it to store anything in [...]