What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-27 16:45:36
create .gitignore
# creates gitignore file $ touch .gitignore 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 -
Shell/Bash 2021-11-03 14:18:18
create gitignore files
# creates gitignore file $ touch .gitignore 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 -
Shell/Bash 2021-10-26 18:16:12
how to git ignore a file
# creates gitignore file $ touch .gitignore Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5