Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git bash new repository

git init
git add -A
git commit -m 'Added my project'
git remote add origin git@github.com:sammy/my-new-project.git
git push -u -f origin master
git clone url
git fetch
git push (to check)
Comment

can i create a git repository via terminal

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:alexpchin/<reponame>.git
git push -u origin master
Comment

create new repository in git bash

echo "# BarProject" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Mahmoud-creator/BarProject.git
git push -u origin main
Comment

create a new git repository on the command line

echo "# landing-with-tailwind" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/xavionashik/landing-with-tailwind.git
git push -u origin main
Comment

Git create a new repository on the command line

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

Git create a new repository on the command line

echo "# alx-zero_day" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Kseperep1/alx-zero_day.git
git push -u origin main
Comment

create new git repository

echo "# backend" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:igc-fashion/backend.git
git push -u origin main
Comment

which command is used to create a new git repository

to create a new git repo
Comment

PREVIOUS NEXT
Code Example
Shell :: installing node in ubuntu 
Shell :: bash add all numbers 
Shell :: renomeando branch 
Shell :: how to use compress zip cli linux 
Shell :: install vault 
Shell :: git cherry pick commit 
Shell :: how to check the list of all applications in ubuntu 
Shell :: how to make NTFS read only file system writable in linux 
Shell :: ubuntu startup script 
Shell :: install astropy anaconda 
Shell :: set environment variable powershell 
Shell :: homebrew without sudo 
Shell :: find ip curl 
Shell :: can i do git push to heroku branch which isnt a master or main 
Shell :: -u flag in git command 
Shell :: find number of files in a directory linux 
Shell :: composer install via cmd 
Shell :: git add current directory 
Shell :: man in linux 
Shell :: openni 2 ros package install 
Shell :: mvn clean install skip checkstyle 
Shell :: repo from bitbucket to github 
Shell :: pretty git branch graph print 
Shell :: anaconda for ubuntu 20.04 
Shell :: dconf command not found 
Shell :: tar archive all files in directory 
Shell :: c compiler with working fork 
Shell :: git checkout to pr 
Shell :: bash sum float numbers 
Shell :: install owlready2 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =