2- init local project:
mkdir /path/to/your/project
cd /path/to/your/project
git init
git remote add origin https://<bitbucket_username>@bitbucket.org/<bitbucket_username>/<repository_in_lower_case>.git
3- first commit:
echo "James Bond" >> contributors.txt
git add contributors.txt
git commit -m 'Initial commit with contributors'
git push -u origin master
3- first commit:
echo "James Bond" >> contributors.txt
git add contributors.txt
git commit -m 'Initial commit with contributors'
git push -u origin master
Aucun commentaire:
Enregistrer un commentaire