Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

GitLab Break the git init --initial-branch=main out into two commands

cd existing_folder
git init
git checkout -b  main
git remote add origin git@gitlab.com:path/to/project.git
git add .
git commit -m "Initial commit"
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install amethyst on mac 
Shell :: delete completed kubernetes jobs 
Shell :: how to fix a read only hard drive in linux 
Shell :: Automatically run program on Linux startup via rc.local 
Shell :: why showing different +++++++++------ count git diff command 
Shell :: webgpu chrome linux 
Shell :: cme forwarding cisco 
Shell :: secure shell (ssh) 
Shell :: pip install many packages 
Shell :: install xampp in ubuntu 20.04 
Shell :: linux directories 
Shell :: copy folder from ssh server to local 
Shell :: install openjdk debian 
Shell :: ububto api 
Shell :: Specify R version 
Shell :: nextcloud .step file 
Shell :: py pip install error winerror the system cannot find the .exe.deleteme 
Shell :: aws cli last successful deploy 
Shell :: cat goto line number 
Shell :: There are not enough slots available in the system to satisfy the 5 slots that were requested by the application 
Shell :: sort filesddddd 
Shell :: Convert line-endings for whole directory tree 
Shell :: ls list with just names 
Shell :: exit 0, run container in shell mode 
Shell :: chmod by group 
Shell :: Recipe to merge git 
Shell :: Continuous bash script to do tasks again after confirmation 
Shell :: truenas community unable to Download Plugins 
Shell :: arch symlink 
Shell :: bind mac to AD via JAMF with policy* 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =