git init repo
git init
git add somefile
git commit -m "initial commit"
git remote add origin https://github.com/username/new_repo
git push -u origin master $ cd /path/to/my/codebase
$ git init (1)
$ git add . (2)
$ git commit (3)# 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 mastercd /path/to/my/codebase
git init
git add .
git commit -m "my comment"
Also in Shell:
- store result of command in variable bash
- clear untracked files git
- grep search for text in php files recursive
- how to convert ts to mp4 with ffmpeg
- dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- pause powershell script until keypress
- run bat file with arguments
- shell script variable
- ffmpeg change audio codec from m4a to mp3
- powershell sharepoint copy file to other site collection
- install magento 2 command line composer
- npm install cli vue
- set remote url git
- pod install ruby: bad interpreter: No such file or directory
- check if kubernetes is running
- install ip addr on ubuntu
- git create new branch from current
- find process id of port ubuntu
- save android studio home bash_profile
- get random number shell script
- update node version mac
- ubuntu zip file
- remove frmo staging git
- shell hide tab