Skip to content

Instantly share code, notes, and snippets.

View malbarmavi's full-sized avatar
[object Object]

Muhammed Albarmavi malbarmavi

[object Object]
View GitHub Profile
@malbarmavi
malbarmavi / git_newrepo
Created February 6, 2022 23:21 — forked from c0ldlimit/git_newrepo
Git: Push a new or existing repo to Github
# Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/c0ldlimit/vimcolors.git
git push -u origin master
# Push an existing repository from the command line