然后要去用git clone:
http://git.oschina.net/runningfast/RunningFast-Server
结果出错:
不过结果导致:
后续的对该文件夹的操作,都要root权限,会弹出输入密码的对话框:
所以删除掉:
,重新创建:
➜ sourcecode git clone http://git.oschina.net/runningfast/RunningFast-Server Cloning into ‘RunningFast-Server’… remote: Counting objects: 4, done. remote: Compressing objects: 100% (3/3), done. remote: Total 4 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (4/4), done. Checking connectivity… done. |
然后在命令行中add:
➜ RunningFast-Server git:(master) ✗ git status On branch master Your branch is up-to-date with ‘origin/master’. Changes not staged for commit: (use "git add <file>…" to update what will be committed) (use "git checkout — <file>…" to discard changes in working directory) modified: .gitignore modified: README.md Untracked files: (use "git add <file>…" to include in what will be committed) api_manual.md config.py db_create.py instance/ redis.conf requirements.txt run.py runningfast/ supervisor.conf no changes added to commit (use "git add" and/or "git commit -a") ➜ RunningFast-Server git:(master) ✗ git add * The following paths are ignored by one of your .gitignore files: logs Use -f if you really want to add them. ➜ RunningFast-Server git:(master) ✗ 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) modified: README.md new file: api_manual.md new file: config.py new file: db_create.py new file: instance/config.py new file: redis.conf new file: requirements.txt new file: run.py new file: runningfast/__init__.py new file: runningfast/models.py new file: runningfast/views.py new file: supervisor.conf Changes not staged for commit: (use "git add <file>…" to update what will be committed) (use "git checkout — <file>…" to discard changes in working directory) modified: .gitignore |
然后再去新建PyCharm项目,在PyCharm中提交,结果出错:
【已解决】PyCharm中git提交出错:PyCharm author is not ‘Name <email>’ and matches no existing author