Open git bash - if on windows
Create a folder where you want to have your local repository.
$ git init // will create a .git file
$git config --global user.name "username"
$git config --global user.email "xxx@gmail.com"
Create a folder where you want to have your local repository.
$ git init // will create a .git file
$git config --global user.name "username"
$git config --global user.email "xxx@gmail.com"
$echo "# gold" >> README.md
$git init
$git add README.md
$git commit -m "first commit"
$git remote add origin https://github.com/username/gold.git
git push -u origin master
to clone a public repot git clone repourl later convert to eclipse compatible with mvn eclipse:eclipse
ReplyDelete