What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-17 16:15:04
uploading a folder to github
git init git add <folder1> <folder2> <etc.> git commit -m "Your message about the commit" git remote add origin https://github.com/yourUsername/yourRepository.git git push -u origin master git push... Add solution -
Shell/Bash 2021-09-11 00:25:02
git upload folder
# 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 -
Other 2021-09-09 21:04:03
how to push in git for the first time
echo "# my-pfe-informatique-mobile" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/TaherSaid/my-pfe-informatique-mobile.git git push -u origin main Add solution -
Shell/Bash 2021-09-08 02:53:02
using personal access token github
git remote add origin https://[USERNAME]:[NEW TOKEN]@github.com/[USERNAME]/[REPO].git //how to generate token : https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token //or if you ha... Add solution -
Shell/Bash 2021-09-01 10:01:02
add github repo
# 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