Tuesday, October 5, 2021
In this blog post we will create a Git & Github repository for the Northwind Cafe application that we've been working on.
First let's create a git local repository
1. Follow the steps on this blog post to create an empty NorthindCafe in git repository using Visual Studio Hour 1: Create ASP.NET Core Project From Scratch
Check "Create directory for solution", "Create new Git repository" and click "OK" when you get to this screen.
2. Type git status you will see that there are files that have not been commited
3. As the message says there's no files that are tracked yet, so we have to do that ourselves to get git to track the new files, type the command git add . to track all the files in the git repository
5. Now we are ready to commit our changes to the git reposiroty, type in the command git commit -m "Initial Commit"
6. Now if you type git status again you will see that the files were committed, and there's nothing new to commit
Note: Visual Studio has great git integration, normally I just used what's there in Visual Studio when working with git. But when you have a great tool or IDE you forget that git is a great suite of tools with awesome features of it's own that works with all kinds of technologies not just Microsoft's technologies. So it's a good idea to go through the steps slowly to explore those features.
Previous: Git: Setup User Name And Git Editor
First let's create a git local repository
1. Follow the steps on this blog post to create an empty NorthindCafe in git repository using Visual Studio Hour 1: Create ASP.NET Core Project From Scratch
Check "Create directory for solution", "Create new Git repository" and click "OK" when you get to this screen.
2. Type git status you will see that there are files that have not been commited
3. As the message says there's no files that are tracked yet, so we have to do that ourselves to get git to track the new files, type the command git add . to track all the files in the git repository
5. Now we are ready to commit our changes to the git reposiroty, type in the command git commit -m "Initial Commit"
6. Now if you type git status again you will see that the files were committed, and there's nothing new to commit
Note: Visual Studio has great git integration, normally I just used what's there in Visual Studio when working with git. But when you have a great tool or IDE you forget that git is a great suite of tools with awesome features of it's own that works with all kinds of technologies not just Microsoft's technologies. So it's a good idea to go through the steps slowly to explore those features.
Previous: Git: Setup User Name And Git Editor
Subscribe to:
Post Comments (Atom)
Search This Blog
Tags
Web Development
Linux
Javascript
DATA
CentOS
ASPNET
SQL Server
Cloud Computing
ASP.NET Core
ASP.NET MVC
SQL
Virtualization
AWS
Database
ADO.NET
AngularJS
C#
CSS
EC2
Iaas
System Administrator
Azure
Computer Programming
JQuery
Coding
ASP.NET MVC 5
Entity Framework Core
Web Design
Infrastructure
Networking
Visual Studio
Errors
T-SQL
Ubuntu
Stored Procedures
ACME Bank
Bootstrap
Computer Networking
Entity Framework
Load Balancer
MongoDB
NoSQL
Node.js
Oracle
VirtualBox
Container
Docker
Fedora
Java
Source Control
git
ExpressJS
MySQL
NuGet
Blogger
Blogging
Bower.js
Data Science
JSON
JavaEE
Web Api
DBMS
DevOps
HTML5
MVC
SPA
Storage
github
AJAX
Big Data
Design Pattern
Eclipse IDE
Elastic IP
GIMP
Graphics Design
Heroku
Linux Mint
Postman
R
SSL
Security
Visual Studio Code
ASP.NET MVC 4
CLI
Linux Commands
Powershell
Python
Server
Software Development
Subnets
Telerik
VPC
Windows Server 2016
angular-seed
font-awesome
log4net
servlets
tomcat
AWS CloudWatch
Active Directory
Angular
Blockchain
Collections
Compatibility
Cryptocurrency
DIgital Life
DNS
Downloads
Google Blogger
Google Chrome
Google Fonts
Hadoop
IAM
KnockoutJS
LINQ
Linux Performance
Logging
Mobile-First
Open Source
Prototype
R Programming
Responsive
Route 53
S3
SELinux
Software
Unix
View
Web Forms
WildFly
XML
cshtml
githu
No comments:
Post a Comment