Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to initialize a git repository command line

# New local repository
git init
git add .
git commit -m "Initial commit"

# New remote repository
git remote add origin git@github.com:username/new_repo #ssh
# Now push
git push -u origin master
Comment

git initialize repository

echo "# covid19-tracker-app" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/shubhamghimire/covid19-tracker-app.git
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: how to clear log files linux debian 
Shell :: kill port in mac terminal 
Shell :: rsync port ssh 
Shell :: ubuntu print path 
Shell :: php runing using aphp.ini 
Shell :: pip install txt 
Shell :: docker snap install 
Shell :: git commits by author 
Shell :: ho to go into a docker container 
Shell :: docker Problem with the CMake installation, aborting build. CMake executable is cmake 
Shell :: rails rollback multiple migrations 
Shell :: powershell convert string to int 
Shell :: os environ select defaut gpu 
Shell :: ssh-keygen rsa 
Shell :: list all the emulator 
Shell :: wc in powershell 
Shell :: how to install enzyme 
Shell :: show date linux 
Shell :: java check jre version 
Shell :: The capture session could not be initiated on capture device "en0" 
Shell :: install next auth 
Shell :: git remove user password 
Shell :: kill port mac 
Shell :: command to find the count of only words in a file in linux 
Shell :: powershell append to file 
Shell :: install openssh server linux 
Shell :: bash remove first character 
Shell :: install opencl library 
Shell :: clear history powershell 
Shell :: change branch name git local 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =