Git Project Init
Recently I just worked a lot on bitbucket. I can not tell it is better or not comparing with github.com. But I do find out some differences.
Here is a new way to init the Git Project.
>mkdir /path/to/your/project
>cd /path/to/your/project
>git init
>git remote add origin https://yourname@bitbucket.org/yourname/projectname.git
echo “Carl Luo luohuazju@gmail.com” >> contributors.txt
git add contributors.txt
git commit -a -m “init the project"
git push origin master
References:
Recently I just worked a lot on bitbucket. I can not tell it is better or not comparing with github.com. But I do find out some differences.
Here is a new way to init the Git Project.
>mkdir /path/to/your/project
>cd /path/to/your/project
>git init
>git remote add origin https://yourname@bitbucket.org/yourname/projectname.git
echo “Carl Luo luohuazju@gmail.com” >> contributors.txt
git add contributors.txt
git commit -a -m “init the project"
git push origin master
References: