What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-04 06:00:01
how to create git repository for vim
$ cd $ mv .vimrc .vim/vimrc $ echo "runtime vimrc" > .vimrc $ cd .vim $ git init $ echo "This is my Vim config." > README $ git add * $ git commit -m "My Vim config is versioned." $ git remote add origin https://github.... Add solution -
Shell/Bash 2022-03-02 15:20:25
initialize a repo and push to github
git init git add . git commit -m "First commit" git remote add origin <remote repository URL> git remote -v git branch -M main git push -u origin main 1- # Create a new repository on GitHub. To avoid errors, do not initialize the new repo... Add solution -
Other 2022-03-02 09:40:34
add wordpress to heroku
//Docs https://github.com/dzuelke/wordpress-12factor //Steps 1- git clone -o upstream https://github.com/dzuelke/wordpress-12factor 2- cd wordpress-12factor 3- composer install 4- heroku apps:create websiteName //Add your addons 5- heroku addons:create j... Add solution