Tuesday, September 28, 2021
In the previous post we installed Git on Windows. On this post we are going to set up Git with our user name and assign Bracks as our Git editor so that we don't have to edit git through the command line console all the time.
Here are the steps to setup your user name and editor for git:
1. First let's set our user name, with the command git config --global user.name "Your name goes here"
You can also set your e-mail with the command git config --global user.email "Your e-mail goes here"
2. When you want to add your favorite text editor in the environment variables "Path", in my case it's brackets
3. Create a folder call git and go into it in the command line, this will be your git sandbox sort of speak. Now run this command git init this will create an initial .git repository so that you won't run into an issue when you assign an editor to git
4. Run the command git config core.editor "brackets --multiInst -nosession" this command will open up the text editor that you assigned every time you want to edit a resource in git, in a new instance
5. Now let's test it out by editing the .gitconfig file with this command git config --edit --global
the file should be opened in the text editor that you assigned
Previous: Installing Git For Windows
Here are the steps to setup your user name and editor for git:
1. First let's set our user name, with the command git config --global user.name "Your name goes here"
You can also set your e-mail with the command git config --global user.email "Your e-mail goes here"
2. When you want to add your favorite text editor in the environment variables "Path", in my case it's brackets
3. Create a folder call git and go into it in the command line, this will be your git sandbox sort of speak. Now run this command git init this will create an initial .git repository so that you won't run into an issue when you assign an editor to git
4. Run the command git config core.editor "brackets --multiInst -nosession" this command will open up the text editor that you assigned every time you want to edit a resource in git, in a new instance
5. Now let's test it out by editing the .gitconfig file with this command git config --edit --global
the file should be opened in the text editor that you assigned
Previous: Installing Git For Windows
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