Git Project Init

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://[email protected]/yourname/projectname.git

echo “Carl Luo [email protected]” >> contributors.txt
git add contributors.txt
git commit -a -m “init the project"
git push origin master

References:

猜你喜欢

转载自sillycat.iteye.com/blog/2248954
今日推荐