Public snipts » dalord's snipts » how to create a git repo on a server under msysgit on windows
posted on Sep 20, 2009 at 5:11 a.m. EDT in
cd /e/language/Project/src
git init
vim .gitignore # *.pyc, *~
git add .gitignore # ...
git commit -m "Initial commit"
cd ../.. # /e/language
git clone --bare Project/src project.git
scp -r -P 1234 project.git user@192.168.0.1:~/git
# delete 'Project' in Eclipse
git clone ssh://user@192.168.0.1:1234/~/git/project.git project/src
# recreate 'project' in Eclipse
bash
1
cd /e/language/Project/src
git init
vim .gitignore # *.pyc, *~
git add .gitignore # ...
git commit -m "Initial commit"
cd ../.. # /e/language
git clone --bare Project/src project.git
scp -r -P 1234 project.git user@192.168.0.1:~/git
# delete 'Project' in Eclipse
git clone ssh://user@192.168.0.1:1234/~/git/project.git project/src
# recreate 'project' in Eclipse
copy
|
embed
Hey there! I see you're running Internet Explorer 6.
That's neat. This reminds me of my grandpa. He had this old car that he kept having to fix. He spent so much money on it that he didn't want to get rid of it (even when it stopped running).
You guys should hang out.
Here's a free sports car from Snipt.
0 Comments