What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-30 05:52:01
git start over
# checkout the master branch git checkout master # create a new branch so you can find the old code easily git branch oldStuff-KeepingForReference # push the branch to github git push origin oldStuff-KeepingForReference # You currently have the master ... Add solution -
Shell/Bash 2021-08-29 07:53:01
git checkout -b
# git checkout regarding branches switch git checkout <branch_name> # will take you to that branch git checkout -b <new_branch> # will create a new branch based on the branch you are already in # if this branch already exists then you will ... Add solution -
Shell/Bash 2021-08-26 23:09:02
upload react project to github
Make sure you have already created a repo in github. In "package.json" file of project add - "homepage": "https://username.github.io/reponame" Run Install - "yarn add gh-pages" In "package.json/scripts" ad... Add solution -
Shell/Bash 2021-08-26 10:41:02
git checkout -f
# git checkout regarding branches switch git checkout <branch_name> # will take you to that branch git checkout -b <new_branch> # will create a new branch based on the branch you are already in # if this branch already exists then you will ... Add solution
Best helpers
User 768576
+10
Viki
+5
Riptiki
+5
Suraj tiwari
+5
Johnno Nolan
+5
Alxna
+5
Bmcl
+5
Nuno
+5
AllenG
+5
Hong
+5
Hugh Zang
+5
Marcel Souza
+5
Rosey28
+5