Unable to initialize git project on remote Windows Server machine

I have a local development PC and a remote Windows Server machine. Git is installed on both. I already have an Angular project (angular_project_old) with a Git repository, and I am successfully able to pull/push the changes that I do on my local PC to the remote Git server. However, I am facing issues when setting up a new project.

I have created a new Angular project on my development PC called (angular_project_new). In this, I have initialized git repository:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>E:angular_project_new > git init
E:angular_project_new > git add .
E:angular_project_new > git commit
</code>
<code>E:angular_project_new > git init E:angular_project_new > git add . E:angular_project_new > git commit </code>
E:angular_project_new > git init
E:angular_project_new > git add .
E:angular_project_new > git commit

Then I created a bare repository by remote-logging on my server (10.1.1.1):

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>D:projects > git init --bare angular_project_new.git
</code>
<code>D:projects > git init --bare angular_project_new.git </code>
D:projects > git init --bare angular_project_new.git

Then I set the remote origin URL to a URL of the server similar to my old/working angular project.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>git remote add origin //10.1.1.1/projects/angular_project_new.git
</code>
<code>git remote add origin //10.1.1.1/projects/angular_project_new.git </code>
git remote add origin //10.1.1.1/projects/angular_project_new.git

Now it lists the origin URL correctly but when I try to push the code from my development PC, it returns error.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>E:angular_project_new > git push -u origin master
fatal: '10.1.1.1/projects/angular_project_new.git' does not appear to be a git repository
fatal: Could not read from remote repository
</code>
<code>E:angular_project_new > git push -u origin master fatal: '10.1.1.1/projects/angular_project_new.git' does not appear to be a git repository fatal: Could not read from remote repository </code>
E:angular_project_new > git push -u origin master
fatal: '10.1.1.1/projects/angular_project_new.git' does not appear to be a git repository
fatal: Could not read from remote repository

I don’t understand the reason for this error when an identical remote URL is working for my old project.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>E:angular_project_old > git remote -v
origin //10.10.6.42/projects/angular_project_old.git (fetch)
origin //10.10.6.42/projects/angular_project_old.git (push)
</code>
<code>E:angular_project_old > git remote -v origin //10.10.6.42/projects/angular_project_old.git (fetch) origin //10.10.6.42/projects/angular_project_old.git (push) </code>
E:angular_project_old > git remote -v
origin //10.10.6.42/projects/angular_project_old.git (fetch)
origin //10.10.6.42/projects/angular_project_old.git (push)

This works fine.

However, for my new project:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>E:angular_project_new > git remote -v
origin //10.10.6.42/projects/angular_project_new.git (fetch)
origin //10.10.6.42/projects/angular_project_new.git (push)
</code>
<code>E:angular_project_new > git remote -v origin //10.10.6.42/projects/angular_project_new.git (fetch) origin //10.10.6.42/projects/angular_project_new.git (push) </code>
E:angular_project_new > git remote -v
origin //10.10.6.42/projects/angular_project_new.git (fetch)
origin //10.10.6.42/projects/angular_project_new.git (push)

It does not work! How may I resolve this issue?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật