git
来源:互联网 发布:学编程 app 编辑:程序博客网 时间:2024/06/10 14:05
bash: /usr/bin/locale: Permission denied
Administrator@PC-20170531NDJV MINGW64 /f
$ mkdir YuanxinClan
mkdir: cannot create directory 'YuanxinClan': File exists
Administrator@PC-20170531NDJV MINGW64 /f
$ mkdir YuanxinClan_Android
Administrator@PC-20170531NDJV MINGW64 /f
$ cd Y
bash: cd: Y: No such file or directory
Administrator@PC-20170531NDJV MINGW64 /f
$ cd YuanxinClan
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan
$ cd ../YuanxinClan_Android/
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config --global user.name "meixili"
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config --global user.email "13164716840@163.com"
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config list
error: key does not contain a section: list
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=/bin/curl-ca-bundle.crt
sendemail.smtpserver=/bin/msmtp.exe
diff.astextplain.textconv=astextplain
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.required=true
filter.lfs.process=git-lfs filter-process
user.name=meixili
user.email=13164716840@163.com
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ filter.lfs.required=true
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ filter.lfs.required=true
bash: filter.lfs.required=true: command not found
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ ssh-keygen -t rsa -b 4096 -C 13164716840@163.com
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Created directory '/c/Users/Administrator/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:0MakMDIYZpTe9RZ2pqykguUYLViBQ90zFxRzErh6rtc 13164716840@163.com
The key's randomart image is:
+---[RSA 4096]----+
|+O*.+ oB=. |
|*..+ O O+o |
|o+. . @ O |
|+.o. o B |
|.* + o S |
|o..o o |
| . o . |
| o E |
| .o |
+----[SHA256]-----+
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ eval $(ssh-agent -s)
Agent pid 37464
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ ssh-add ~/.ssh/id_rsa
Identity added: /c/Users/Administrator/.ssh/id_rsa (/c/Users/Administrator/.ssh/id_rsa)
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ clip < ~/.ssh/id_rsa.pub
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git status
fatal: Not a git repository (or any of the parent directories): .git
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ ls
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ cd /e
Administrator@PC-20170531NDJV MINGW64 /e
$ ls
'$RECYCLE.BIN'/
Clan.rar
Clan1/
GithubDemo/
MarkMan.air
adobeair.zip
android-ndk-r10e/
android-ndk-r10e-windows-x86_64.exe*
android-sdk-windows-xiaojian/
android-sdk-windows-xiaojian.rar
android-studio/
android-studio-ide-171.4010489-windows.zip
beifen11.14/
beifen11.14.rar
yuanxinbuluo/
yuanxinbuluo.rar
yuanxinclan.rar
zhenhua/
''$'\345\205\254\345\217\270\345\274\200\345\217\221\346\226\207\344\273\266'/
''$'\345\205\254\345\217\270\345\274\200\345\217\221\346\226\207\344\273\266''.rar'
''$'\345\267\245\344\275\234\350\256\241\345\210\222\345\217\212\346\200\273\347\273\223'/
''$'\350\247\204\350\214\203''.png'
''$'\350\277\207\346\273\244\350\223\235\345\205\211''f.lux.bkill.com.rar'
Administrator@PC-20170531NDJV MINGW64 /e
$ cd GithubDemo/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo
$ git status
fatal: Not a git repository (or any of the parent directories): .git
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo
$ ls
AgentWeb/ EaseDemoLite/ YuanxinClan_Android/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo
$ cd YuanxinClan_Android/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (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)
new file: YuanxinClan_Android.iml
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .idea/modules.xml
modified: .idea/vcs.xml
modified: EaseUI/EaseUI.iml
modified: SwipeItemLayout/SwipeItemLayout.iml
modified: app/app.iml
deleted: yuanxinclan.iml
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git add .
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (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: .idea/modules.xml
modified: .idea/vcs.xml
modified: EaseUI/EaseUI.iml
modified: SwipeItemLayout/SwipeItemLayout.iml
renamed: yuanxinclan.iml -> YuanxinClan_Android.iml
modified: app/app.iml
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git commit
[master 573fd6d] first commit
6 files changed, 19 insertions(+), 26 deletions(-)
rename yuanxinclan.iml => YuanxinClan_Android.iml (70%)
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git pull
Warning: Permanently added the RSA host key for IP address '120.55.226.24' to the list of known hosts.
Already up-to-date.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git push
Counting objects: 12, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 1.24 KiB | 0 bytes/s, done.
Total 12 (delta 11), reused 0 (delta 0)
To git.oschina.net:yx_tribe/YuanxinClan_Android.git
b1c95cd..573fd6d master -> master
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$
Administrator@PC-20170531NDJV MINGW64 /f
$ mkdir YuanxinClan
mkdir: cannot create directory 'YuanxinClan': File exists
Administrator@PC-20170531NDJV MINGW64 /f
$ mkdir YuanxinClan_Android
Administrator@PC-20170531NDJV MINGW64 /f
$ cd Y
bash: cd: Y: No such file or directory
Administrator@PC-20170531NDJV MINGW64 /f
$ cd YuanxinClan
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan
$ cd ../YuanxinClan_Android/
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config --global user.name "meixili"
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config --global user.email "13164716840@163.com"
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config list
error: key does not contain a section: list
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=/bin/curl-ca-bundle.crt
sendemail.smtpserver=/bin/msmtp.exe
diff.astextplain.textconv=astextplain
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.required=true
filter.lfs.process=git-lfs filter-process
user.name=meixili
user.email=13164716840@163.com
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ filter.lfs.required=true
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ filter.lfs.required=true
bash: filter.lfs.required=true: command not found
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ ssh-keygen -t rsa -b 4096 -C 13164716840@163.com
Generating public/private rsa key pair.
Enter file in which to save the key (/c/Users/Administrator/.ssh/id_rsa):
Created directory '/c/Users/Administrator/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /c/Users/Administrator/.ssh/id_rsa.
Your public key has been saved in /c/Users/Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:0MakMDIYZpTe9RZ2pqykguUYLViBQ90zFxRzErh6rtc 13164716840@163.com
The key's randomart image is:
+---[RSA 4096]----+
|+O*.+ oB=. |
|*..+ O O+o |
|o+. . @ O |
|+.o. o B |
|.* + o S |
|o..o o |
| . o . |
| o E |
| .o |
+----[SHA256]-----+
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ eval $(ssh-agent -s)
Agent pid 37464
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ ssh-add ~/.ssh/id_rsa
Identity added: /c/Users/Administrator/.ssh/id_rsa (/c/Users/Administrator/.ssh/id_rsa)
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ clip < ~/.ssh/id_rsa.pub
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ git status
fatal: Not a git repository (or any of the parent directories): .git
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ ls
Administrator@PC-20170531NDJV MINGW64 /f/YuanxinClan_Android
$ cd /e
Administrator@PC-20170531NDJV MINGW64 /e
$ ls
'$RECYCLE.BIN'/
Clan.rar
Clan1/
GithubDemo/
MarkMan.air
adobeair.zip
android-ndk-r10e/
android-ndk-r10e-windows-x86_64.exe*
android-sdk-windows-xiaojian/
android-sdk-windows-xiaojian.rar
android-studio/
android-studio-ide-171.4010489-windows.zip
beifen11.14/
beifen11.14.rar
yuanxinbuluo/
yuanxinbuluo.rar
yuanxinclan.rar
zhenhua/
''$'\345\205\254\345\217\270\345\274\200\345\217\221\346\226\207\344\273\266'/
''$'\345\205\254\345\217\270\345\274\200\345\217\221\346\226\207\344\273\266''.rar'
''$'\345\267\245\344\275\234\350\256\241\345\210\222\345\217\212\346\200\273\347\273\223'/
''$'\350\247\204\350\214\203''.png'
''$'\350\277\207\346\273\244\350\223\235\345\205\211''f.lux.bkill.com.rar'
Administrator@PC-20170531NDJV MINGW64 /e
$ cd GithubDemo/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo
$ git status
fatal: Not a git repository (or any of the parent directories): .git
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo
$ ls
AgentWeb/ EaseDemoLite/ YuanxinClan_Android/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo
$ cd YuanxinClan_Android/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (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)
new file: YuanxinClan_Android.iml
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .idea/modules.xml
modified: .idea/vcs.xml
modified: EaseUI/EaseUI.iml
modified: SwipeItemLayout/SwipeItemLayout.iml
modified: app/app.iml
deleted: yuanxinclan.iml
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git add .
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (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: .idea/modules.xml
modified: .idea/vcs.xml
modified: EaseUI/EaseUI.iml
modified: SwipeItemLayout/SwipeItemLayout.iml
renamed: yuanxinclan.iml -> YuanxinClan_Android.iml
modified: app/app.iml
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git commit
[master 573fd6d] first commit
6 files changed, 19 insertions(+), 26 deletions(-)
rename yuanxinclan.iml => YuanxinClan_Android.iml (70%)
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git pull
Warning: Permanently added the RSA host key for IP address '120.55.226.24' to the list of known hosts.
Already up-to-date.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git push
Counting objects: 12, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (12/12), 1.24 KiB | 0 bytes/s, done.
Total 12 (delta 11), reused 0 (delta 0)
To git.oschina.net:yx_tribe/YuanxinClan_Android.git
b1c95cd..573fd6d master -> master
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$