mkdir /path/to/your/project
cd /path/to/your/project
git init
git remote add origin https://user@hostname/path/to/git/repository.git
echo "This is for creating a new file." >> readme.txt
git addreadme.txt
git commit -m 'Initial commit'
git push -u origin master
No comments:
Post a Comment