Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git push template

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 :: pip install requireents 
Shell :: Recover accidentally deleted files by git reset hard 
Shell :: linux while loop 
Shell :: how to call a batch file from another batch file 
Shell :: brew services start mongodb-community@4.4 
Shell :: jitsi run pod ios app !] Invalid `Podfile` file: cannot load such fil 
Shell :: how to create a shortcut to a folder on linux 
Shell :: silent install google chrome powershell 
Shell :: git delete branch upstream 
Shell :: how to pull changes from master to forked repo 
Shell :: change dns server ubuntu 20.04 
Shell :: find exclude specific file 
Shell :: ubuntu no internet connection 
Shell :: install rclone FOR UBUNTU 
Shell :: install maven dependencies 
Shell :: display/search for a commit hash name in a git log 
Shell :: git pull from commit 
Shell :: unix history date time 
Shell :: check if a command exists 
Shell :: execute powershell script from command line with parameters 
Shell :: powershell export-excel 
Shell :: interesting bash scripts 
Shell :: how to get git stash changes back 
Shell :: bash count elements in string 
Shell :: create new repo 
Shell :: git got to previous commit 
Shell :: git clone https 
Shell :: cp linux command with progress bar 
Shell :: git get commit info 
Shell :: check active ssh users in linux 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =