Gitが随筆を使う
1289 ワード
プロキシを設定
1.WindowsにHOME環境変数を追加しました。値は%USERPROFILEです。
2.「運転開始」で%Home%を開き、「_netrc」というファイルを新規作成します。
3.手帳で開く。netrcファイルは、Gitサーバ名、ユーザ名、パスワードを入力して保存します。
machine github.com #gitサーバ名
login user #アカウント
password pwd #gitパスワード
もう一度gitに提出する時は、ユーザ名のパスワードを繰り返し入力しなくてもいいです。
How to fork a githb repository in bitbucket
https://gist.github.com/jcaraballo/1982605
git config --global http.proxy http://proxyuser:[email protected]:port
プロキシを削除
git config --system (or --global or --local) --unset http.proxy
SSLをオフにして検証する
git config --global http.sslVerify false
コードをダウンロード
git clone http://server.com/source.git
ローカルbranchをremoteに提出します。
git push <remote-name> <local-branch-name>:<remote-branch-name>
ローカルブランチを削除
git branch -d the_local_branch
Remote分岐を削除
git push origin :the_remote_branch
ユーザ名とパスワードを保存1.WindowsにHOME環境変数を追加しました。値は%USERPROFILEです。
2.「運転開始」で%Home%を開き、「_netrc」というファイルを新規作成します。
3.手帳で開く。netrcファイルは、Gitサーバ名、ユーザ名、パスワードを入力して保存します。
machine github.com #gitサーバ名
login user #アカウント
password pwd #gitパスワード
もう一度gitに提出する時は、ユーザ名のパスワードを繰り返し入力しなくてもいいです。
How to fork a githb repository in bitbucket
https://gist.github.com/jcaraballo/1982605