Skip to content

Instantly share code, notes, and snippets.

View karabulut's full-sized avatar

Yunus Emre Karabulut karabulut

View GitHub Profile
git fetch (this does not merge them)
mkdir repo.git && cd repo.git
git init --bare[--shared=group]
git clone ~/existing/repo ~new/repo
git clone you@host:dir/project.git (default protocol is ssh)
cd ~/projects/myproject
git init
git add .