What do you want to save?
Add Code snippet
New code examples
-
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 2021-11-10 14:57:11
create VScode theme scaffold
yo code # ? What type of extension do you want to create? New Extension (TypeScript) # ? What's the name of your extension? HelloWorld ### Press <Enter> to choose default for all options below ### # ? What's the identifier of your extension? hello... Add solution -
Shell/Bash 2021-11-03 23:18:17
github repository's quick setup page
Open Terminal. Change the current working directory to your local project. Initialize the local directory as a Git repository. $ git init Add the files in your new local repository. This stages them for the first commit. $ git add . # Adds the files in th... Add solution -
Shell/Bash 2021-10-28 20:19:08
how to send your code 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 -
Shell/Bash 2021-10-28 18:07:14
add folder to github command line
# 1) Create a new repository on GitHub. # To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. # 2) Open Terminal. # 3) Change the current w... Add solution -
Python 2021-10-21 19:58:11
python in xcode
Hi. I have some trouble while on connecting latest Python 3.8 on the Xcode 11. I have been fighting with the problem almost couple of days, and I finally concluded I must get help from the masters. I'm new to Xcode and other programming stuff, please forg... Add solution -
Other 2021-10-21 09:11:09
create a new github repository
Open Terminal. Change the current working directory to your local project. Initialize the local directory as a Git repository. $ git init Add the files in your new local repository. This stages them for the first commit. $ git add . # Adds the files in th... Add solution -
Shell/Bash 2021-10-20 10:52:04
git Automatic merge failed; fix conflicts and then commit the result
# Step 1: # Navigate into the local Git repository that has the merge conflict. cd REPOSITORY-NAME # Step 2: # Generate a list of the files affected by the merge conflict. # In this example, the file styleguide.md has a merge conflict. git status ... Add solution -
Shell/Bash 2021-10-01 08:30:07
not a git repository after clone
$ git clone git://cfdem.git.sourceforge.net/gitroot/cfdem/liggghts Cloning into 'liggghts'... remote: Counting objects: 3005, done. remote: Compressing objects: 100% (2141/2141), done. remote: Total 3005 (delta 1052), reused 2714 (delta 827) Receiving obj... Add solution
Best helpers
Ranking is empty