What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-27 04:13:02
create a repository git terminal
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution -
Shell/Bash 2021-08-27 01:42:01
how to initialize a git repository command line
# New local repository git init git add . git commit -m "Initial commit" # New remote repository # Create remote repository (likely on github), then: git remote add origin https://github.com/username/new_repo #https git remote add origin git@gi... Add solution -
Shell/Bash 2021-08-26 10:49:02
upload new repo to git
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-08-26 10:41:01
git to gethub after create repi
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-08-25 14:44:43
connect to github repository from terminal
to connect your repository from your terminal to your github requires you 1) Create a github repository than 2) Open Terminal 3) You will initilize git and make a branch with: git init -b main 3) Followed by the command: git add . - this adds all your edi... Add solution