Git Workflow

From Littledamien Wiki
Revision as of 02:51, 9 May 2012 by 192.168.123.1 (talk) (Created page with "Git Server set up on dbarchowsky.com. ==Configuration== * Physical origin repos located beneath <code>d:\shared\git</code> * To make a new project: <syntaxhighlight lang="do...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Git Server set up on dbarchowsky.com.

Configuration

  • Physical origin repos located beneath d:\shared\git
  • To make a new project:
d:
cd \shared\git
mkdir myprojectname
cd myprojectname
git init
  • A symbolic link has been created between my user directory and the Git base directory
cd ~
mklink /d "git" "d:\shared\git"
symbolic link created for git <<===>> d:\shared\git
  • The symbolic link allows access to the git repo via
$ git clone|push|pull|etc. ssh://username@server/git/path/to/myrepo