Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Git Code Push

git remote add origin https://github.com/shmahee/Marvel.git
git branch -M main
git push -u origin main
Comment

git push functions code

echo "Project_name_and_details" >> README.md
git init
git add README.md
git add /path/to/file #folders or files you want to add
git commit -m "first commit"
git branch -M main #Use if you dont want to use the master branch
git remote add origin https://github.com/username/project.git
git remote -v #Always good to check
git push -u origin main 
Comment

PREVIOUS NEXT
Code Example
Shell :: install bootstrap via npm 
Shell :: como instalar brew en linux 
Shell :: generate certificate ssl 
Shell :: adobe reader linux 
Shell :: change default branch github 
Shell :: heic open linux 
Shell :: how to list all versions of pip in ubuntu using grep 
Shell :: link local to remote git 
Shell :: add credentials git linux 
Shell :: how to push changes to branch in git 
Shell :: zip linux exclude directory 
Shell :: install glfw3 
Shell :: ubuntu wifi enabled no internet connection 
Shell :: Count subdirectories within a directory 
Shell :: mongodb install ubuntu 
Shell :: reload .bashrc 
Shell :: how to install a library in anaconda 
Shell :: apple logo in terminal 
Shell :: install kde partition manager 
Shell :: how to kill process 
Shell :: how to install redis on windows 10 
Shell :: convert wsl to wsl2 
Shell :: bash command substitution 
Shell :: bash number of elements in variable 
Shell :: remove folder with content cmd 
Shell :: git go back to previous commit temporarily 
Shell :: how to upgrade to wsl 2 
Shell :: bash get file size in mb 
Shell :: which equivalent powershell 
Shell :: install app in kali linux 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =