Let’s create a simple repository containing a readme.txt file
Register on GitHub, and create a repository.
Now create a “readme.txt” file in a folder on your desktop.
Open this folder > Right click > Now click the “Git Bash Here” option to open the terminal.
In the terminal, type git init then press enter
git add readme.txt
git commit -m "first commit message"
git remote add origin URL [copy this URL from the your repository page]
git push -u origin master
We have successfully created our first repository containing a readme.txt file.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)