Created
January 4, 2014 20:21
-
-
Save aarti/8260185 to your computer and use it in GitHub Desktop.
Create a bare git depot, add it as remote then push to it. Useful when setting up jenkins locally.
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
mkdir -p ~/depot | |
git clone --bare ~/dev/aarti/myproject ~/depot/myproject.git | |
cd ~/dev/aarti/myproject | |
git remote add origin ~/dev/aarti/myproject | |
git remote -v | |
git push jenkins master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment