https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
https://gist.github.com/CHEF-KOCH/989dc4e48980a31370f07f26575a931a
============================================================
先执行这条命令 $git config --global credential.helper store
然后执行$git push origin gongyi
再输入username和token
git bash 会记住token了
保存token默认的文件路径
~/.git-credentials
============================================================
https://help.github.com/enterprise/2.12/user/
=================================================================================================
Administrator@btpvm3865 MINGW64 /c/gongyi/openL10n (gongyi)
$ git config --global user.email "yi.gong4@pactera.com"
Administrator@btpvm3865 MINGW64 /c/gongyi/openL10n (gongyi)
$ git config --global user.name "Yi Gong"
Administrator@btpvm3865 MINGW64 /c/gongyi/openL10n (gongyi)
============================================================================
Git : C:\Program Files\Git
synchronized
commit(Local Repository)
staged
untracked
https://github.houston.softwaregrp.net/g11n-automation-technology/openL10n
------------force git overwrite local files----------------
git fetch --all
git reset --hard origin/master
git pull origin master
--------------------------------------------
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
$ git --help
git checkout -b gongyi
$ git -all
$ git commit -m "mockup test"
$ git push --set-upstream origin gongyi
$ git pull origin master
--下载代码
git pull origin master
C:\Program Files\Git\mingw64\share\doc\git-doc
https://gist.github.com/CHEF-KOCH/989dc4e48980a31370f07f26575a931a
============================================================
先执行这条命令 $git config --global credential.helper store
然后执行$git push origin gongyi
再输入username和token
git bash 会记住token了
保存token默认的文件路径
~/.git-credentials
============================================================
https://help.github.com/enterprise/2.12/user/
=================================================================================================
Administrator@btpvm3865 MINGW64 /c/gongyi/openL10n (gongyi)
$ git config --global user.email "yi.gong4@pactera.com"
Administrator@btpvm3865 MINGW64 /c/gongyi/openL10n (gongyi)
$ git config --global user.name "Yi Gong"
Administrator@btpvm3865 MINGW64 /c/gongyi/openL10n (gongyi)
============================================================================
Git : C:\Program Files\Git
synchronized
commit(Local Repository)
staged
untracked
https://github.houston.softwaregrp.net/g11n-automation-technology/openL10n
------------force git overwrite local files----------------
git fetch --all
git reset --hard origin/master
git pull origin master
--------------------------------------------
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
$ git --help
git checkout -b gongyi
$ git -all
$ git commit -m "mockup test"
$ git push --set-upstream origin gongyi
$ git pull origin master
--下载代码
git pull origin master
C:\Program Files\Git\mingw64\share\doc\git-doc