Last active
July 12, 2020 01:02
-
-
Save CharlieYe0205/2b36ef5056af581553a25f7011ea7918 to your computer and use it in GitHub Desktop.
Revisions
-
CharlieYe0205 revised this gist
Jul 12, 2020 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -38,5 +38,12 @@ tag git tag -a v-1.0 ``` git ignore ``` git rm -r --cached . git add . git commit -m "fixed untracked files" ``` ###### Happy Coding ^_^ -
CharlieYe0205 revised this gist
Sep 1, 2019 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,11 @@ fix mac os upgrade issue sudo xcode-select --install ``` update commit message ```shell git commit --amend ``` stash ```shell git stash @@ -28,5 +33,10 @@ git stash drop stash@{1} git stash branch new_changes # create branch, apply stash and drop stash ``` tag ```shell git tag -a v-1.0 ``` ###### Happy Coding ^_^ -
CharlieYe0205 revised this gist
Sep 1, 2019 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,12 @@ git stash apply git stash drop git stash pop git stash show stash@{1} git stash apply stash@{1} git stash drop stash@{1} git stash branch new_changes # create branch, apply stash and drop stash ``` -
CharlieYe0205 revised this gist
Sep 1, 2019 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,7 @@ stash ```shell git stash git stash -u git stash save "message" # for multiple stash git stash list -
CharlieYe0205 revised this gist
Sep 1, 2019 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,4 +19,7 @@ git stash apply git stash drop git stash pop ``` ###### Happy Coding ^_^ -
CharlieYe0205 revised this gist
Sep 1, 2019 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,4 +6,17 @@ git config --global core.pager "less -FRSX" fix mac os upgrade issue ```shell sudo xcode-select --install ``` stash ```shell git stash git stash -u git stash list git stash apply git stash drop git stash pop ``` -
CharlieYe0205 revised this gist
Sep 1, 2019 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,9 @@ print git command results to stdout ```shell git config --global core.pager "less -FRSX" ``` fix mac os upgrade issue ```shell sudo xcode-select --install ``` -
CharlieYe0205 created this gist
Sep 1, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ print git command results to stdout ```shell git config --global core.pager "less -FRSX" ```