0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

failed to push, Invalid username, 今日の作業記録 git(7) error(5)

Last updated at Posted at 2019-01-25

remote: Invalid username or password.

bash
# echo "# p100pon" >> README.md
# ls
README.md  p100pon
# git init
Reinitialized existing Git repository in /home/100pon/.git/
# git add README.md
# git commit -m "first commit"

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@46729dbc2b19.(none)')

# git config --global user.email "kaizen@wh.commufa.jp"
# git commit -m "first commit"
[master fc1cc5f] first commit
 1 file changed, 1 insertion(+), 5 deletions(-)

# git remote add origin https://github.com/kaizen-nagoya/p100pon.git
fatal: remote origin already exists.
# git push -u origin master
Username for 'https://github.com': kaizen-nagoya
Password for 'https://kaizen-nagoya@github.com': 
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/noritake41/100_nokku.git/'

error: failed to push some refs to

#  git push -u origin master
Username for 'https://github.com': kaizen-nagoya
Password for 'https://kaizen-nagoya@github.com': 
To https://github.com/kaizen-nagoya/p100pon.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://github.com/kaizen-nagoya/p100pon.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
# ls
README.md  p100pon
# cat README.md 
# p100pon
# ls
README.md  p100pon
# git pull https://github.com/kaizen-nagoya/p100pon.git

warning: no common commits
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/kaizen-nagoya/p100pon
 * branch            HEAD       -> FETCH_HEAD
fatal: refusing to merge unrelated histories

Reference

Ethernet 記事一覧 Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794

Wireshark 一覧 wireshark(0)、Ethernet(48)
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0

線網(Wi-Fi)空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001

C++ Support(0) 
https://qiita.com/kaizen_nagoya/items/8720d26f762369a80514

Coding Rules(0) C Secure , MISRA and so on
https://qiita.com/kaizen_nagoya/items/400725644a8a0e90fbb0

Autosar Guidelines C++14 example code compile list(1-169)
https://qiita.com/kaizen_nagoya/items/8ccbf6675c3494d57a76

Error一覧(C/C++, python, bash...) Error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

なぜdockerで機械学習するか 書籍・ソース一覧作成中 (目標100)
https://qiita.com/kaizen_nagoya/items/ddd12477544bf5ba85e2

言語処理100本ノックをdockerで。python覚えるのに最適。:10+12
https://qiita.com/kaizen_nagoya/items/7e7eb7c543e0c18438c4

プログラムちょい替え(0)一覧:4件
https://qiita.com/kaizen_nagoya/items/296d87ef4bfd516bc394

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945

小川清最終講義、小川清最終講義(再)計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.

文書履歴(document history)

ver. 0.01 初稿 20190125
ver. 0.02 みだし等追記 20191226

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?