Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

github create repo from terminal

gh repo create project-name
Comment

how to create a github repo on linux command line

curl -i -H 'Authorization: token <your_token>' -d '{"name":"csreNewProj"}' https://api.github.com/user/repos
Comment

github create repo from terminal

gh repo create repositoryname --public
#to use gh install github cli 
#link for installation from differnet os
#https://cli.github.com/manual/installation
#if windows use
choco install gh
#after installation login to github using github cli
gh auth login
Comment

Create github repo in command line

echo "# project name" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/User/repo
git push -u origin main
Comment

PREVIOUS NEXT
Code Example
Shell :: Using ffmpeg to split video files by size 
Shell :: list of unix commands 
Shell :: -f in shell script 
Shell :: install next-auth 
Shell :: print what s in tarball 
Shell :: how to convert a function from powershell in c# 
Shell :: git rbanch multiple delet 
Shell :: Unable to start terminal in ubuntu 
Shell :: Replaces the last git commit 
Shell :: how to take a screenshot with on raspberry pi 
Shell :: hdfs download folder 
Shell :: copy a file from local machine to docker container 
Shell :: how to active telnet on windows 10 telnet 
Shell :: install composer per project in multiple php version 
Shell :: pip install softdelet 
Shell :: how to hide log in background job in linux 
Shell :: fork() system call in linux 
Shell :: check if apache new config is running centos 
Shell :: how to install alfa 1900 driver on ubuntu 
Shell :: conda install mahotas 
Shell :: p4merge git config 
Shell :: share a given window on android 
Shell :: how to run a code in github 
Shell :: create a tar with folder content only 
Shell :: arch jpg to png 
Shell :: checkout a pr locally 
Shell :: START/STOP MONGOD AS A SERVICE (MAC) 
Shell :: is there any method to do clearscreen mongo shell 
Shell :: change config for this repository 
Shell :: break a symbolic link in linux 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =