Get Started Git Linux
Set up Git on your machine if you haven’t already.
mkdir /path/to/your/project
cd /path/to/your/project
git init
git remote add origin remote-git-address such as https://github.com/github/name-of-repo.git
Create your signature
git config --global user.name "Your Name"
git config --global user.email you@example.com
Create your first file, commit, and push
echo "descriptions" >> README.txt
git add README.txt
git commit -m 'Initial commit'
git push -u origin master
You may want to read more detailed article on git
Read the book Pro Git for free online
Like this:
Like Loading...