之前是把代码放到google code上的,现在打算换到OSChina的git上。
播放和下载songtaste歌曲 -》 -》 |
https://git.oschina.net/crifan/CrifanSongtastePlayer.git
crifan@E550-Crifan MINGW64 ~ $ cd /e/ $RECYCLE.BIN/ Dev_Install/ found.000/ tmp/ CloudMusic/ Dev_Root/ KuGou/ todel/ Config.Msi/ Dev_Tools/ StormMedia/ 迅雷下载/ Dev_Doc/ DTLFolder/ System Volume Information/ crifan@E550-Crifan MINGW64 ~ $ cd /e/Dev_Root/js/CrifanSongtastePlayer/ crifan@E550-Crifan MINGW64 /e/Dev_Root/js/CrifanSongtastePlayer $ ls crifan@E550-Crifan MINGW64 /e/Dev_Root/js/CrifanSongtastePlayer $ cd .. crifan@E550-Crifan MINGW64 /e/Dev_Root/js $ ls CrifanSongtastePlayer / crifan@E550-Crifan MINGW64 /e/Dev_Root/js $ pwd /e/Dev_Root/js crifan@E550-Crifan MINGW64 /e/Dev_Root/js $ git clone https://git.oschina.net/crifan/CrifanSongtastePlayer.git Cloning into ‘CrifanSongtastePlayer’… Username for ‘https://git.oschina.net/’: [email protected] remote: Counting objects: 3, done. remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. Checking connectivity… done. crifan@E550-Crifan MINGW64 /e/Dev_Root/js $ |
然后就可以去写代码了。
先去配置git:
再去上传文件:
Last login: Mon Mar 28 23:19:47 on ttys005 bogon:CrifanSongtastePlayer crifan$ git clone https://git.oschina.net/crifan/CrifanSongtastePlayer.git Cloning into ‘CrifanSongtastePlayer’… remote: Counting objects: 3, done. remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. Checking connectivity… done. bogon:CrifanSongtastePlayer crifan$ git add . fatal: Not a git repository (or any of the parent directories): .git bogon:CrifanSongtastePlayer crifan$ git add * fatal: Not a git repository (or any of the parent directories): .git bogon:CrifanSongtastePlayer crifan$ ls CrifanSongtastePlayer ref bogon:CrifanSongtastePlayer crifan$ cd CrifanSongtastePlayer/ bogon:CrifanSongtastePlayer crifan$ git add . bogon:CrifanSongtastePlayer crifan$ git status On branch master Your branch is up-to-date with ‘origin/master’. Changes to be committed: (use "git reset HEAD <file>…" to unstage)new file: main.html bogon:CrifanSongtastePlayer crifan$ git push origin master bogon:CrifanSongtastePlayer crifan$ git commit -m "support got st url return html" bogon:CrifanSongtastePlayer crifan$ |
以后就可以正常开发。
然后用git上传更新后的代码了。