DevOps Tools/SCM/Git

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
  <nowiki>~$ sudo git config --global user.name "global username"
 
  <nowiki>~$ sudo git config --global user.name "global username"
 
~$ sudo git config --global user.email "email address"
 
~$ sudo git config --global user.email "email address"
~$ sudo git config --system core.editor "/bin/vim"
+
~$ sudo git config --system core.editor "/bin/vim"</nowiki>
 
=Initializing Local Repo=
 
=Initializing Local Repo=
 
Create a local directory with nothing in it.  This is called initializing the repository
 
Create a local directory with nothing in it.  This is called initializing the repository

Revision as of 15:26, 19 June 2018

Overview | Source Control Management (SCM)
Git

Install and Configure

Done on CentOS 7. Serves as an agentless server and client. You can use this package to create a local repository as well as other git functions.

~$ yum install git

Setup global parameters

~$ sudo git config --global user.name "global username"
~$ sudo git config --global user.email "email address"
~$ sudo git config --system core.editor "/bin/vim"

Initializing Local Repo

Create a local directory with nothing in it. This is called initializing the repository

~$ mkdir ~/repo
~$ git init ~/repo
Initialized empty Git repository in /home/user/repo/.git/
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Open Source Products
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox