how to set up a git repository locally
Shell
cd /path/to/my/codebase
git init
git add .
git commit -m "my comment" # New local repository
git init
git add .
git commit -m "Initial commit"
# New remote repository
git remote add origin [email protected]:username/new_repo #ssh
# Now push
git push -u origin mastergit init
git add somefile
git commit -m "initial commit"
git remote add origin https://github.com/username/new_repo
git push -u origin master git code to create new remote repo
Also in Shell:
- Title
- switch session windows tmux
- Category
- Shell
- Title
- pip install django-allauth
- Category
- Shell
- Title
- sudo apt-get update
- Category
- Shell
- Title
- install spyder conda
- Category
- Shell
- Title
- gatsby starter hello world
- Category
- Shell
- Title
- linux remove folder and all his content
- Category
- Shell
- Title
- git add
- Category
- Shell
- Title
- npm install express-handlebars
- Category
- Shell
- Title
- split large file into smaller files
- Category
- Shell
- Title
- search for files in linux terminal
- Category
- Shell
- Title
- close all localhost connections
- Category
- Shell
- Title
- linux remove root access
- Category
- Shell
- Title
- create directory linux
- Category
- Shell
- Title
- ubuntu check ssh login log
- Category
- Shell
- Title
- react-devtools agent got no connection
- Category
- Shell
- Title
- git remove branch
- Category
- Shell
- Title
- install emotion
- Category
- Shell
- Title
- ansible-galaxy install to specific directory
- Category
- Shell
- Title
- mkdir multiple directories
- Category
- Shell
- Title
- check os shell liunx cygwin darwin
- Category
- Shell
- Title
- upgrade node version
- Category
- Shell
- Title
- vagrant ubuntu 16.04
- Category
- Shell
- Title
- how to make a .sh file executable
- Category
- Shell
- Title
- bazel instal
- Category
- Shell
- Title
- bash if statement
- Category
- Shell
- Title
- haproxy in centos 7
- Category
- Shell
- Title
- call shell script from python
- Category
- Shell
- Title
- htaccess secure
- Category
- Shell
- Title
- ubuntu ec2 node mongodb connect ECONNREFUSED 127.0.0.1:27017
- Category
- Shell
- Title
- powershell script to copy mutliple files into a single file
- Category
- Shell
- Title
- git command to create a branch from another branch
- Category
- Shell
- Title
- restore deleted branch git
- Category
- Shell
- Title
- react native expo project in github e commerce
- Category
- Shell
- Title
- install opencv raspberry pi
- Category
- Shell
- Title
- sh declare variable
- Category
- Shell
- Title
- delete github repository without browser
- Category
- Shell
- Title
- bash get field from line
- Category
- Shell
- Title
- git ignore still tracking
- Category
- Shell
- Title
- linux screen brightness command line
- Category
- Shell
- Title
- linux create user
- Category
- Shell
- Title
- jq filter array
- Category
- Shell
- Title
- install git
- Category
- Shell
- Title
- installing caddy server in ubuntu 18
- Category
- Shell
- Title
- git gss
- Category
- Shell
- Title
- avalible ios simulators
- Category
- Shell
- Title
- store result of command in variable bash
- Category
- Shell
- Title
- vim command to open a file
- Category
- Shell
- Title
- Running modprobe bridge br_netfilter failed with message: ip: can't find device
- Category
- Shell
- Title
- connect local repository to remote git
- Category
- Shell
- Title
- installing rspec gemfile
- Category
- Shell
- Title
- how to perform mathematical operations in shell script
- Category
- Shell
- Title
- oh my zsh
- Category
- Shell
- Title
- how to use curl command in ubuntu
- Category
- Shell
- Title
- ubuntu list running applications
- Category
- Shell
- Title
- git rebase one commit
- Category
- Shell
- Title
- search by message git
- Category
- Shell
- Title
- show date linux
- Category
- Shell
- Title
- how to rename working directory in linux
- Category
- Shell
- Title
- cmd prompt format
- Category
- Shell
- Title
- apache .htaccess Option ubuntu
- Category
- Shell
- Title
- greater than certain value from pipe shell
- Category
- Shell
- Title
- update google chrome command ubuntu
- Category
- Shell
- Title
- install imblearn
- Category
- Shell
- Title
- find all files edited after date linux
- Category
- Shell
- Title
- bash special dollar sign shell varaibles
- Category
- Shell
- Title
- git pull onbly submodule
- Category
- Shell
- Title
- git search all branches
- Category
- Shell
- Title
- remove .svn recursively linux
- Category
- Shell
- Title
- git discard unstaged files
- Category
- Shell
- Title
- install homebrew on mac
- Category
- Shell
- Title
- how to update local repo when i make changes to github remote repo
- Category
- Shell
- Title
- what does pro mean in github
- Category
- Shell
- Title
- git authentication failed
- Category
- Shell
- Title
- npm install bootstrap 3.3.7
- Category
- Shell
- Title
- error: eaccess: permission denied ionic
- Category
- Shell
- Title
- Add line break to 'git commit -m' from the command line
- Category
- Shell
- Title
- join linux to ad domain
- Category
- Shell
- Title
- how to uninstall kernel jupyter
- Category
- Shell
- Title
- git commit all
- Category
- Shell
- Title
- jscore
- Category
- Shell
- Title
- revert to master origin branch git
- Category
- Shell
- Title
- git reset hard
- Category
- Shell
- Title
- sudo apt get install tomcat 9
- Category
- Shell
- Title
- uninstall cinnamon
- Category
- Shell
- Title
- ngb-tabset install
- Category
- Shell
- Title
- helm add stable hub
- Category
- Shell
- Title
- configure samba on RPI
- Category
- Shell
- Title
- debian 10 buster mysql
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- remove home icon ubuntu
- Category
- Shell
- Title
- linux check used space in folder
- Category
- Shell
- Title
- install kubernetess on mac
- Category
- Shell
- Title
- increase no of watchers
- Category
- Shell
- Title
- how to use gitignore to ignore a folder
- Category
- Shell
- Title
- remove git tracking
- Category
- Shell
- Title
- how to validate a mobile number in shell script
- Category
- Shell
- Title
- change user linux
- Category
- Shell
- Title
- disable open file explorer erverytime i connect usb ubuntu
- Category
- Shell
- Title
- how to add extension to all files terminal
- Category
- Shell
- Title
- restart bluetooth ubuntu
- Category
- Shell