Skip to content

Instantly share code, notes, and snippets.

@lemajes
Last active November 4, 2024 04:23
Show Gist options
  • Save lemajes/6c5c75c2546e3ff3a480877510d16117 to your computer and use it in GitHub Desktop.
Save lemajes/6c5c75c2546e3ff3a480877510d16117 to your computer and use it in GitHub Desktop.
[Github first push] Initialize folder for first push to Github #linux #initial #git
echo "# my project" >> README.md
git init
git add *
git commit -m 'initial commit'
git remote add origin https://github.com/user/project.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment