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:
本文介绍了如何在Bitbucket上初始化一个Git项目,包括创建目录、初始化仓库、添加远程仓库等步骤,并演示了如何提交首个文件。
824

被折叠的 条评论
为什么被折叠?



