-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
15 deletions.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,16 @@ Common git skill | |
|
||
关于git学习的资料,可以查看 \ `git教程 <https://www.liaoxuefeng.com/wiki/896043488029600>`_\ | ||
|
||
Set git proxy | ||
------------- | ||
|
||
|
||
.. code-block:: bash | ||
git config --global http.proxy xxx | ||
git config --global https.proxy xxx | ||
Change history user.name and user.email | ||
|
@@ -177,12 +187,12 @@ Github Save username and password | |
--------------------------------- | ||
|
||
|
||
由于经常有开项目的习惯,存在多个账号,所以建议先设置local的 \ :code:`user.username`\ 和 \ :code:`user.email`\ ,并且进一步设置, 当前的项目的存储方式,这样可以少输入密码 | ||
由于经常有开项目的习惯,存在多个账号,所以建议先设置local的 \ :code:`user.name`\ 和 \ :code:`user.email`\ ,并且进一步设置, 当前的项目的存储方式,这样可以少输入密码 | ||
|
||
|
||
.. code-block:: bash | ||
git config --local user.username "hotchilipowder" | ||
git config --local user.name "hotchilipowder" | ||
git config --local user.email "[email protected]" | ||
git config --local credential.helper cache | ||
|
@@ -193,7 +203,7 @@ Github Save username and password | |
.. code-block:: bash | ||
[user] | ||
username = hotchilipowder | ||
name = hotchilipowder | ||
email = [email protected] | ||
[credential] | ||
helper = cache | ||
|
This file contains 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 characters
This file contains 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 characters