Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git initial commit steps

# On server:
mkdir my_project.git
cd my_project.git
git --bare init
# On client:
mkdir my_project
cd my_project
touch .gitignore
git init
git add .
git commit -m "Initial commit"
git remote add origin youruser@yourserver.com:/path/to/my_project.git
git push origin master
Comment

git initial commit

$ git add README test.rb LICENSE
$ git commit -m 'Initial commit'
Comment

PREVIOUS NEXT
Code Example
Shell :: create windows network share from command line 
Shell :: delete whole line in vi 
Shell :: command to upgrade broken/not upgraded packages on Ubuntu 
Shell :: some github markup badges 
Shell :: convert to png images liunx 
Shell :: ansible ping ad hoc 
Shell :: yacc install in kali linux 
Shell :: raspberry remote 
Shell :: venv git 
Shell :: fix pvc pending kubernetes 
Shell :: shell/bash 
Shell :: ansible ad hoc file module 
Shell :: mongo shell command to create database 
Shell :: My first git commit 
Shell :: sed replace 
Shell :: how to define a command in bashrc 
Shell :: regex in batch file 
Shell :: remove htaccess files in all folders linux 
Shell :: docker tag image 
Shell :: vue telephone number 
Shell :: dig check dmarc record 
Shell :: open folder in terminal mac 
Shell :: installer-snap change in progress 
Shell :: bash for in loop 
Shell :: path too long while extracting zip file 
Shell :: linux -ltr 
Shell :: command to find out my git head version 
Shell :: mac terminal wifi commands 
Shell :: Enable-Migrations 
Shell :: winscp zip command 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =