استخدم نفس الطريقة الاعتيادية الموجودة بالموقع لرفع الملفات ولكنه بالرغم من ذلك لا يتم رفعها
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\coffee>git init
Reinitialized existing Git repository in C:/coffee/.git/
C:\coffee>git add .
warning: LF will be replaced by CRLF in dist/css/product1.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in dist/css/style.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in dist/main.js.
The file will have its original line endings in your working directory
C:\coffee>git add .
C:\coffee>git commit -m "first commit"
[main 9738844] first commit
11 files changed, 16 insertions(+), 13 deletions(-)
rewrite dist/contact.html (67%)
rewrite dist/distributors.html (90%)
rewrite dist/history.html (95%)
rewrite dist/index.html (93%)
rewrite dist/product1.html (95%)
rewrite dist/product2.html (95%)
rewrite dist/product3.html (91%)
C:\coffee>git branch -M main
C:\coffee>git remote add origin https://github.com/najah18/cof.git
error: remote origin already exists.
C:\coffee>git push -u origin main
Username for 'https://github.com': najah18
Password for 'https://najah18@github.com':
remote: Support for password authentication was removed on August 13, 2021. Plea
se use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requireme
nts-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/najah18/coffee.git/'
C:\coffee>
السؤال
Najah Alsaker
استخدم نفس الطريقة الاعتيادية الموجودة بالموقع لرفع الملفات ولكنه بالرغم من ذلك لا يتم رفعها
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\coffee>git init Reinitialized existing Git repository in C:/coffee/.git/ C:\coffee>git add . warning: LF will be replaced by CRLF in dist/css/product1.css. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/css/style.css. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in dist/main.js. The file will have its original line endings in your working directory C:\coffee>git add . C:\coffee>git commit -m "first commit" [main 9738844] first commit 11 files changed, 16 insertions(+), 13 deletions(-) rewrite dist/contact.html (67%) rewrite dist/distributors.html (90%) rewrite dist/history.html (95%) rewrite dist/index.html (93%) rewrite dist/product1.html (95%) rewrite dist/product2.html (95%) rewrite dist/product3.html (91%) C:\coffee>git branch -M main C:\coffee>git remote add origin https://github.com/najah18/cof.git error: remote origin already exists. C:\coffee>git push -u origin main Username for 'https://github.com': najah18 Password for 'https://najah18@github.com': remote: Support for password authentication was removed on August 13, 2021. Plea se use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requireme nts-for-git-operations/ for more information. fatal: Authentication failed for 'https://github.com/najah18/coffee.git/' C:\coffee>
5 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.