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

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

git create new repo in git bash/ terminal

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

create github repository from git bash

Git and git hub repo
Comment

PREVIOUS NEXT
Code Example
Shell :: conda install keras gpu 
Shell :: wsl default user 
Shell :: extract numners from string linux 
Shell :: ubuntu install bluetooth drivers 
Shell :: ubuntu adb 
Shell :: ag ignore node_modules 
Shell :: ssh key pair for github 
Shell :: install firebase in react 
Shell :: nextjs init 
Shell :: angular cli ubuntu 
Shell :: install polybar ubuntu 20.04 
Shell :: git diff ignore spaces and tabs 
Shell :: responsive grid system angular 
Shell :: zip full folder ubuntu 
Shell :: powershell list usb devices 
Shell :: how to check yarn version 
Shell :: cmake version comand 
Shell :: create new branch from origin 
Shell :: merge abort 
Shell :: turn off selinux centos 
Shell :: update gnome shell 
Shell :: embed photos google drive 
Shell :: ubuntu print path 
Shell :: git discard all changes 
Shell :: install modules from text file pip 
Shell :: ubuntu passwordless sudo 
Shell :: stop git 
Shell :: ubuntu install without suggested packages 
Shell :: git push set upstream 
Shell :: linux tail colorful 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =