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 :: linux create user 
Shell :: rem command in batch file 
Shell :: get string after character shell script 
Shell :: change master to main git 
Shell :: drop cache ubuntu 
Shell :: stop processes on port 3000 
Shell :: check internet speed on mac terminal 
Shell :: connect to wifi linux 
Shell :: how to do create diff file in linux 
Shell :: reset git project 
Shell :: using github personal github token when cloning a repo 
Shell :: zip files in folder linux 
Shell :: cargo add command not found 
Shell :: bash create folder with spaces 
Shell :: matlab on ubuntu 
Shell :: aws sli how to delete table 
Shell :: powershell elevate to admin within a function 
Shell :: ubuntu find file with text 
Shell :: reload bashrc linux 
Shell :: kubernetes service yaml 
Shell :: zsh: command not found: julia 
Shell :: run command on startup neovim 
Shell :: docker view container logs 
Shell :: update metsploit kali linux 
Shell :: workbench linux 
Shell :: awk get last field 
Shell :: print env variables 
Shell :: nestjs dockerfile 
Shell :: How to install specific Laravel version using composer 
Shell :: install virtualbox ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =