how to initialize a git repository command line
# New local repository
git init
git add .
git commit -m "Initial commit"
# New remote repository
# Create remote repository (likely on github), then:
git remote add origin https://github.com/username/new_repo #https
git remote add origin [email protected]:username/new_repo #ssh
# Now push
git push -u origin master# 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 master
Also in Shell:
- mkdir multiple directories
- installing rspec gemfile
- how to remove commit in git extension
- env variable bash
- exit from jshell
- android studio kvm is required to run this avd
- how to set date in linux
- git push
- The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
- git unstage file for commit
- what does git fetch do
- brew install
- npm install react
- bootstrap node install
- install magento 2 command line composer
- git untrack file
- npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli
- pipe find to rm
- cmd rename multiple folders
- insall git onec2
- grep docker logs
- Could not install Visual Studio Build Tools.
- laravel make migration
- git remove added file to commint