What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-01-23 05:46:29
git branch from commit
# Create a new branch from previous commit's hash git branch develop 04c900c # Push the new branch to remote repository git push --set-upstream origin develop # Checkout the new branch git checkout develop Add solution -
Other 2022-01-22 17:55:01
How to create a local repository and push to github repository
echo "# kiels-excel-sheets" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/kielSDeM/kiels-excel-sheets.git git push -u origin main Add solution -
Javascript 2022-01-22 09:45:10
how to host react app on heroku
npm install -g create-react-app create-react-app my-app cd my-app git init heroku create -b https://github.com/mars/create-react-app-buildpack.git git add . git commit -m "react-create-app on Heroku" git push heroku master heroku open Add solution -
Shell/Bash 2022-01-22 08:01:59
Como excluir uma tag remota
git push origin :refs/tags/tagname Add solution