将自己的代码发布到github,让别人引用
写好代码后
1、git init
2、git add .
3、git commit -m “”
4、git remote add origin https://github.com/xxx/hello.git
5、git push -u origin master
6、git tag v0.1.0(打tag才可以让别人引用)
7、git push origin v0.1.0
将自己的代码发布到github,让别人引用
写好代码后
1、git init
2、git add .
3、git commit -m “”
4、git remote add origin https://github.com/xxx/hello.git
5、git push -u origin master
6、git tag v0.1.0(打tag才可以让别人引用)
7、git push origin v0.1.0