Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (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: app/src/main/java/com/yuanxin/clan/core/MainActivity.java
no changes added to commit (use "git add" and/or "git commit -a")
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git stash
Saved working directory and index state WIP on master: 573fd6d first commit
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git pull
Already up-to-date.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git stash pop
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: app/src/main/java/com/yuanxin/clan/core/MainActivity.java
no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (00bbb3d3e789d14bb105f5ece328317bdd322c63)
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: app/src/main/java/com/yuanxin/clan/core/MainActivity.java
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git commit
Aborting commit due to empty commit message.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ cd ../prac/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac
$ git clone git@git.oschina.net:yx_tribe/GitPrac.git
Cloning into 'GitPrac'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac
$ cd GitPrac/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ ls
README.md test.txt
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ git pull
Already up-to-date.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ ^C
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (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: app/src/main/java/com/yuanxin/clan/core/MainActivity.java
no changes added to commit (use "git add" and/or "git commit -a")
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git stash
Saved working directory and index state WIP on master: 573fd6d first commit
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git pull
Already up-to-date.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git stash pop
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: app/src/main/java/com/yuanxin/clan/core/MainActivity.java
no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (00bbb3d3e789d14bb105f5ece328317bdd322c63)
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: app/src/main/java/com/yuanxin/clan/core/MainActivity.java
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ git commit
Aborting commit due to empty commit message.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/YuanxinClan_Android (master)
$ cd ../prac/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac
$ git clone git@git.oschina.net:yx_tribe/GitPrac.git
Cloning into 'GitPrac'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac
$ cd GitPrac/
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ ls
README.md test.txt
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ git pull
Already up-to-date.
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)
$ ^C
Administrator@PC-20170531NDJV MINGW64 /e/GithubDemo/prac/GitPrac (master)