Skip to content

Instantly share code, notes, and snippets.

@Aslam97
Created March 18, 2021 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aslam97/16bfbf7fd8501fd1f28642dc9223115a to your computer and use it in GitHub Desktop.
Save Aslam97/16bfbf7fd8501fd1f28642dc9223115a to your computer and use it in GitHub Desktop.
Git init github

##…or create a new repository on the command line

echo "# laravel-bank-bni" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Aslam97/laravel-bank-bni.git
git push -u origin main

##…or push an existing repository from the command line

git remote add origin https://github.com/Aslam97/laravel-bank-bni.git
git branch -M main
git push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment